public static ICacheServiceBuilder UseJsonSerializer(this ICacheServiceBuilder serviceBuilder) { return(serviceBuilder.UseSerializer(SerializerFactory.JsonSerializer)); }
public static ICacheServiceBuilder UseJsonSerializer(this ICacheServiceBuilder serviceBuilder, JsonSerializerSettings settings) { return(serviceBuilder.UseSerializer(SerializerFactory.GetJsonSerializer(settings))); }