Show / Hide Table of Contents

Class EntryTarget

The base class of all existing targets

Inheritance
Object
EntryTarget
CollectionTarget
DocumentTarget
Inherited Members
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 abstract class EntryTarget : IExistingTarget, ITarget

Constructors

| Improve this Doc View Source

EntryTarget(ITargetActions<CollectionTarget, DocumentTarget, MissingTarget>, CollectionTarget, Uri, IEntry)

Initializes a new instance of the EntryTarget class.

Declaration
protected EntryTarget(ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions, [CanBeNull] CollectionTarget parent, [NotNull] Uri destinationUrl, [NotNull] IEntry entry)
Parameters
Type Name Description
ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> targetActions

The target actions implementation to use

CollectionTarget parent

The parent collection

Uri destinationUrl

The destination URL for this entry

IEntry entry

The underlying entry

Properties

| Improve this Doc View Source

DestinationUrl

Gets the destination URL of the target

Declaration
public Uri DestinationUrl { get; }
Property Value
Type Description
Uri
Implements
ITarget.DestinationUrl
| Improve this Doc View Source

Name

Gets the name of the target

Declaration
public string Name { get; }
Property Value
Type Description
String
Implements
ITarget.Name
| Improve this Doc View Source

Parent

Gets the parent collection target

Declaration
[CanBeNull]
public CollectionTarget Parent { get; }
Property Value
Type Description
CollectionTarget
| Improve this Doc View Source

TargetActions

Gets the target actions implementation to use

Declaration
[NotNull]
protected ITargetActions<CollectionTarget, DocumentTarget, MissingTarget> TargetActions { get; }
Property Value
Type Description
ITargetActions<CollectionTarget, DocumentTarget, MissingTarget>

Methods

| Improve this Doc View Source

SetPropertiesAsync(IEnumerable<IUntypedWriteableProperty>, CancellationToken)

Sets the properties of an existing target

Declaration
[ItemNotNull]
public Task<IReadOnlyCollection<XName>> SetPropertiesAsync([NotNull, ItemNotNull] IEnumerable<IUntypedWriteableProperty> properties, CancellationToken cancellationToken)
Parameters
Type Name Description
IEnumerable<IUntypedWriteableProperty> properties

The source properties

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<IReadOnlyCollection<XName>>

The list of property names that couldn't be set

Implements
IExistingTarget.SetPropertiesAsync(IEnumerable<IUntypedWriteableProperty>, CancellationToken)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX