Skip to content

Microsoft.Orleans.Serialization.Abstractions

10.0.0 · net10.0

Orleans

AliasAttribute

class
When applied to a type or method, specifies a well-known name which can be used to identify that type or method.

CompoundTypeAliasAttribute

class
When applied to a type, indicates that the type should be encoded as a relation from a specified type.

DefaultInvokableBaseTypeAttribute

class
Applied to proxy base types and to attribute types used on invokable interface methods to specify the base type for the invokable object which represents a method call.

DefaultInvokeMethodNameAttribute

class
Applied to proxy base types and to attribute types used on invokable interface methods to specify the base type for the invokable object which represents a method call.

GenerateFieldIds

enum
This enum provides options for controlling the field id generation logic.

GenerateSerializerAttribute

class
When applied to a type, specifies that the type is intended to be serialized and that serialization code should be generated for the type.

GetCompletionSourceMethodNameAttribute

class
Applied to method attributes on invokable interfaces to specify the name of the method to call to get a completion source which is submitted to the submit method and eventually returned to the caller.

IdAttribute

class
Specifies the unique identity of a member.

ImmutableAttribute

class
Indicates that the type, type member, parameter, or return value which it is applied to should be treated as immutable and therefore that defensive copies are never required. When applied to non-sealed classes, derived types are not guaranteed to be immutable.

InvokableBaseTypeAttribute

class
Applied to attribute types used on invokable interface methods to specify the base type for the invokable object which represents a method call.

InvokableCustomInitializerAttribute

class
Applied to interface method attribute types to specify a method to be called on invokable objects which are created when invoking that interface method.

InvokeMethodNameAttribute

class
Applied to method attributes on invokable interfaces to specify the name of the method on the base type to call when submitting a request.

OmitDefaultMemberValuesAttribute

class
When applied to a type, indicates that generated serializers for the type should avoid serializing members if the member value is equal to its default value.

OrleansConstructorAttribute

class
Specifies the constructor the serializer should use when creating new instances from serialized data.

RegisterActivatorAttribute

class
When applied to a type, indicates that the type is an activator and that it should be automatically registered.

RegisterConverterAttribute

class
When applied to a type, indicates that the type is a converter and that it should be automatically registered.

RegisterCopierAttribute

class
When applied to a type, indicates that the type is an copier and that it should be automatically registered.

RegisterProviderAttribute

class
When applied to a type, indicates that the type is a provider and that it should be automatically registered.

RegisterSerializerAttribute

class
When applied to a type, indicates that the type is a serializer and that it should be automatically registered.

SerializationCallbacksAttribute

class
Specifies a type to be instantiated and invoked when performing serialization operations on instances of the type which this attribute is attached to.

SerializerTransparentAttribute

class
Indicates that the specific type is invisible for serialization purposes. Usable only on abstract types with no serialized fields and effectively removes it from the inheritance hierarchy. Adding/removing this attribute from a type will cause serialization protocol level incompatibility (like type hierarchy changes).

UseActivatorAttribute

class
When applied to a type, indicates that the type should be activated using a registered activator rather than via its constructor or another mechanism.

Orleans.Invocation

ReturnValueProxyAttribute

class
Applied to invokable base types (see TaskRequest) to indicate that instances of derived types should be returned directly from generated proxy methods rather than being passed to the runtime for invocation. This is used to support calling patterns other than request-response, such as streaming.

Orleans.Metadata