Skip to content

EnvironmentDirective has a hard-coded call to Environment.SetEnvironmentVariable making it hard to test #2363

@tmat

Description

@tmat

It would be better if it accepted an Action that would be invoked to set the variable as an optional parameter to the constructor.

new EnvironmentVariablesDirective((name, value) => ...);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions