Table of Contents

Class ForgeMapper

Namespace: CmlLib.Core.Installer.Forge
Assembly: CmlLib.Core.Installer.Forge.dll

public class ForgeMapper

Inheritance

object ← ForgeMapper

Inherited Members

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

Methods

HandleEmptyArg(string)

public static string HandleEmptyArg(string input)

Parameters

input string

Returns

string

Interpolation(string, IReadOnlyDictionary<string, string?>, bool)

public static string Interpolation(string str, IReadOnlyDictionary<string, string?> dicts, bool handleEmpty)

Parameters

str string

dicts IReadOnlyDictionary<string, string?>

handleEmpty bool

Returns

string

Map(IEnumerable<string>, IReadOnlyDictionary<string, string?>, string, char)

public static IEnumerable<string> Map(IEnumerable<string> arg, IReadOnlyDictionary<string, string?> dicts, string prepath, char directorySeparator)

Parameters

arg IEnumerable<string>

dicts IReadOnlyDictionary<string, string?>

prepath string

directorySeparator char

Returns

IEnumerable<string>

ToFullPath(string, string, char)

public static string ToFullPath(string str, string prepath, char directorySeparator)

Parameters

str string

prepath string

directorySeparator char

Returns

string