public ColumnsDescriptor(int columnIndex, string columnName, string table) { ColumnIndex = columnIndex; ColumnName = columnName; TableName = table; ArrayParserDelegate = null; }
private string[] GetAsArray(string key) { if (!_nameToValue.TryGetValue(key, out string allString)) { return(null); } if (!StringArrayParser.TryParse(allString, out string[] ar))
public static bool IsArrayLength(string key, Func <string, string> getValue, out int length) { if (!OptionPath.TryStripLength(key, out key)) { length = 0; return(false); } string value = getValue(key); if (value == null) { length = 0; return(false); } if (!StringArrayParser.TryParse(value, out string[] ar))
protected virtual void Add2Map(int col, string name, string table = "Capability", StringArrayParser arrayParser = null, ImpactLevels level = ImpactLevels.Irrelevant) { innerMap.Add(col, new ColumnsDescriptor(col, name, table, arrayParser, level)); }
public ColumnsDescriptor(int columnIndex, string columnName, string table, StringArrayParser arrayParser, ImpactLevels level) : this(columnIndex, columnName, table, arrayParser) { ImpactLevelImplementation = level; }
public ColumnsDescriptor(int columnIndex, string columnName, string table, StringArrayParser arrayParser) : this(columnIndex, columnName, table) { ArrayParserDelegate = arrayParser; }