Show / Hide Table of Contents

Interface IImplicitLock

The interface for the result of the If header evaluation

Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IImplicitLock

Properties

| Improve this Doc View Source

ConflictingLocks

Gets the locks preventing the usage of an implicit lock

Declaration
IReadOnlyCollection<IActiveLock> ConflictingLocks { get; }
Property Value
Type Description
IReadOnlyCollection<IActiveLock>
| Improve this Doc View Source

IsSuccessful

Gets a value indicating whether the If header was evaluated successfully

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

IsTemporaryLock

Gets a value indicating whether an implicit lock was created

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

OwnedLocks

Gets the locks matched by the If header or implicit shared lock

Declaration
IReadOnlyCollection<IActiveLock> OwnedLocks { get; }
Property Value
Type Description
IReadOnlyCollection<IActiveLock>

Methods

| Improve this Doc View Source

CreateErrorResponse()

Creates an error response when IsSuccessful is false

Declaration
IWebDavResult CreateErrorResponse()
Returns
Type Description
IWebDavResult

The WebDAV response

| Improve this Doc View Source

DisposeAsync(CancellationToken)

Disposes the temporary lock (when it was issued)

Declaration
Task DisposeAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task

The async task

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