Class WorkflowEnvironmentVariableInjection
- Namespace
- Invex.Atom.Workflows.Options.Injections
- Assembly
- Invex.Atom.Workflows.dll
A workflow option that injects an environment variable with the provided value expression into the workflow execution context.
public sealed record WorkflowEnvironmentVariableInjection : IBuildOption
- Inheritance
-
objectWorkflowEnvironmentVariableInjection
- Implements
Remarks
Typically created via BuildOptions.Inject.EnvironmentVariable(name, value).
Constructors
WorkflowEnvironmentVariableInjection(string, Template)
A workflow option that injects an environment variable with the provided value expression into the workflow execution context.
public WorkflowEnvironmentVariableInjection(string Name, Template Value)
Parameters
NamestringThe name of the environment variable.
ValueTemplateThe expression that produces the variable value in the workflow.
Remarks
Typically created via BuildOptions.Inject.EnvironmentVariable(name, value).
Properties
Name
The name of the environment variable.
public string Name { get; init; }
Property Value
- string
Value
The expression that produces the variable value in the workflow.
public Template Value { get; init; }
Property Value
- Template