Interface ITimeoutPolicy
The policy to select the lock timeout
Namespace:FubarDev.WebDavServer.Locking
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface ITimeoutPolicy
Methods
| Improve this Doc View SourceSelectTimeout(IReadOnlyCollection<TimeSpan>)
Selects the timeout from the list of client requested timeouts.
Declaration
TimeSpan SelectTimeout([NotNull] IReadOnlyCollection<TimeSpan> timeouts)
Parameters
Type | Name | Description |
---|---|---|
IReadOnlyCollection<TimeSpan> | timeouts | The timeouts requested by the client |
Returns
Type | Description |
---|---|
TimeSpan | The timeout to use |