Interface IWorkflowContextProvider
- Namespace
- Invex.Atom.Workflows.WorkflowContext
- Assembly
- Invex.Atom.Workflows.dll
Supplies information about the workflow context the build is currently running in.
public interface IWorkflowContextProvider
Remarks
Platform modules register implementations to detect their environment (e.g., GitHub Actions or
Azure DevOps). Registered providers are aggregated by IWorkflowContext, which uses
the first provider that returns a non-null value.
Properties
WorkflowName
Gets the name of the currently running workflow, or null if not available.
string? WorkflowName { get; }
Property Value
- string
WorkflowType
Gets the workflow type detected by this provider, or null if its platform is not running.
IWorkflowType? WorkflowType { get; }