Class LockResult
The result of a locking operation
Inherited Members
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public class LockResult
Constructors
| Improve this Doc View SourceLockResult(IActiveLock)
Initializes a new instance of the LockResult class.
Declaration
public LockResult(IActiveLock activeLock)
Parameters
Type | Name | Description |
---|---|---|
IActiveLock | activeLock | The active lock when locking succeeded |
LockResult(LockStatus)
Initializes a new instance of the LockResult class.
Declaration
public LockResult(LockStatus conflictingLocks)
Parameters
Type | Name | Description |
---|---|---|
LockStatus | conflictingLocks | The collection of locks preventing locking the given destination |
Properties
| Improve this Doc View SourceConflictingLocks
Gets the collection of locks preventing locking the given destination.
Declaration
[CanBeNull]
public LockStatus ConflictingLocks { get; }
Property Value
Type | Description |
---|---|
LockStatus |
Lock
Gets the active lock when locking succeeded
Declaration
[CanBeNull]
public IActiveLock Lock { get; }
Property Value
Type | Description |
---|---|
IActiveLock |