public string[] GetDelimiters(string input) { Extractor = !input.StartsWith("//") ? new DefaultExtractor() : (input.Contains('[') ? (IDelimiterExtractor) new ExtendedExtractor() : new CustomExtractor()); return(Extractor.GetDelimiters(input)); }
public string[] GetDelimiters(string input) { Extractor = !input.StartsWith("//") ? new DefaultExtractor() : (input.Contains('[') ? (IDelimiterExtractor)new ExtendedExtractor() : new CustomExtractor()); return Extractor.GetDelimiters(input); }