Class SerializerAttribute
Identifies a class that contains all the serializer methods for a type.
Inheritance
System.Object
SerializerAttribute
Namespace: Orleans.CodeGeneration
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class SerializerAttribute : Attribute
Constructors
| Improve this Doc View SourceSerializerAttribute(Type)
Initializes a new instance of the SerializerAttribute class.
Declaration
public SerializerAttribute(Type targetType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | targetType | The type that this implementation can serialize. |
Properties
| Improve this Doc View SourceTargetType
Gets the type which this implementation applies to.
Declaration
public Type TargetType { get; }
Property Value
| Type | Description |
|---|---|
| Type |