Class RequireGenerationContextAttribute
Used to annotate workers which require some implementation of IGenerationContext.
This is used to only generate and compute these context implementations when any node in the graph actually uses them.
Namespace: Holoride.ElasticSDK
Assembly: Holoride.ElasticSDK.Library.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
[BaseTypeRequired(typeof(IPipelineWorker))]
public class RequireGenerationContextAttribute : Attribute
Constructors
RequireGenerationContextAttribute(Type)
Declaration
public RequireGenerationContextAttribute(Type contextType)
Parameters
Type | Name | Description |
---|---|---|
Type | contextType |
Fields
ContextType
The type of the IGenerationContext implementation the annotated worker uses.
Declaration
public readonly Type ContextType
Field Value
Type | Description |
---|---|
Type |