Class SoftNcUtil
- Namespace
- Hi.Numerical.SoftParsers
- Assembly
- HiMech.dll
public static class SoftNcUtil
- Inheritance
-
SoftNcUtil
- Inherited Members
Methods
GrabFlag(ref string, string)
Grabs and removes a flag from the NC text.
public static bool GrabFlag(ref string text, string regexTag)
Parameters
Returns
- bool
True if the flag was found and removed; otherwise, false.
GrabFlags(ref string, IEnumerable<string>)
public static bool GrabFlags(ref string text, IEnumerable<string> tags)
Parameters
textstringtagsIEnumerable<string>
Returns
HasAnyFlag(string, IEnumerable<string>)
public static bool HasAnyFlag(string text, IEnumerable<string> flags)
Parameters
textstringflagsIEnumerable<string>
Returns
HasAnyFlag(string, string)
public static bool HasAnyFlag(string text, string flag)