Show / Hide Table of Contents

Class GetContentTypeProperty

The implementation of the getcontenttype property

Inheritance
Object
SimpleUntypedProperty
SimpleTypedProperty<String>
SimpleConvertingProperty<String>
GenericProperty<String>
GenericStringProperty
GetContentTypeProperty
Inherited Members
SimpleConvertingProperty<String>.Converter
SimpleConvertingProperty<String>.GetXmlValueAsync(CancellationToken)
SimpleConvertingProperty<String>.SetXmlValueAsync(XElement, CancellationToken)
SimpleUntypedProperty.Name
SimpleUntypedProperty.Language
SimpleUntypedProperty.AlternativeNames
SimpleUntypedProperty.Cost
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 GetContentTypeProperty : GenericStringProperty, ITypedWriteableProperty<string>, ITypedReadableProperty<string>, IUntypedWriteableProperty, IDeadProperty, IUntypedReadableProperty, IInitializableProperty, IProperty

Constructors

| Improve this Doc View Source

GetContentTypeProperty(IEntry, IPropertyStore, Nullable<Int32>)

Initializes a new instance of the GetContentTypeProperty class.

Declaration
public GetContentTypeProperty([NotNull] IEntry entry, [NotNull] IPropertyStore store, int ? cost = null)
Parameters
Type Name Description
IEntry entry

The entry to instantiate this property for

IPropertyStore store

The property store to store this property

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

Methods

| Improve this Doc View Source

GetValueAsync(CancellationToken)

Declaration
public override Task<string> GetValueAsync(CancellationToken ct)
Parameters
Type Name Description
CancellationToken ct
Returns
Type Description
Task<String>
Overrides
FubarDev.WebDavServer.Props.Generic.GenericProperty<System.String>.GetValueAsync(System.Threading.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

SetValueAsync(String, CancellationToken)

Declaration
public override Task SetValueAsync(string value, CancellationToken ct)
Parameters
Type Name Description
String value
CancellationToken ct
Returns
Type Description
Task
Overrides
FubarDev.WebDavServer.Props.Generic.GenericProperty<System.String>.SetValueAsync(System.String, System.Threading.CancellationToken)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX