Show / Hide Table of Contents

Class IfHeaderCondition

Represents a single condition for an HTTP If header

Inheritance
Object
IfHeaderCondition
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 IfHeaderCondition

Properties

| Improve this Doc View Source

ETag

Gets the entity tag to validate with

Declaration
public EntityTag? ETag { get; }
Property Value
Type Description
Nullable<EntityTag>
| Improve this Doc View Source

Not

Gets a value indicating whether the result should be negated

Declaration
public bool Not { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

StateToken

Gets the state token to validate with

Declaration
[CanBeNull]
public Uri StateToken { get; }
Property Value
Type Description
Uri

Methods

| Improve this Doc View Source

IsMatch(Nullable<EntityTag>, IReadOnlyCollection<Uri>)

Validates if this condition matches the passed entity tag and/or state tokens

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

The entity tag

IReadOnlyCollection<Uri> stateTokens

The state tokens

Returns
Type Description
Boolean

true when this condition matches

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