/// <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); }
/// <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); }
/// <summary> /// Constructor /// </summary> /// <param name="asms">Assemblies</param> public BinarySerializer(params Assembly[] asms) { BinarySerializerCache.RegisterTypes(asms); }