Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModuleCatalog"/> class.
 /// </summary>
 public ModuleCatalog()
 {
     this.items = new ModuleCatalogItemCollection();
     this.items.CollectionChanged += this.ItemsCollectionChanged;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IModuleCatalog"/> class.
 /// </summary>
 public ModuleCatalogBase()
 {
     _items = new ModuleCatalogItemCollection();
     _items.CollectionChanged += ItemsCollectionChanged;
 }
Exemplo n.º 4
0
 public ModuleCatalogBase()
 {
     _Collection = new ModuleCatalogItemCollection();
     _Collection.CollectionChanged += CollectionChanged;
 }
Exemplo n.º 5
0
 public ConfigurationModuleCatalog()
 {
     _items = new ModuleCatalogItemCollection();
     _items.CollectionChanged += ItemsCollectionChanged;
 }