GenerateSerializerAttribute
class
Namespace: Orleans
When applied to a type, specifies that the type is intended to be serialized and that serialization code should be generated for the type.
public sealed class GenerateSerializerAttribute : AttributeConstructors
Properties
GenerateFieldIdsGet or sets when Orleans should auto-assign field ids. The default behavior is to not auto-assign field ids.IncludePrimaryConstructorParametersGet or sets if primary constructor parameters should automatically be included as Serializable fields. Defaults totrueforrecordtypes,falseotherwise.
