EntityTagHeaderValue Class

Definition

Represents an entity-tag (etag) header value.

public ref class EntityTagHeaderValue
public class EntityTagHeaderValue
type EntityTagHeaderValue = class
Public Class EntityTagHeaderValue
Inheritance
EntityTagHeaderValue

Constructors

EntityTagHeaderValue(String)
EntityTagHeaderValue(String, Boolean)
EntityTagHeaderValue(StringSegment)

Initializes a new instance of the EntityTagHeaderValue.

EntityTagHeaderValue(StringSegment, Boolean)

Initializes a new instance of the EntityTagHeaderValue.

Properties

Any

Gets the "any" etag.

IsWeak

Gets a value that determines if the entity-tag header is a weak validator.

Tag

Gets the quoted tag.

Methods

Compare(EntityTagHeaderValue, Boolean)

Compares against another EntityTagHeaderValue to see if they match under the RFC specifications (https://tools.ietf.org/html/rfc7232#section-2.3.2).

Equals(Object)

Check against another EntityTagHeaderValue for equality. This equality check should not be used to determine if two values match under the RFC specifications (https://tools.ietf.org/html/rfc7232#section-2.3.2).

GetHashCode()

Serves as the default hash function.

Parse(String)
Parse(StringSegment)

Parses input as a EntityTagHeaderValue value.

ParseList(IList<String>)

Parses a sequence of inputs as a sequence of EntityTagHeaderValue values.

ParseStrictList(IList<String>)

Parses a sequence of inputs as a sequence of EntityTagHeaderValue values using string parsing rules.

ToString()

Returns a string that represents the current object.

TryParse(String, EntityTagHeaderValue)
TryParse(StringSegment, EntityTagHeaderValue)

Attempts to parse the specified input as a EntityTagHeaderValue.

TryParseList(IList<String>, IList<EntityTagHeaderValue>)

Attempts to parse the sequence of values as a sequence of EntityTagHeaderValue.

TryParseStrictList(IList<String>, IList<EntityTagHeaderValue>)

Attempts to parse the sequence of values as a sequence of EntityTagHeaderValue using string parsing rules.

Applies to