IActivityExtensions Class
Extensions of IActivity
Namespace
Songhay.Extensions
Base Types
  • object
graph BT Type-->Base0["object"] Type["IActivityExtensions"] class Type type-node

Syntax

public static class IActivityExtensions

Methods

Name Return Value Summary
GetActivity(Dictionary<string, Lazy<IActivity>>?, string) IActivity
Gets the IActivity.
static
StartActivity(IActivity, ProgramArgs, TraceSource?, Func<TextWriter>?, bool) string
Starts the IActivity.
static
StartActivity(IActivity, ProgramArgs, TraceSource?) string
Starts the IActivity.
static
StartActivityAsync(IActivity, TraceSource?, Func<TextWriter>?, bool) Task<string>
Starts the IActivity, asynchronously.
static
StartActivityAsync(IActivity, TraceSource?) Task<string>
Starts the IActivity, asynchronously.
static
StartActivityAsync<TInput, TOutput>(IActivity, TInput, TraceSource?, Func<TextWriter>?) Task<ActivityOutput<TOutput>>
Starts the IActivity, asynchronously.
static
StartActivityAsync<TInput, TOutput>(IActivity, TInput, TraceSource?) Task<ActivityOutput<TOutput>>
Starts the IActivity, asynchronously.
static
StartActivityAsync<TInput>(IActivity, TInput, TraceSource?, Func<TextWriter>?, bool) Task<string>
Starts the IActivity, asynchronously.
static
StartActivityAsync<TInput>(IActivity, TInput, TraceSource?) Task<string>
Starts the IActivity, asynchronously.
static
StartActivityForOutput<TInput, TOutput>(IActivity, TInput, TraceSource?, Func<TextWriter>?, bool) ActivityOutput<TOutput>
Starts the IActivity for the specified output (TOutput).
static
StartActivityForOutput<TInput, TOutput>(IActivity, TInput, TraceSource?) ActivityOutput<TOutput>
Starts the IActivity for the specified output (TOutput).
static
StartConsoleActivity(IActivity, ProgramArgs, TraceSource?) void
Starts the IActivity with ConsoleTraceListener.
static
StartConsoleActivityAsync<TInput, TOutput>(IActivity, TInput, TraceSource?) Task<TOutput>
Starts the IActivity, asynchronously with the specified ConsoleTraceListener.
static
StartConsoleActivityAsync<TInput>(IActivity, TInput, TraceSource?) Task
Starts the IActivity, asynchronously with ConsoleTraceListener.
static
StartConsoleActivityForOutput<TInput, TOutput>(IActivity, TInput, TraceSource?) TOutput
Starts the IActivity, synchronously with the specified ConsoleTraceListener.
static
ToActivityWithOutput<TInput, TOutput>(IActivity) IActivityWithOutput<TInput, TOutput>
Converts the specified IActivity to IActivityWithOutput<TInput, TOutput>.
static
ToActivityWithTask(IActivity) IActivityWithTask
Converts the specified IActivity to IActivityWithTask.
static
ToActivityWithTask<TInput, TOutput>(IActivity) IActivityWithTask<TInput, TOutput>
Converts the specified IActivity to IActivityWithTask<TInput, TOutput>.
static
ToActivityWithTask<TInput>(IActivity) IActivityWithTask<TInput>
Converts the specified IActivity to IActivityWithTask<TInput>.
static
ToActivityWithTaskOutput<TOutput>(IActivity) IActivityWithTaskOutput<TOutput>
Converts the specified IActivity to IActivityWithTaskOutput<TOutput>.
static
WithConfiguration(IActivity, IConfigurationRoot?) IActivity
Returns IActivity with IConfigurationRoot added when available.
static