Show / Hide Table of Contents

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.

Inheritance
System.Object
ConsiderForCodeGenerationAttribute
GenerateSerializerAttribute
Inherited Members
ConsiderForCodeGenerationAttribute.Type
ConsiderForCodeGenerationAttribute.ThrowOnFailure
Namespace: Orleans.CodeGeneration
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class GenerateSerializerAttribute : ConsiderForCodeGenerationAttribute

Constructors

| Improve this Doc View Source

GenerateSerializerAttribute(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

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX