public LightDataTableRow NewRow(CultureInfo cultureInfo = null) { var row = new LightDataTableRow(ColumnLength, Columns, ColumnsWithIndexKey, cultureInfo ?? Culture) { RoundingSettings = this.RoundingSettings }; return(row); }
internal void AddValue(object oldValue, object newValue, LightDataTableRow index) { if (oldValue != null && ContainValue(oldValue)) { if (!ContainValue(newValue)) { SavedIndexes.Remove(oldValue); SavedIndexes.Add(newValue, index); } } else if (newValue != null && !ContainValue(newValue)) { SavedIndexes.Add(newValue, index); } }