示例#1
0
 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);
 }
示例#2
0
        public void Add(ColumnManagerBase columnManager)
        {
            var newParameters = new ColumnManagerParameter(columnManager,
                                                           new GridColumnParameters {
                Options = (GridOptions)DefaultOptions.Clone()
            });

            Add(newParameters);
        }