Class ContextProviderAttribute
Declares that the annotated IContextProvider provides the context type specified in this attribute.
This is used to automatically attach instances of this provider to systems that execute a Pipeline consuming the context provided by this provider.
Namespace: Holoride.ElasticSDK
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
[BaseTypeRequired(typeof(IContextProvider))]
public class ContextProviderAttribute : Attribute
Constructors
ContextProviderAttribute(Type)
Declaration
public ContextProviderAttribute(Type contextType)
Parameters
Type | Name | Description |
---|---|---|
Type | contextType |
Properties
ContextType
Declaration
public Type ContextType { get; }
Property Value
Type | Description |
---|---|
Type |