Table of Contents

Class KEFCoreRocksDbLifecycleAttribute

Namespace
MASES.EntityFrameworkCore.KNet.Metadata
Assembly
MASES.EntityFrameworkCore.KNet.dll

Declares the IRocksDbLifecycleHandler type associated to an entity type.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class KEFCoreRocksDbLifecycleAttribute : Attribute
Inheritance
KEFCoreRocksDbLifecycleAttribute
Inherited Members

Remarks

This attribute supports only a handler Type because attributes cannot store runtime delegates or runtime handler instances.

Constructors

KEFCoreRocksDbLifecycleAttribute(Type)

Initializes a new instance of KEFCoreRocksDbLifecycleAttribute.

public KEFCoreRocksDbLifecycleAttribute(Type handlerType)

Parameters

handlerType Type

The handler type implementing IRocksDbLifecycleHandler.

Exceptions

ArgumentNullException

Thrown when handlerType is null.

ArgumentException

Thrown when handlerType does not implement IRocksDbLifecycleHandler.

Properties

HandlerType

Gets the handler type implementing IRocksDbLifecycleHandler.

public Type HandlerType { get; }

Property Value

Type