IEnvironmentVariables Interface

Definition

Represents an interface for managing environment variables.

public interface IEnvironmentVariables : Microsoft.Testing.Platform.Extensions.TestHostControllers.IReadOnlyEnvironmentVariables
type IEnvironmentVariables = interface
    interface IReadOnlyEnvironmentVariables
Public Interface IEnvironmentVariables
Implements IReadOnlyEnvironmentVariables
Implements

Methods

Name Description
RemoveVariable(String)

Removes the specified environment variable.

SetVariable(EnvironmentVariable)

Sets the value of the specified environment variable.

TryGetVariable(String, OwnedEnvironmentVariable)

Tries to get the value of the specified environment variable.

(Inherited from IReadOnlyEnvironmentVariables)

Applies to