Show / Hide Table of Contents

Class CollectionTarget

The local file system collection target

Inheritance
Object
EntryTarget
CollectionTarget
Inherited Members
EntryTarget.Name
EntryTarget.Parent
EntryTarget.DestinationUrl
EntryTarget.TargetActions
EntryTarget.SetPropertiesAsync(IEnumerable<IUntypedWriteableProperty>, CancellationToken)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Engines.Local
Assembly:FubarDev.WebDavServer.dll
Syntax
public class CollectionTarget : EntryTarget, ICollectionTarget<CollectionTarget, DocumentTarget, MissingTarget>, IExistingTarget, ITarget

Constructors

| Improve this Doc View Source

CollectionTarget(Uri, CollectionTarget, ICollection, Boolean, ITargetActions<CollectionTarget, DocumentTarget, MissingTarget>)

Initializes a new instance of the CollectionTarget class.

Declaration
public CollectionTarget([NotNull] Uri destinationUrl, [CanBeNull] CollectionTarget parent, [NotNull] ICollection collection, bool created, [NotNull] ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions)
Parameters
Type Name Description
Uri destinationUrl

The destination URL for this collection

CollectionTarget parent

The parent collection

ICollection collection

The underlying collection

Boolean created

Was this collection created by the RecursiveExecutionEngine<TCollection, TDocument, TMissing>

ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions

The target actions implementation to use

Properties

| Improve this Doc View Source

Collection

Gets the underlying collection

Declaration
[NotNull]
public ICollection Collection { get; }
Property Value
Type Description
ICollection
| Improve this Doc View Source

Created

Declaration
public bool Created { get; }
Property Value
Type Description
Boolean
Implements
ICollectionTarget<TCollection, TDocument, TMissing>.Created

Methods

| Improve this Doc View Source

DeleteAsync(CancellationToken)

Declaration
public Task<MissingTarget> DeleteAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<MissingTarget>
Implements
ICollectionTarget<TCollection, TDocument, TMissing>.DeleteAsync(CancellationToken)
| Improve this Doc View Source

GetAsync(String, CancellationToken)

Declaration
public Task<ITarget> GetAsync(string name, CancellationToken cancellationToken)
Parameters
Type Name Description
String name
CancellationToken cancellationToken
Returns
Type Description
Task<ITarget>
Implements
ICollectionTarget<TCollection, TDocument, TMissing>.GetAsync(String, CancellationToken)
| Improve this Doc View Source

NewInstance(Uri, ICollection, ITargetActions<CollectionTarget, DocumentTarget, MissingTarget>)

Creates a new instance of the CollectionTarget class.

Declaration
[NotNull]
public static CollectionTarget NewInstance([NotNull] Uri destinationUrl, [NotNull] ICollection collection, [NotNull] ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions)
Parameters
Type Name Description
Uri destinationUrl

The destination URL for this collection

ICollection collection

The underlying collection

ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions

The target actions implementation to use

Returns
Type Description
CollectionTarget

The created collection target object

| Improve this Doc View Source

NewMissing(String)

Declaration
public MissingTarget NewMissing(string name)
Parameters
Type Name Description
String name
Returns
Type Description
MissingTarget
Implements
ICollectionTarget<TCollection, TDocument, TMissing>.NewMissing(String)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX