Show / Hide Table of Contents

Class IfMatchHeader

Class that represents the HTTP If-Match header

Inheritance
Object
IfMatchHeader
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Model.Headers
Assembly:FubarDev.WebDavServer.dll
Syntax
public class IfMatchHeader

Constructors

| Improve this Doc View Source

IfMatchHeader()

Initializes a new instance of the IfMatchHeader class.

Declaration
public IfMatchHeader()
| Improve this Doc View Source

IfMatchHeader(IEnumerable<EntityTag>, EntityTagComparer)

Initializes a new instance of the IfMatchHeader class.

Declaration
public IfMatchHeader([NotNull] IEnumerable<EntityTag> etags, EntityTagComparer etagComparer)
Parameters
Type Name Description
IEnumerable<EntityTag> etags

The entity tags to match

EntityTagComparer etagComparer

The entity comparer to use

Methods

| Improve this Doc View Source

IsMatch(Nullable<EntityTag>)

Returns a value that indicates whether the etag is specified in the If-Match header

Declaration
public bool IsMatch(EntityTag? etag)
Parameters
Type Name Description
Nullable<EntityTag> etag

The entity tag to search for

Returns
Type Description
Boolean

true when the etag was found

| Improve this Doc View Source

Parse(IEnumerable<String>)

Parses the header string to get a new instance of the IfMatchHeader class

Declaration
[NotNull]
public static IfMatchHeader Parse([NotNull, ItemNotNull] IEnumerable<string> s)
Parameters
Type Name Description
IEnumerable<String> s

The header values to parse

Returns
Type Description
IfMatchHeader

The new instance of the IfMatchHeader class

| Improve this Doc View Source

Parse(IEnumerable<String>, EntityTagComparer)

Parses the header string to get a new instance of the IfMatchHeader class

Declaration
[NotNull]
public static IfMatchHeader Parse([NotNull, ItemNotNull] IEnumerable<string> s, EntityTagComparer etagComparer)
Parameters
Type Name Description
IEnumerable<String> s

The header values to parse

EntityTagComparer etagComparer

The entity tag comparer used for the IsMatch(Nullable<EntityTag>) function

Returns
Type Description
IfMatchHeader

The new instance of the IfMatchHeader class

| Improve this Doc View Source

Parse(String)

Parses the header string to get a new instance of the IfMatchHeader class

Declaration
[NotNull]
public static IfMatchHeader Parse([CanBeNull] string s)
Parameters
Type Name Description
String s

The header string to parse

Returns
Type Description
IfMatchHeader

The new instance of the IfMatchHeader class

| Improve this Doc View Source

Parse(String, EntityTagComparer)

Parses the header string to get a new instance of the IfMatchHeader class

Declaration
[NotNull]
public static IfMatchHeader Parse([CanBeNull] string s, EntityTagComparer etagComparer)
Parameters
Type Name Description
String s

The header string to parse

EntityTagComparer etagComparer

The entity tag comparer used for the IsMatch(Nullable<EntityTag>) function

Returns
Type Description
IfMatchHeader

The new instance of the IfMatchHeader class

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX