Table of Contents

Class MArgument

Namespace: CmlLib.Core.ProcessBuilder
Assembly: CmlLib.Core.dll

public class MArgument

Inheritance

objectMArgument

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

MArgument()

public MArgument()

MArgument(string)

public MArgument(string arg)

Parameters

arg string

MArgument(IReadOnlyCollection<string>)

public MArgument(IReadOnlyCollection<string> args)

Parameters

args IReadOnlyCollection<string>

Properties

Rules

public IReadOnlyCollection<LauncherRule> Rules { get; set; }

Property Value

IReadOnlyCollection<LauncherRule>

Values

public IReadOnlyCollection<string> Values { get; set; }

Property Value

IReadOnlyCollection<string>

Methods

FromCommandLine(string)

public static MArgument FromCommandLine(string cmd)

Parameters

cmd string

Returns

MArgument

InterpolateValues(IReadOnlyDictionary<string, string?>)

public IEnumerable<string> InterpolateValues(IReadOnlyDictionary<string, string?> varDict)

Parameters

varDict IReadOnlyDictionary<string, string?>

Returns

IEnumerable<string>