Class LastModifiedProperty
The getlastmodified
property
Inheritance
LastModifiedProperty
Inherited Members
Namespace:FubarDev.WebDavServer.Props.Live
Assembly:FubarDev.WebDavServer.dll
Syntax
public class LastModifiedProperty : GenericDateTimeRfc1123Property, ITypedWriteableProperty<DateTime>, ITypedReadableProperty<DateTime>, IUntypedWriteableProperty, ILiveProperty, IUntypedReadableProperty, IProperty
Constructors
| Improve this Doc View SourceLastModifiedProperty(DateTime, SetPropertyValueAsyncDelegate<DateTime>)
Initializes a new instance of the LastModifiedProperty class.
Declaration
public LastModifiedProperty(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 name of the property
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 |