Class ShellUtility
Assembly: SociallyDistant.Framework.dll
Syntax
public static class ShellUtility
Methods
IsIdentifier(string)
Declaration
public static bool IsIdentifier(this string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
MakeAbsolutePath(string, string)
Declaration
public static string MakeAbsolutePath(string path, string homeDirectory)
Parameters
Returns
SimpleTokenize(StringBuilder, List<string>)
Tokenizes the given raw command-line input into a list of words
and returns whether one should continue reading lines of text.
Declaration
public static bool SimpleTokenize(StringBuilder input, List<string> tokens)
Parameters
Returns
| Type |
Description |
| bool |
True if the command is considered complete and may be parsed.
False if the command must continue to be read.
|
TrimTrailingSpaces(ref string[])
Declaration
public static void TrimTrailingSpaces(ref string[] args)
Parameters
| Type |
Name |
Description |
| string[] |
args |
|