C# Class Akka.Interfaced.ProtobufSerializer.AutoSurrogate

Mostra file Open project: SaladLab/Akka.Interfaced Class Usage Examples

Public Methods

Method Description
FindSurrogateSourceType ( Type type ) : Type
Register ( ProtoBuf.Meta.RuntimeTypeModel typeModel ) : void
Register ( ProtoBuf.Meta.RuntimeTypeModel typeModel, Assembly assembly ) : void

Private Methods

Method Description
GetTypesSafely ( Assembly assembly ) : IEnumerable

Method Details

FindSurrogateSourceType() public static method

public static FindSurrogateSourceType ( Type type ) : Type
type System.Type
return System.Type

Register() public static method

public static Register ( ProtoBuf.Meta.RuntimeTypeModel typeModel ) : void
typeModel ProtoBuf.Meta.RuntimeTypeModel
return void

Register() public static method

public static Register ( ProtoBuf.Meta.RuntimeTypeModel typeModel, Assembly assembly ) : void
typeModel ProtoBuf.Meta.RuntimeTypeModel
assembly System.Reflection.Assembly
return void