Table of Contents

ToEntityTagHeaderValue Method

Definition

ToEntityTagHeaderValue(CacheValidator)

Creates an EntityTagHeaderValue from the specified validator.

public static EntityTagHeaderValue ToEntityTagHeaderValue(this CacheValidator validator)

Parameters

validator CacheValidator

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