示例#1
0
 public SampleDataRow(SampleDataEditorModel model, int rowNumber)
 {
     this.Model     = model;
     this.RowNumber = rowNumber;
     this.Cells     = new List <SampleDataCellValue>(this.Model.SampleDataProperties.Count);
     foreach (SampleDataProperty property in (IEnumerable <SampleDataProperty>) this.Model.SampleDataProperties)
     {
         this.Cells.Add(new SampleDataCellValue(this, property));
     }
 }
示例#2
0
 public SampleDataProperty(SampleProperty sampleProperty, SampleDataEditorModel model)
 {
     this.SampleProperty          = sampleProperty;
     this.Model                   = model;
     this.SampleTypeConfiguration = new SampleDataPropertyConfiguration(sampleProperty);
 }