Show / Hide Table of Contents

Class LockStatus

A list of locks affecting a single lock (request)

Inheritance
Object
LockStatus
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public class LockStatus

Constructors

| Improve this Doc View Source

LockStatus(IReadOnlyCollection<IActiveLock>, IReadOnlyCollection<IActiveLock>, IReadOnlyCollection<IActiveLock>)

Initializes a new instance of the LockStatus class.

Declaration
public LockStatus([NotNull, ItemNotNull] IReadOnlyCollection<IActiveLock> referenceLocks, [NotNull, ItemNotNull] IReadOnlyCollection<IActiveLock> parentLocks, [NotNull, ItemNotNull] IReadOnlyCollection<IActiveLock> childLocks)
Parameters
Type Name Description
IReadOnlyCollection<IActiveLock> referenceLocks

The locks found at the reference position

IReadOnlyCollection<IActiveLock> parentLocks

The locks found at positions higher in the hierarchy

IReadOnlyCollection<IActiveLock> childLocks

The locks found at positions lower in the hierarchy

Properties

| Improve this Doc View Source

ChildLocks

Gets the locks found at positions lower in the hierarchy

Declaration
[NotNull]
[ItemNotNull]
public IReadOnlyCollection<IActiveLock> ChildLocks { get; }
Property Value
Type Description
IReadOnlyCollection<IActiveLock>
| Improve this Doc View Source

Count

Gets the number of found locks

Declaration
public int Count { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Empty

Gets the empty lock status

Declaration
public static LockStatus Empty { get; }
Property Value
Type Description
LockStatus
| Improve this Doc View Source

IsEmpty

Gets a value indicating whether there where no locks found at all

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

ParentLocks

Gets the locks found at positions higher in the hierarchy

Declaration
[NotNull]
[ItemNotNull]
public IReadOnlyCollection<IActiveLock> ParentLocks { get; }
Property Value
Type Description
IReadOnlyCollection<IActiveLock>
| Improve this Doc View Source

ReferenceLocks

Gets the locks found at the reference position

Declaration
[NotNull]
[ItemNotNull]
public IReadOnlyCollection<IActiveLock> ReferenceLocks { get; }
Property Value
Type Description
IReadOnlyCollection<IActiveLock>

Methods

| Improve this Doc View Source

GetLocks()

Gets all found locks

Declaration
public IEnumerable<IActiveLock> GetLocks()
Returns
Type Description
IEnumerable<IActiveLock>

all found locks

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