public HistogramOperationModel(SchemaModel schemaModel) : base(schemaModel) { _filterProviderOperationModelImpl = new FilterProviderOperationModelImpl(this); _filterConsumerOperationModelImpl = new FilterConsumerOperationModelImpl(this); _brushableOperationModelImpl = new BrushableOperationModelImpl(this); _statisticallyComparableOperationModelImpl = new StatisticallyComparableOperationModelImpl(this); foreach (var attributeUsage in Enum.GetValues(typeof(AttributeUsage)).Cast <AttributeUsage>()) { _attributeUsageTransformationModels.Add(attributeUsage, new ObservableCollection <AttributeTransformationModel>()); _attributeUsageTransformationModels[attributeUsage].CollectionChanged += _attributeUsageTransformationModels_CollectionChanged; } }
public ExampleOperationModel(SchemaModel schemaModel) : base(schemaModel) { _filterConsumerOperationModelImpl = new FilterConsumerOperationModelImpl(this); AttributeUsageTransformationModels.CollectionChanged += _attributeUsageTransformationModels_CollectionChanged; }