Show / Hide Table of Contents

Interface IEntry

An entry in the WebDAV file system

Namespace:FubarDev.WebDavServer.FileSystem
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IEntry

Properties

| Improve this Doc View Source

CreationTimeUtc

Gets the time this entry was created

Declaration
DateTime CreationTimeUtc { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

FileSystem

Gets the file system of this entry

Declaration
[NotNull]
IFileSystem FileSystem { get; }
Property Value
Type Description
IFileSystem
| Improve this Doc View Source

LastWriteTimeUtc

Gets the last time this entry was modified

Declaration
DateTime LastWriteTimeUtc { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

Name

Gets the name of the entry

Declaration
[NotNull]
string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Parent

Gets the collection that contains this entry

Declaration
[CanBeNull]
ICollection Parent { get; }
Property Value
Type Description
ICollection
Remarks

This property can be null when this entry is the root collection.

| Improve this Doc View Source

Path

Gets the path of the entry

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

Methods

| Improve this Doc View Source

DeleteAsync(CancellationToken)

Deletes this entry

Declaration
[NotNull]
[ItemNotNull]
Task<DeleteResult> DeleteAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<DeleteResult>

The result of the delete operation

| Improve this Doc View Source

SetCreationTimeUtcAsync(DateTime, CancellationToken)

Sets the creation time

Declaration
[NotNull]
Task SetCreationTimeUtcAsync(DateTime creationTime, CancellationToken cancellationToken)
Parameters
Type Name Description
DateTime creationTime

The new creation time

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task

The async task

| Improve this Doc View Source

SetLastWriteTimeUtcAsync(DateTime, CancellationToken)

Sets the last write time

Declaration
[NotNull]
Task SetLastWriteTimeUtcAsync(DateTime lastWriteTime, CancellationToken cancellationToken)
Parameters
Type Name Description
DateTime lastWriteTime

The new last write time

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task

The async task

Extension Methods

EntryExtensions.GetEntityTagAsync(IEntry, CancellationToken)
EntryExtensions.GetProperties(IEntry, IWebDavDispatcher, Nullable<Int32>, Boolean)
EntryExtensions.GetResourceTypeProperty(IEntry)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX