Skip to content

TapeEnvCommand ​

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Declares an environment variable without changing the process environment.

csharp
public sealed record TapeEnvCommand : TapeCommand, IEquatable<TapeCommand>, IEquatable<TapeEnvCommand>

Inheritance ​

Object → TapeCommand → TapeEnvCommand

Implements ​

Constructors ​

TapeEnvCommand(string, string, TapeSourceSpan) ​

Declares an environment variable without changing the process environment.

Parameters:

  • Name (String): The unvalidated environment variable name.
  • Value (String): The literal value, without variable expansion.
  • Span (TapeSourceSpan): The instruction's source range.
csharp
public TapeEnvCommand(string Name, string Value, TapeSourceSpan Span)

Properties ​

Name ​

The unvalidated environment variable name.

Returns: String

csharp
public string Name { get; init; }

Value ​

The literal value, without variable expansion.

Returns: String

csharp
public string Value { get; init; }

Released under the MIT License.