public UIService() { if (Services.Dataset == null) { throw new InvalidOperationException("Dataset must be initialized before creating UIService"); } if (Services.Params == null) { throw new InvalidOperationException("TunableParameterTable must be intialized before creating UIService"); } datasetFacade = new DatasetSourceFacade(Services.Dataset); paramFacade = new TunableParameterFacade(Services.Params); // list in the object directory if (!Settings.TestMode) { CommBuilder.BindObject(OperationalUIFacade.ServiceName, this); } }
public UIService() { if (Services.Dataset == null) { throw new InvalidOperationException("Dataset must be initialized before creating UIService"); } if (Services.Params == null) { throw new InvalidOperationException("TunableParameterTable must be intialized before creating UIService"); } datasetFacade = new DatasetSourceFacade(Services.Dataset); paramFacade = new TunableParameterFacade(Services.Params); // list in the object directory if (!Settings.TestMode) { CommBuilder.BindObject(OperationalUIFacade.ServiceName, this); } }