Exemplo n.º 1
0
 public static T FromByteArray(byte[] data)
 {
     return(SerializerFactory.GetJsonSerializer <T>().FromByteArray(data));
 }
Exemplo n.º 2
0
 public static ICacheServiceBuilder UseJsonSerializer(this ICacheServiceBuilder serviceBuilder, JsonSerializerSettings settings)
 {
     return(serviceBuilder.UseSerializer(SerializerFactory.GetJsonSerializer(settings)));
 }