Class CacheValidatorExtensions
- Assembly
- Cuemon.Extensions.AspNetCore.dll
Extension methods for the CacheValidator class.
public static class CacheValidatorExtensions
- Inheritance
-
CacheValidatorExtensions
Methods
ToEntityTagHeaderValue(CacheValidator)
Creates an Microsoft.Net.Http.Headers.EntityTagHeaderValue from the specified validator
.
public static EntityTagHeaderValue ToEntityTagHeaderValue(this CacheValidator validator)
Parameters
validator
CacheValidatorThe validator to extend.
Returns
- EntityTagHeaderValue
An Microsoft.Net.Http.Headers.EntityTagHeaderValue that is initiated with a hexadecimal representation of Checksum and a value that indicates if the tag is weak.