protected void AddToContainer(TKey key, T item) { CompositeEventArgs <T> e = this.DataAccessLayer != null ? new CompositeEventArgs <T>(this.DataAccessLayer.DataConnector, item) : new CompositeEventArgs <T>(item); if (this.DoComposition != null && (object)item is IComposable) { this.DoComposition((object)this, e); } this.container.Add(key, item); this.OnCreate?.Invoke((object)this, new ViewEventArgs <T>(item)); }
private void ucTypes_OnCompositeChecked(object sender, CompositeEventArgs e) { }