public RangeAccessor(string name, string type, string cell) { if (string.IsNullOrEmpty(name)) { throw new ArgumentException($"name is null or empty"); } _name = name; _accessor = JTokenAccessor.GetConverter(type); _cell = cell; }
public TableRangeAccessor(string name, string type, int columnIndex) { if (string.IsNullOrEmpty(name)) { throw new ArgumentException($"name is null or empty"); } _name = name; _accessor = JTokenAccessor.GetConverter(type); ColumnIndex = columnIndex; }