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