Show / Hide Table of Contents

Class EntryExtensions

Extension methods for IEntry implementations

Inheritance
Object
EntryExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.FileSystem
Assembly:FubarDev.WebDavServer.dll
Syntax
public static class EntryExtensions

Methods

| Improve this Doc View Source

GetEntityTagAsync(IEntry, CancellationToken)

Gets the EntityTag for the entry

Declaration
public static Task<EntityTag? > GetEntityTagAsync(this IEntry entry, CancellationToken cancellationToken)
Parameters
Type Name Description
IEntry entry

The entry to get the EntityTag for

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Nullable<EntityTag>>

The entity tag for the entry

Remarks

The return value might be null, when no property store was defined.

| Improve this Doc View Source

GetProperties(IEntry, IWebDavDispatcher, Nullable<Int32>, Boolean)

Gets all predefined properties for the given entry, provided by the given dispatcher.

Declaration
public static IAsyncEnumerable<IUntypedReadableProperty> GetProperties(this IEntry entry, IWebDavDispatcher dispatcher, int ? maxCost = null, bool returnInvalidProperties = false)
Parameters
Type Name Description
IEntry entry

The entry to get the properties for

IWebDavDispatcher dispatcher

The dispatcher that provides the predefined properties

Nullable<Int32> maxCost

The maximum cost for querying a properties value

Boolean returnInvalidProperties

Do we want to get invalid live properties?

Returns
Type Description
System.Collections.Generic.IAsyncEnumerable<IUntypedReadableProperty>

The async enumerable of all property (including the property store when the maxCost allows it)

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