EntityTagHeaderValue Constructors

Definition

Overloads

EntityTagHeaderValue(StringSegment)

Initializes a new instance of the EntityTagHeaderValue.

EntityTagHeaderValue(String)
EntityTagHeaderValue(StringSegment, Boolean)

Initializes a new instance of the EntityTagHeaderValue.

EntityTagHeaderValue(String, Boolean)

EntityTagHeaderValue(StringSegment)

Source:
EntityTagHeaderValue.cs
Source:
EntityTagHeaderValue.cs

Initializes a new instance of the EntityTagHeaderValue.

public:
 EntityTagHeaderValue(Microsoft::Extensions::Primitives::StringSegment tag);
public EntityTagHeaderValue (Microsoft.Extensions.Primitives.StringSegment tag);
new Microsoft.Net.Http.Headers.EntityTagHeaderValue : Microsoft.Extensions.Primitives.StringSegment -> Microsoft.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As StringSegment)

Parameters

Applies to

EntityTagHeaderValue(String)

public:
 EntityTagHeaderValue(System::String ^ tag);
public EntityTagHeaderValue (string tag);
new Microsoft.Net.Http.Headers.EntityTagHeaderValue : string -> Microsoft.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As String)

Parameters

tag
String

Applies to

EntityTagHeaderValue(StringSegment, Boolean)

Source:
EntityTagHeaderValue.cs
Source:
EntityTagHeaderValue.cs

Initializes a new instance of the EntityTagHeaderValue.

public:
 EntityTagHeaderValue(Microsoft::Extensions::Primitives::StringSegment tag, bool isWeak);
public EntityTagHeaderValue (Microsoft.Extensions.Primitives.StringSegment tag, bool isWeak);
new Microsoft.Net.Http.Headers.EntityTagHeaderValue : Microsoft.Extensions.Primitives.StringSegment * bool -> Microsoft.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As StringSegment, isWeak As Boolean)

Parameters

isWeak
Boolean

A value that indicates if this entity-tag header is a weak validator.

Applies to

EntityTagHeaderValue(String, Boolean)

public:
 EntityTagHeaderValue(System::String ^ tag, bool isWeak);
public EntityTagHeaderValue (string tag, bool isWeak);
new Microsoft.Net.Http.Headers.EntityTagHeaderValue : string * bool -> Microsoft.Net.Http.Headers.EntityTagHeaderValue
Public Sub New (tag As String, isWeak As Boolean)

Parameters

tag
String
isWeak
Boolean

Applies to