public static Register ( ProtoBuf.Meta.RuntimeTypeModel typeModel ) : void | ||
typeModel | ProtoBuf.Meta.RuntimeTypeModel | |
Résultat | void |
public static void Register(RuntimeTypeModel typeModel)
{
foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
{
Register(typeModel, assembly);
}
}
AutoSurrogate::Register ( ProtoBuf.Meta.RuntimeTypeModel typeModel, |
public static TypeModel CreateTypeModel() { RuntimeTypeModel typeModel = TypeModel.Create(); AkkaSurrogate.Register(typeModel); AutoSurrogate.Register(typeModel); return(typeModel); }