Show / Hide Table of Contents

Struct LockShareMode

The lock share mode

Inherited Members
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public struct LockShareMode : IEquatable<LockShareMode>

Fields

| Improve this Doc View Source

Exclusive

Gets the default exclusive lock share mode

Declaration
public static readonly LockShareMode Exclusive
Field Value
Type Description
LockShareMode
| Improve this Doc View Source

Shared

Gets the default shared lock share mode

Declaration
public static readonly LockShareMode Shared
Field Value
Type Description
LockShareMode

Properties

| Improve this Doc View Source

Name

Gets the XML name of the lock share mode

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

XmlValue

Gets the lockscope element for this lock share mode

Declaration
[NotNull]
public lockscope XmlValue { get; }
Property Value
Type Description
lockscope

Methods

| Improve this Doc View Source

Equals(LockShareMode)

Declaration
public bool Equals(LockShareMode other)
Parameters
Type Name Description
LockShareMode other
Returns
Type Description
Boolean
Implements
IEquatable<T>.Equals(T)
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
ValueType.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
ValueType.GetHashCode()
| Improve this Doc View Source

Parse(String)

Parses the given lock share mode value and returns the corresponding LockShareMode instance.

Declaration
public static LockShareMode Parse([NotNull] string shareMode)
Parameters
Type Name Description
String shareMode

The share mode to parse

Returns
Type Description
LockShareMode

The corresponding LockShareMode

Operators

| Improve this Doc View Source

Equality(LockShareMode, LockShareMode)

Compares two lock share modes for their equality

Declaration
public static bool operator ==(LockShareMode x, LockShareMode y)
Parameters
Type Name Description
LockShareMode x

The first lock share mode to compare

LockShareMode y

The second lock share mode to compare

Returns
Type Description
Boolean

true when both lock share modes are of equal value

| Improve this Doc View Source

Inequality(LockShareMode, LockShareMode)

Compares two lock share modes for their inequality

Declaration
public static bool operator !=(LockShareMode x, LockShareMode y)
Parameters
Type Name Description
LockShareMode x

The first lock share mode to compare

LockShareMode y

The second lock share mode to compare

Returns
Type Description
Boolean

true when both lock share modes are not of equal value

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