Table of Contents

Class CacheValidatorExtensions

Namespace
Cuemon.Extensions.AspNetCore.Data.Integrity
Assembly
Cuemon.Extensions.AspNetCore.dll

Extension methods for the CacheValidator class.

public static class CacheValidatorExtensions
Inheritance
Object
CacheValidatorExtensions

Methods

ToEntityTagHeaderValue(CacheValidator)

Creates an Microsoft.Net.Http.Headers.EntityTagHeaderValue from the specified validator.

public static EntityTagHeaderValue ToEntityTagHeaderValue(this CacheValidator validator)

Parameters

validator CacheValidator

The 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.