public string Parse(string s, LogLevel logLevel, CultureInfo cultureUI, SrmDocument.DOCUMENT_TYPE docType) { if (ParseIndex >= 0 && ParseIndex < PARSE_FUNCTIONS.Length) { var parsed = PARSE_FUNCTIONS[ParseIndex](ParseInput, logLevel, cultureUI, docType); if (parsed != null) { return(parsed); } } return(s.Substring(StartIndex, Length)); }
public string Parse(string s, LogLevel logLevel, CultureInfo cultureInfo) { if (ParseIndex >= 0 && ParseIndex < PARSE_FUNCTIONS.Length) { var parsed = PARSE_FUNCTIONS[ParseIndex](ParseInput, logLevel, cultureInfo); if (parsed != null) { return(parsed); } } return(s.Substring(StartIndex, Length)); }