protected bool Equals(ColumnPropertyDescriptor other) { return(base.Equals(other) && Equals(PropertyPath, other.PropertyPath) && Equals(PivotKey, other.PivotKey) && Equals(DisplayColumn, other.DisplayColumn)); }
protected bool Equals(ColumnPropertyDescriptor other) { return(base.Equals(other) && Equals(PropertyPath, other.PropertyPath) && Equals(PivotKey, other.PivotKey) && Equals(DisplayColumn, other.DisplayColumn) && Attributes.OfType <Attribute>().SequenceEqual(other.Attributes.OfType <Attribute>())); }
private DataSchema GetDataSchema(PropertyDescriptor properyDescriptor) { ColumnPropertyDescriptor columnPropertyDescriptor = properyDescriptor as ColumnPropertyDescriptor; if (null != columnPropertyDescriptor) { return(columnPropertyDescriptor.DisplayColumn.DataSchema); } GroupedPropertyDescriptor groupedPropertyDescriptor = properyDescriptor as GroupedPropertyDescriptor; if (null != groupedPropertyDescriptor) { return(groupedPropertyDescriptor.DisplayColumn.DataSchema); } return(null); }
protected bool Equals(ColumnPropertyDescriptor other) { return base.Equals(other) && Equals(PropertyPath, other.PropertyPath) && Equals(PivotKey, other.PivotKey) && Equals(DisplayColumn, other.DisplayColumn); }