public ICurrentUserInfoContext Create(Guid userID) { var paUserRepositoryFactory = PAUserRepositoryFactory.Get(); var currentUserInfoContext = new CurrentUserInfoContext(paUserRepositoryFactory, userID); return(currentUserInfoContext); }
protected override IWorkflowContextService RealCreate() { var paUserRepository = PAUserRepositoryFactory.Get(); var configurationService = ConfigurationServiceFactory.Get(); WorkflowContextService workflowContextService = new WorkflowContextService(configurationService, paUserRepository); return(workflowContextService); }
protected override IPluginContextService RealCreate() { var paUserRepository = PAUserRepositoryFactory.Get(); var configurationService = ConfigurationServiceFactory.Get(); PluginContextService pluginContextService = new PluginContextService(configurationService, paUserRepository); return(pluginContextService); }