public override void Initialise(IList<IList<object>> x, IList<IList<object>> y, IList<int> indexMappings, TableDataValueComparer valueComparer) { this.x = x; this.y = y; this.indexMappings = indexMappings; this.valueComparer = valueComparer; }
public virtual void Initialise(IList<IList<object>> x, IList<IList<object>> y, IList<int> indexMappings, TableDataValueComparer valueComparer) { if (x.Any(rowX => rowX.Count != indexMappings.Count)) throw new ArgumentException("One of the rows in x has a missing value.", "x"); if (y.Any(rowY => rowY.Count != indexMappings.Count)) throw new ArgumentException("One of the rows in y has a missing value.", "y"); this.x = x; this.y = y; this.indexMappings = indexMappings; this.valueComparer = valueComparer; }
public TableDataCompositeComparer(TableDataColumnComparer columnComparer, TableDataRowComparer rowComparer, TableDataValueComparer valueComparer) { ColumnComparer = columnComparer; RowComparer = rowComparer; ValueComparer = valueComparer; }