Esempio n. 1
0
 private SerializerPair GetPrimitiveSerializer <T>()
 {
     Assertion.Assert(ReflectionSerializerVerifier.IsPrimitive(typeof(T)), $"{typeof(T).ToString(true)} expected to be primitive type");
     return(mySerializers[typeof(T)]);
 }