Table of Contents

Class GeneratedPluginServerRegistryAttribute

Namespace
DotBoxD.Abstractions
Assembly
DotBoxD.Abstractions.dll

Identifies a generated plugin-server hook or subscription registry and the context type its parameterless On<TEvent> method uses.

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

Constructors

GeneratedPluginServerRegistryAttribute(GeneratedPluginServerRegistryKind, Type, Type)

Identifies a generated plugin-server hook or subscription registry and the context type its parameterless On<TEvent> method uses.

public GeneratedPluginServerRegistryAttribute(GeneratedPluginServerRegistryKind kind, Type serverType, Type contextType)

Parameters

kind GeneratedPluginServerRegistryKind
serverType Type
contextType Type

Properties

ContextType

public Type ContextType { get; }

Property Value

Type

Kind

public GeneratedPluginServerRegistryKind Kind { get; }

Property Value

GeneratedPluginServerRegistryKind

ServerType

public Type ServerType { get; }

Property Value

Type