Esempio n. 1
0
 /// <summary>
 /// Create new instance of <see cref="MochaTable"/>.
 /// </summary>
 /// <param name="name">Name of table.</param>
 /// <param name="description">Description of table.</param>
 public MochaTable(string name, string description = "")
 {
     Name             = name;
     Description      = description;
     Columns          = new MochaColumnCollection();
     Columns.Changed += Column_Changed;
     Rows             = new MochaRowCollection();
     Rows.Changed    += Row_Changed;
     Rows.RowChanged += Row_Changed;
 }
Esempio n. 2
0
 /// <summary>
 /// Create new MochaTable.
 /// </summary>
 /// <param name="name">Name of table.</param>
 public MochaTable(string name)
 {
     Name             = name;
     Description      = string.Empty;
     Columns          = new MochaColumnCollection();
     Columns.Changed += Column_Changed;
     Rows             = new MochaRowCollection();
     Attributes       = new MochaAttributeCollection();
     Rows.Changed    += Row_Changed;
     Rows.RowChanged += Row_Changed;
 }