GenerateSerializerAttribute Class

Definition

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.

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class GenerateSerializerAttribute : Orleans.CodeGeneration.ConsiderForCodeGenerationAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]
type GenerateSerializerAttribute = class
    inherit ConsiderForCodeGenerationAttribute
Public NotInheritable Class GenerateSerializerAttribute
Inherits ConsiderForCodeGenerationAttribute
Inheritance
GenerateSerializerAttribute
Attributes

Constructors

GenerateSerializerAttribute(Type)

Initializes a new instance of GenerateSerializerAttribute.

Properties

ThrowOnFailure

Gets a value indicating whether or not to throw if code was not generated for the specified type.

(Inherited from ConsiderForCodeGenerationAttribute)
Type

Gets the type which should be considered for code generation.

(Inherited from ConsiderForCodeGenerationAttribute)

Applies to