protected BrowserServiceBase(ICremaAppHost cremaAppHost, IEnumerable <IBrowserItem> browserItems) { this.cremaAppHost = cremaAppHost; this.cremaAppHost.Opened += CremaAppHost_Opened; this.browserItems = MenuItemUtility.GetMenuItems(this, browserItems).ToArray(); }
protected PropertyServiceBase(ICremaAppHost cremaAppHost, IEnumerable <IPropertyItem> propertyItems) { this.cremaAppHost = cremaAppHost; this.cremaAppHost.Opened += CremaAppHost_Opened; this.cremaAppHost.Closed += CremaAppHost_Closed; this.propertyItems = MenuItemUtility.GetMenuItems(this, propertyItems).ToArray(); }
protected PropertyServiceBase(IEnumerable <IPropertyItem> propertyItems) { //this.cremaHost = cremaHost; //this.cremaHost.Opened += CremaHost_Opened; //this.cremaAppHost = cremaAppHost; //this.cremaAppHost.Loaded += CremaAppHost_Loaded; //this.cremaAppHost.Unloaded += CremaAppHost_Unloaded; this.propertyItems = MenuItemUtility.GetMenuItems(this, propertyItems).ToArray(); this.itemsSource = this.propertyItems; }