Class CacheValidatorExtensions
Extension methods for the CacheValidator class.
Inheritance
System.Object
CacheValidatorExtensions
Namespace: Cuemon.AspNetCore.Integrity
Assembly: Cuemon.AspNetCore.dll
Syntax
public static class CacheValidatorExtensions
Methods
| Improve this DocToEntityTag(CacheValidator)
Creates an Microsoft.Net.Http.Headers.EntityTagHeaderValue from the specified validator
.
Declaration
public static EntityTagHeaderValue ToEntityTag(this CacheValidator validator)
Parameters
Type | Name | Description |
---|---|---|
CacheValidator | validator | The validator to extend. |
Returns
Type | Description |
---|---|
Microsoft.Net.Http.Headers.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. |