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 SourceConflictingLocks
Gets the locks preventing the usage of an implicit lock
Declaration
IReadOnlyCollection<IActiveLock> ConflictingLocks { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<IActiveLock> |
IsSuccessful
Gets a value indicating whether the If
header was evaluated successfully
Declaration
bool IsSuccessful { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsTemporaryLock
Gets a value indicating whether an implicit lock was created
Declaration
bool IsTemporaryLock { get; }
Property Value
Type | Description |
---|---|
Boolean |
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 SourceCreateErrorResponse()
Creates an error response when IsSuccessful is false
Declaration
IWebDavResult CreateErrorResponse()
Returns
Type | Description |
---|---|
IWebDavResult | The WebDAV response |
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 |