public void Add(ColumnManagerParameter columnManagerParameter) { if (string.IsNullOrEmpty(columnManagerParameter.ColumnManager.Identifier.Key)) { throw new ArgumentException("ColumnManager.Identifier.Key is empty"); } _columnManagers.Add(columnManagerParameter.ColumnManager.Identifier.Key, columnManagerParameter); }
public void Add(ColumnManagerBase columnManager) { var newParameters = new ColumnManagerParameter(columnManager, new GridColumnParameters { Options = (GridOptions)DefaultOptions.Clone() }); Add(newParameters); }