Method
CreateTypeMap
(params (Type Key, Type Value)[] entries)
Source from the content-addressed store, hash-verified
| 120 | } |
| 121 | |
| 122 | private static UInt64Map<Type> CreateTypeMap(params (Type Key, Type Value)[] entries) |
| 123 | { |
| 124 | UInt64Map<Type> map = new(entries.Length * 2); |
| 125 | foreach ((Type key, Type value) in entries) |
| 126 | { |
| 127 | map.Set(TypeMapKey.Get(key), value); |
| 128 | } |
| 129 | |
| 130 | return map; |
| 131 | } |
| 132 | |
| 133 | public Serializer<T> GetSerializer<T>() |
| 134 | { |
Callers
nothing calls this directly
Tested by
no test coverage detected