/// <summary> /// Register nested property type /// </summary> /// <typeparam name="T">INetSerializable structure</typeparam> public void RegisterNestedType <T>() where T : struct, INetSerializable { _netSerializer.RegisterNestedType <T>(); }
/// <summary> /// Register nested property type /// </summary> /// <typeparam name="T">INetSerializable structure</typeparam> /// <returns>True - if register successful, false - if type already registered</returns> public bool RegisterNestedType <T>() where T : struct, INetSerializable { return(_netSerializer.RegisterNestedType <T>()); }