Show / Hide Table of Contents

Class GetETagProperty

The implementation of the getetag property

Inheritance
Object
GetETagProperty
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Props.Dead
Assembly:FubarDev.WebDavServer.dll
Syntax
public class GetETagProperty : ITypedReadableProperty<EntityTag>, IDeadProperty, IUntypedReadableProperty, IInitializableProperty, IProperty

Constructors

| Improve this Doc View Source

GetETagProperty(IPropertyStore, IEntry, Nullable<Int32>)

Initializes a new instance of the GetETagProperty class.

Declaration
public GetETagProperty([CanBeNull] IPropertyStore propertyStore, IEntry entry, int ? cost = null)
Parameters
Type Name Description
IPropertyStore propertyStore

The property store to store this property

IEntry entry

The entry to instantiate this property for

Nullable<Int32> cost

The cost of querying the display names property

Fields

| Improve this Doc View Source

PropertyName

The XML name of the property

Declaration
public static readonly XName PropertyName
Field Value
Type Description
XName

Properties

| Improve this Doc View Source

AlternativeNames

Gets the alternative XML names

Declaration
public IReadOnlyCollection<XName> AlternativeNames { get; }
Property Value
Type Description
IReadOnlyCollection<XName>
Implements
IProperty.AlternativeNames
| Improve this Doc View Source

Converter

Gets the entity tag converter

Declaration
public IPropertyConverter<EntityTag> Converter { get; }
Property Value
Type Description
IPropertyConverter<EntityTag>
| Improve this Doc View Source

Cost

Gets the cost of reading the property value

Declaration
public int Cost { get; }
Property Value
Type Description
Int32
Implements
IUntypedReadableProperty.Cost
| Improve this Doc View Source

Language

Gets the language of this property value

Declaration
public string Language { get; }
Property Value
Type Description
String
Implements
IProperty.Language
| Improve this Doc View Source

Name

Gets the XML name of the property

Declaration
public XName Name { get; }
Property Value
Type Description
XName
Implements
IProperty.Name

Methods

| Improve this Doc View Source

GetValueAsync(CancellationToken)

Declaration
public Task<EntityTag> GetValueAsync(CancellationToken ct)
Parameters
Type Name Description
CancellationToken ct
Returns
Type Description
Task<EntityTag>
Implements
ITypedReadableProperty<T>.GetValueAsync(CancellationToken)
| Improve this Doc View Source

GetXmlValueAsync(CancellationToken)

Gets the XElement for this property

Declaration
public Task<XElement> GetXmlValueAsync(CancellationToken ct)
Parameters
Type Name Description
CancellationToken ct

The cancellation token

Returns
Type Description
Task<XElement>

The XElement for this property

Implements
IUntypedReadableProperty.GetXmlValueAsync(CancellationToken)
| Improve this Doc View Source

Init(XElement)

Initialize the property with an XElement

Declaration
public void Init(XElement initialValue)
Parameters
Type Name Description
XElement initialValue

The element to intialize the property with

Implements
IInitializableProperty.Init(XElement)
| Improve this Doc View Source

IsDefaultValue(XElement)

Determines if the returned value is the default value and therefore doesn't need to be copied.

Declaration
public bool IsDefaultValue(XElement element)
Parameters
Type Name Description
XElement element

The element with the value to check if it has the default value

Returns
Type Description
Boolean

true when the underlying is not the default value

Implements
IDeadProperty.IsDefaultValue(XElement)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX