ToEntityTagHeaderValue Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Data.Integrity
- Assemblies
- Cuemon.Extensions.AspNetCore.dll
ToEntityTagHeaderValue(CacheValidator)
Creates an EntityTagHeaderValue from the specified validator.
public static EntityTagHeaderValue ToEntityTagHeaderValue(this CacheValidator validator)
Parameters
validatorCacheValidatorThe 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.