Show / Hide Table of Contents

Class IfHeaderList

Represents a list of IfHeaderConditions.

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

Properties

| Improve this Doc View Source

Conditions

Gets the collection of conditions that must be satisfied by this list.

Declaration
[NotNull]
[ItemNotNull]
public IReadOnlyCollection<IfHeaderCondition> Conditions { get; }
Property Value
Type Description
IReadOnlyCollection<IfHeaderCondition>
| Improve this Doc View Source

Path

Gets the path to the destination relative to the BaseUrl.

Declaration
[NotNull]
public Uri Path { get; }
Property Value
Type Description
Uri
Remarks

Might be an absolute URL when the host or scheme don't match.

| Improve this Doc View Source

RelativeHref

Gets the resource tag relative to the RootUrl.

Declaration
[NotNull]
public Uri RelativeHref { get; }
Property Value
Type Description
Uri
Remarks

Might be an absolute URL when the host or scheme don't match.

| Improve this Doc View Source

RequiresEntityTag

Gets a value indicating whether this condition list requires the EntityTag of an IEntry for the evaluation.

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

RequiresStateToken

Gets a value indicating whether this condition list requires the StateToken for the evaluation.

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

ResourceTag

Gets the resource tag which is always an absolute URI

Declaration
[NotNull]
public Uri ResourceTag { get; }
Property Value
Type Description
Uri
Remarks

When a relative URI gets sent from the client, then it gets converted into an absolute URI.

Methods

| Improve this Doc View Source

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

Validates if all conditions match 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