Class ActiveLockExtensions
Extension methods for the IActiveLock interface
Inherited Members
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public static class ActiveLockExtensions
Methods
| Improve this Doc View SourceToXElement(IActiveLock, Boolean, Boolean)
Creates an XElement for a IActiveLock
Declaration
public static XElement ToXElement(this IActiveLock l, bool omitOwner = false, bool omitToken = false)
Parameters
Type | Name | Description |
---|---|---|
IActiveLock | l | The active lock to create the XElement for |
Boolean | omitOwner | Should the owner be omitted? |
Boolean | omitToken | Should the lock state token be omitted? |
Returns
Type | Description |
---|---|
XElement | The newly created XElement for the active lock |