예제 #1
0
        public ICurrentUserInfoContext Create(Guid userID)
        {
            var paUserRepositoryFactory = PAUserRepositoryFactory.Get();
            var currentUserInfoContext  = new CurrentUserInfoContext(paUserRepositoryFactory, userID);

            return(currentUserInfoContext);
        }
예제 #2
0
        protected override IWorkflowContextService RealCreate()
        {
            var paUserRepository     = PAUserRepositoryFactory.Get();
            var configurationService = ConfigurationServiceFactory.Get();
            WorkflowContextService workflowContextService = new WorkflowContextService(configurationService, paUserRepository);

            return(workflowContextService);
        }
예제 #3
0
        protected override IPluginContextService RealCreate()
        {
            var paUserRepository     = PAUserRepositoryFactory.Get();
            var configurationService = ConfigurationServiceFactory.Get();
            PluginContextService pluginContextService = new PluginContextService(configurationService, paUserRepository);

            return(pluginContextService);
        }