/// <summary> /// Initializes a new instance of the <see cref="ModuleCatalog"/> class. /// </summary> public ModuleCatalog() { _items = new ModuleCatalogItemCollection(); _items.BeginCollectionChanged += (sender, args) => _synchronizationContext.Acquire(); _items.EndCollectionChanged += (sender, args) => _synchronizationContext.Release(); _items.CollectionChanged += ItemsCollectionChanged; }
/// <summary> /// Initializes a new instance of the <see cref="ModuleCatalog"/> class. /// </summary> public ModuleCatalog() { this.items = new ModuleCatalogItemCollection(); this.items.CollectionChanged += this.ItemsCollectionChanged; }
/// <summary> /// Initializes a new instance of the <see cref="IModuleCatalog"/> class. /// </summary> public ModuleCatalogBase() { _items = new ModuleCatalogItemCollection(); _items.CollectionChanged += ItemsCollectionChanged; }
public ModuleCatalogBase() { _Collection = new ModuleCatalogItemCollection(); _Collection.CollectionChanged += CollectionChanged; }
public ConfigurationModuleCatalog() { _items = new ModuleCatalogItemCollection(); _items.CollectionChanged += ItemsCollectionChanged; }