Class ForgeMapper
Namespace: CmlLib.Core.Installer.Forge
Assembly: CmlLib.Core.Installer.Forge.dll
public class ForgeMapper
Inheritance
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
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
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
ToFullPath(string, string, char)
public static string ToFullPath(string str, string prepath, char directorySeparator)
Parameters
str string
prepath string
directorySeparator char