Class IfNoneMatchHeader
Class that represents the HTTP If-None-Match
header
Inherited Members
Namespace:FubarDev.WebDavServer.Model.Headers
Assembly:FubarDev.WebDavServer.dll
Syntax
public class IfNoneMatchHeader
Methods
| Improve this Doc View SourceIsMatch(Nullable<EntityTag>)
Returns a value that indicates whether the etag is not specified in the If-None-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 not found |
Parse(IEnumerable<String>)
Parses the header string to get a new instance of the IfNoneMatchHeader class
Declaration
[NotNull]
public static IfNoneMatchHeader Parse([NotNull, ItemNotNull] IEnumerable<string> s)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<String> | s | The header values to parse |
Returns
Type | Description |
---|---|
IfNoneMatchHeader | The new instance of the IfNoneMatchHeader class |
Parse(IEnumerable<String>, EntityTagComparer)
Parses the header string to get a new instance of the IfNoneMatchHeader class
Declaration
[NotNull]
public static IfNoneMatchHeader Parse([NotNull, ItemNotNull] IEnumerable<string> s, [NotNull] 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 |
---|---|
IfNoneMatchHeader | The new instance of the IfNoneMatchHeader class |
Parse(String)
Parses the header string to get a new instance of the IfNoneMatchHeader class
Declaration
[NotNull]
public static IfNoneMatchHeader Parse([CanBeNull] string s)
Parameters
Type | Name | Description |
---|---|---|
String | s | The header string to parse |
Returns
Type | Description |
---|---|
IfNoneMatchHeader | The new instance of the IfNoneMatchHeader class |
Parse(String, EntityTagComparer)
Parses the header string to get a new instance of the IfNoneMatchHeader class
Declaration
[NotNull]
public static IfNoneMatchHeader Parse([CanBeNull] string s, [NotNull] 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 |
---|---|
IfNoneMatchHeader | The new instance of the IfNoneMatchHeader class |