Class DeadPropertyFactory
A factory for the creation of dead properties
Inherited Members
Namespace:FubarDev.WebDavServer.Props.Dead
Assembly:FubarDev.WebDavServer.dll
Syntax
public class DeadPropertyFactory : IDeadPropertyFactory
Remarks
Some dead properties are special (like the GetETagProperty), because they have custom implementations.
Constructors
| Improve this Doc View SourceDeadPropertyFactory(IServiceProvider)
Initializes a new instance of the DeadPropertyFactory class.
Declaration
public DeadPropertyFactory([NotNull] IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The service provider used to query the IWebDavClass implementations |
Methods
| Improve this Doc View SourceCreate(IPropertyStore, IEntry, XElement)
Creates a new dead property instance
Declaration
public IDeadProperty Create(IPropertyStore store, IEntry entry, XElement element)
Parameters
Type | Name | Description |
---|---|---|
IPropertyStore | store | The property store to store this property |
IEntry | entry | The entry to instantiate this property for |
XElement | element | The element to intialize the dead property with |
Returns
Type | Description |
---|---|
IDeadProperty | The created dead property instance |
Implements
| Improve this Doc View SourceCreate(IPropertyStore, IEntry, XName)
Creates a new dead property instance
Declaration
public virtual IDeadProperty Create(IPropertyStore store, IEntry entry, XName name)
Parameters
Type | Name | Description |
---|---|---|
IPropertyStore | store | The property store to store this property |
IEntry | entry | The entry to instantiate this property for |
XName | name | The name of the dead property to create |
Returns
Type | Description |
---|---|
IDeadProperty | The created dead property instance |