コード例 #1
0
 public static ICacheServiceBuilder UseJsonSerializer(this ICacheServiceBuilder serviceBuilder)
 {
     return(serviceBuilder.UseSerializer(SerializerFactory.JsonSerializer));
 }
コード例 #2
0
 public static ICacheServiceBuilder UseJsonSerializer(this ICacheServiceBuilder serviceBuilder, JsonSerializerSettings settings)
 {
     return(serviceBuilder.UseSerializer(SerializerFactory.GetJsonSerializer(settings)));
 }