/// <summary> /// Creates the master applet container. /// </summary> /// <returns>AppletContainer.</returns> private static AppletContainer CreateMasterAppletContainer() { var res = new AppletContainer(); { var systemAppletFolder = new SystemAppletFolder(); { systemAppletFolder.AddPart(new MonitorCloudApplet()); systemAppletFolder.AddPart(new ManageCloudApplet()); systemAppletFolder.AddPart(new BrowseWebApplet()); } res.AddPart(systemAppletFolder); } return(res); }
/// <summary> /// Gets the applets for user. /// </summary> /// <returns>AppletContainer.</returns> public AppletContainer GetAppletsForUser() { var res = new AppletContainer(); try { res = Client .GetAppletsForUser() .Unzip <AppletContainer>(); } catch (Exception ex) { _logger.Error(ex.GetCombinedMessages()); } finally { CloseClient(Client); } return(res); }
protected override void OnEcoSpaceChanged() { Applets = EcoSpace.Applets; }