Прочетете на английски Редактиране

Споделяне чрез


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.

C#
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed class GenerateSerializerAttribute : Orleans.CodeGeneration.ConsiderForCodeGenerationAttribute
Inheritance
GenerateSerializerAttribute
Attributes

Constructors

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

Продукт Версии
.NET Orleans 1.5.10, 3.4.5, 3.6.0