Beispiel #1
0
        public void AddColumn(Column value)
        {
            if (value == null)
                throw new ArgumentNullException("value");

            if (RowCount > 0)
                throw new InvalidOperationException("Unable to add new columns once rows have been created.");

            ColumnsList.Add(value);
        }
Beispiel #2
0
 public string this[Column column]
 {
     get { return Values.Single(n => n.Column == column).Value; }
     set { Values.Single(n => n.Column == column).Value = value; }
 }