Show / Hide Table of Contents

Struct LockAccessType

The lock access type

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 LockAccessType : IEquatable<LockAccessType>

Fields

| Improve this Doc View Source

Write

The default write lock access type

Declaration
public static LockAccessType Write
Field Value
Type Description
LockAccessType

Properties

| Improve this Doc View Source

Name

Gets the XML name of the lock access type

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

XmlValue

Gets the locktype element for this lock access type

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

Methods

| Improve this Doc View Source

Equals(LockAccessType)

Declaration
public bool Equals(LockAccessType other)
Parameters
Type Name Description
LockAccessType 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 access type value and returns the corresponding LockAccessType instance.

Declaration
public static LockAccessType Parse([NotNull] string accessType)
Parameters
Type Name Description
String accessType

The access type to parse

Returns
Type Description
LockAccessType

The corresponding LockAccessType

Operators

| Improve this Doc View Source

Equality(LockAccessType, LockAccessType)

Compares two lock access types for their equality

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

The first lock access type to compare

LockAccessType y

The second lock access type to compare

Returns
Type Description
Boolean

true when both lock access types are of equal value

| Improve this Doc View Source

Inequality(LockAccessType, LockAccessType)

Compares two lock access types for their inequality

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

The first lock access type to compare

LockAccessType y

The second lock access type to compare

Returns
Type Description
Boolean

true when both lock access types are not of equal value

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