Show / Hide Table of Contents

Class SimpleTypedProperty<T>

A simple typed writeable property

Inheritance
Object
SimpleUntypedProperty
SimpleTypedProperty<T>
SimpleConvertingProperty<T>
Inherited Members
SimpleUntypedProperty.Name
SimpleUntypedProperty.Language
SimpleUntypedProperty.AlternativeNames
SimpleUntypedProperty.Cost
SimpleUntypedProperty.SetXmlValueAsync(XElement, CancellationToken)
SimpleUntypedProperty.GetXmlValueAsync(CancellationToken)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Props
Assembly:FubarDev.WebDavServer.dll
Syntax
public abstract class SimpleTypedProperty<T> : SimpleUntypedProperty, ITypedWriteableProperty<T>, ITypedReadableProperty<T>, IUntypedWriteableProperty, IUntypedReadableProperty, IProperty
Type Parameters
Name Description
T

The type to be converted from or to

Constructors

| Improve this Doc View Source

SimpleTypedProperty(XName, String, Int32, XName[])

Initializes a new instance of the SimpleTypedProperty<T> class.

Declaration
protected SimpleTypedProperty([NotNull] XName name, [CanBeNull] string language, int cost, params XName[] alternativeNames)
Parameters
Type Name Description
XName name

The property name

String language

The language for the property value

Int32 cost

The cost to get the properties value

XName[] alternativeNames

The alternative names

Methods

| Improve this Doc View Source

GetValueAsync(CancellationToken)

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

SetValueAsync(T, CancellationToken)

Declaration
public abstract Task SetValueAsync(T value, CancellationToken ct)
Parameters
Type Name Description
T value
CancellationToken ct
Returns
Type Description
Task
Implements
ITypedWriteableProperty<T>.SetValueAsync(T, CancellationToken)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX