Registers a user type by numeric type identifier for all current and future thread-local runtimes. Type to register. Numeric type identifier used on the wire. The same runtime instance.
(uint typeId)
| 48 | /// <param name="typeId">Numeric type identifier used on the wire.</param> |
| 49 | /// <returns>The same runtime instance.</returns> |
| 50 | public ThreadSafeFory Register<T>(uint typeId) |
| 51 | { |
| 52 | ApplyRegistration(fory => fory.Register<T>(typeId)); |
| 53 | return this; |
| 54 | } |
| 55 | |
| 56 | /// <summary> |
| 57 | /// Registers a user type by name for all current and future thread-local runtimes. |
nothing calls this directly
no test coverage detected