Class CreationDateProperty
The creationdate
property
Inheritance
CreationDateProperty
Inherited Members
Namespace:FubarDev.WebDavServer.Props.Live
Assembly:FubarDev.WebDavServer.dll
Syntax
public class CreationDateProperty : GenericDateTimeRfc1123Property, ITypedWriteableProperty<DateTime>, ITypedReadableProperty<DateTime>, IUntypedWriteableProperty, ILiveProperty, IUntypedReadableProperty, IProperty
Constructors
| Improve this Doc View SourceCreationDateProperty(DateTime, SetPropertyValueAsyncDelegate<DateTime>)
Initializes a new instance of the CreationDateProperty class.
Declaration
public CreationDateProperty(DateTime propValue, SetPropertyValueAsyncDelegate<DateTime> setValueAsyncFunc)
Parameters
Type | Name | Description |
---|---|---|
DateTime | propValue | The initial property value |
SetPropertyValueAsyncDelegate<DateTime> | setValueAsyncFunc | The delegate to set the value asynchronously |
Fields
| Improve this Doc View SourcePropertyName
The XML property name
Declaration
public static readonly XName PropertyName
Field Value
Type | Description |
---|---|
XName |
Methods
| Improve this Doc View SourceIsValidAsync(CancellationToken)
Determines whether the underlying value is valid
Declaration
public Task<bool> IsValidAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken | The cancellation token |
Returns
Type | Description |
---|---|
Task<Boolean> | true when the underlying is valid |