Class GenerateSerializerAttribute
The attribute which informs the code generator that code should be generated for this type. Forces generation of type serializer, throwing if a serializer could not be generated.
Inherited Members
Namespace: Orleans.CodeGeneration
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class GenerateSerializerAttribute : ConsiderForCodeGenerationAttribute
Constructors
| Improve this Doc View SourceGenerateSerializerAttribute(Type)
Initializes a new instance of GenerateSerializerAttribute.
Declaration
public GenerateSerializerAttribute(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type that the generator should generate code for |