示例#1
0
 /// <summary>
 /// Register types (call me if you load a new plugin or module)
 /// </summary>
 /// <param name="asms">Assemblies</param>
 public static void RegisterTypes(params Assembly[] asms)
 {
     BinarySerializerCache.RegisterTypes(asms);
 }
示例#2
0
 /// <summary>
 /// Register types (call me if you load a new plugin or module)
 /// </summary>
 /// <param name="types">Types</param>
 public static void RegisterTypes(params Type[] types)
 {
     BinarySerializerCache.RegisterTypes(types);
 }
示例#3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="asms">Assemblies</param>
 public BinarySerializer(params Assembly[] asms)
 {
     BinarySerializerCache.RegisterTypes(asms);
 }