public RegistryManagerController(IRegistryManagerService registryManagerService) { _registryManagerService = registryManagerService; }
private void InitializeConnectors() { InitializeRegistry(); AuthenticateConnector(); TridentHelper = new SVC.UIDesigner.UIHelper(this.registryConnection); WorklfowService = new WorkflowManagerService(this.registryConnection); RegistryService = new RegistryManagerService(this.registryConnection); CategoriesComposer.CreateUser(TridentAuthentication.LoggedUserInUserName, registryConnection); this.User = TridentAuthentication.LoggedInUser; //put else where so we don't auth multiple times? tridentAPI = new InstanceAPI(registryConnection); }
public void Setup() { _registryManagerService = new RegistryManagerService(null); _centralRegistry = new CentralRegistry("hAPI", "http://52.178.24.227:8026", "PSMART", _authToken); }
public void Setup() { _registryManagerService = TestInitializer.ServiceProvider.GetService <IRegistryManagerService>(); }