IExecutionStateExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IExecutionStateExtensions"] class Type type-node

Syntax

public static class IExecutionStateExtensions

Methods

Name Return Value Summary
GetCurrentDateTime(IExecutionState) DateTime
Gets the current date/time using the CurrentDateTime metadata setting if it's set, otherwise using the value of ExecutionDateTime (which is System.DateTime.Now at the time execution started).
static
SendHttpRequestWithRetryAsync(IExecutionState, string) Task<HttpResponseMessage>
Sends a GET request with exponential back-off.
static
SendHttpRequestWithRetryAsync(IExecutionState, Uri) Task<HttpResponseMessage>
Sends a GET request with exponential back-off.
static