Interface IDateTimeProvider
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public interface IDateTimeProvider
Methods
| Edit this page View SourceDeadTime(int, TimeSpan?, TimeSpan?)
Declaration
DateTime DeadTime(int attempts, TimeSpan? timeoutFactor, TimeSpan? maxDeadTimeout)
Parameters
Type | Name | Description |
---|---|---|
int | attempts | |
TimeSpan? | timeoutFactor | |
TimeSpan? | maxDeadTimeout |
Returns
Type | Description |
---|---|
DateTime |
Now()
Declaration
DateTime Now()
Returns
Type | Description |
---|---|
DateTime |