protected PropertyServiceBase(ICremaAppHost cremaAppHost, IEnumerable <IPropertyItem> propertyItems) { this.cremaAppHost = cremaAppHost; this.cremaAppHost.Opened += CremaAppHost_Opened; this.cremaAppHost.Closed += CremaAppHost_Closed; this.propertyItems = ParentItemUtility.GetItems(this, propertyItems).ToArray(); }
protected BrowserServiceBase(ICremaAppHost cremaAppHost, IEnumerable <IBrowserItem> browserItems) { this.cremaAppHost = cremaAppHost; this.cremaAppHost.Opened += CremaAppHost_Opened; this.browserItems = ParentItemUtility.GetItems(this, browserItems).ToArray(); }