Struct LockAccessType
The lock access type
Inherited Members
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public struct LockAccessType : IEquatable<LockAccessType>
Fields
| Improve this Doc View SourceWrite
The default write
lock access type
Declaration
public static LockAccessType Write
Field Value
Type | Description |
---|---|
LockAccessType |
Properties
| Improve this Doc View SourceName
Gets the XML name of the lock access type
Declaration
[NotNull]
public XName Name { get; }
Property Value
Type | Description |
---|---|
XName |
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 SourceEquals(LockAccessType)
Declaration
public bool Equals(LockAccessType other)
Parameters
Type | Name | Description |
---|---|---|
LockAccessType | other |
Returns
Type | Description |
---|---|
Boolean |
Implements
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceParse(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 SourceEquality(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 |
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 |