Show / Hide Table of Contents

Class SerializerFeature

Contains metadata about serializers and serialization types.

Inheritance
System.Object
SerializerFeature
Namespace: Orleans.Serialization
Assembly: Orleans.Core.Abstractions.dll
Syntax
public class SerializerFeature : object

Properties

| Improve this Doc View Source

KnownTypes

Gets a collection of metadata about types which may be serializable.

Declaration
public IList<SerializerKnownTypeMetadata> KnownTypes { get; }
Property Value
Type Description
IList<SerializerKnownTypeMetadata>
| Improve this Doc View Source

SerializerDelegates

Gets a collection of metadata about delegates used to serialize individual types.

Declaration
public IList<SerializerDelegateMetadata> SerializerDelegates { get; }
Property Value
Type Description
IList<SerializerDelegateMetadata>
Remarks

This collection is intended to hold information about built-in serializers which are represented as a collection of delegates.

| Improve this Doc View Source

SerializerTypes

Gets a collection of metadata about types which contain serializer methods for individual types.

Declaration
public IList<SerializerTypeMetadata> SerializerTypes { get; }
Property Value
Type Description
IList<SerializerTypeMetadata>
Remarks

This collection corresponds to the SerializerAttribute attribute as well as types which are self-serializing.

Methods

| Improve this Doc View Source

AddKnownType(String, String)

Adds a known type to the KnownTypes property.

Declaration
public void AddKnownType(string fullyQualifiedTypeName, string typeKey)
Parameters
Type Name Description
System.String fullyQualifiedTypeName

the fully-qualified type name.

System.String typeKey

The orleans type key.

| Improve this Doc View Source

AddSerializerType(Type, Type)

Adds a serializer type

Declaration
public void AddSerializerType(Type targetType, Type serializerType)
Parameters
Type Name Description
Type targetType
Type serializerType

Extension Methods

ImmutableExt.AsImmutable<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX