コード例 #1
0
 public ManagerController(IGroupProvider groupProvider,
                          IProjectProvider projectProvider,
                          IScrumMasterProvider scrumMasterProvider,
                          ITraineeProvider traineeProvider,
                          TraineeMapper traineeMapper,
                          IMentorProvider mentorProvider,
                          ISpecializationProvider specializationProvider,
                          IUsersProvider userProvider,
                          ProjectMapper projectMapper,
                          GroupMapper groupMapper,
                          MentorMapper mentorMapper,
                          UserMapper userMapper,
                          RoleMapper roleMapper)
 {
     _groupProvider          = groupProvider;
     _projectProvider        = projectProvider;
     _scrumMasterProvider    = scrumMasterProvider;
     _traineeProvider        = traineeProvider;
     _traineeMapper          = traineeMapper;
     _mentorProvider         = mentorProvider;
     _specializationProvider = specializationProvider;
     _userProvider           = userProvider;
     _projectMapper          = projectMapper;
     _groupMapper            = groupMapper;
     _mentorMapper           = mentorMapper;
     _userMapper             = userMapper;
     _roleMapper             = roleMapper;
 }
コード例 #2
0
ファイル: Bootstrap.cs プロジェクト: em881g/GitHelper
 public static void AddProject(Project proj, IProjectProvider provider)
 {
     if (Directory.Exists(proj.ProjectDirectoryPath))
     {
         Watchers.Add(new ProjectDirectoryWatcher(proj, provider));
     }
 }
コード例 #3
0
        //  private readonly FrontPanels _frontPanels;

        public FrontController(IHostingEnvironment hostingEnvironment, IUserRoleProvider userRoleProvider
                               , IRoleProvider roleProvider
                               , IUserProvider userProvider
                               , IClassificationValueProvider classificationValueProvider
                               , IOrganizationProvider organizationProvider
                               , IPersonProvider personProvider
                               , IProjectProvider projectProvider
                               , IFrontUserPreferenceProvider frontUserPreferenceProvider
                               , IProcessProvider processProvider
                               , IFrontProcessProvider frontProcessProvider
                               , IContentProvider contentProvider
                               , IClaimCheck claimCheck
                               , IFrontProvider frontProvider
                               , Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
        {
            _hostingEnvironment          = hostingEnvironment;
            _userRoleProvider            = userRoleProvider;
            _roleProvider                = roleProvider;
            _userProvider                = userProvider;
            _classificationValueProvider = classificationValueProvider;
            _organizationProvider        = organizationProvider;
            _personProvider              = personProvider;
            _projectProvider             = projectProvider;
            _frontUserPreferenceProvider = frontUserPreferenceProvider;
            _processProvider             = processProvider;
            _frontProcessProvider        = frontProcessProvider;
            _contentProvider             = contentProvider;
            _claimCheck    = claimCheck;
            _frontProvider = frontProvider;
            _userManager   = userManager;
        }
コード例 #4
0
        public static void SetUser(UnityUser user, IUpdateDelegate updater, IProjectProvider client, PlayerStorage storage) // TODO Rename or move into a ProjectLister manager class
        {
            // ProjectLister
            s_ProjectListerSettings = new ProjectListerSettings();
            s_ProjectListerSettings.OnProjectsRefreshCompleted = new ProjectListerSettings.ProjectsEvents();
            s_ProjectListerSettings.OnProjectsRefreshStarted   = new UnityEvent();
            s_ProjectListerSettings.OnProjectsRefreshCompleted.AddListener((projects) =>
            {
                projectsRefreshCompleted?.Invoke(projects);
            });

            s_ProjectLister = new ProjectsLister(s_ProjectListerSettings)
            {
                client = client
            };
            s_ProjectLister.SetUpdateDelegate(updater);

            s_ProjectDeleterSettings = new ProjectDeleterSettings();
            s_ProjectDeleterSettings.projectLocalDataDeleted      += OnProjectLocalDataDeleted;
            s_ProjectDeleterSettings.projectDeleteCanceled        += OnProjectDeleteCanceled;
            s_ProjectDeleterSettings.projectDeleteProgressChanged += OnProjectDeleteProgressChanged;
            s_ProjectDeleter = new ProjectDeleter(s_ProjectDeleterSettings, storage)
            {
                client = client
            };
            s_ProjectDeleter.SetUpdateDelegate(updater);


            s_ProjectDownloaderSettings = new ProjectDownloaderSettings();
            s_ProjectDownloaderSettings.projectDataDownloaded          += OnProjectDataDownloaded;
            s_ProjectDownloaderSettings.projectDownloadCanceled        += OnProjectDownloadCanceled;
            s_ProjectDownloaderSettings.projectDownloadProgressChanged += OnProjectDownloadProgressChanged;
            s_ProjectDownloader = new ProjectDownloader(s_ProjectDownloaderSettings, updater, user, storage);
        }
コード例 #5
0
 public FrontPersonController(
     //IFrontUserProvider frontUserProvider
     IGenderProvider genderProvider
     , IPersonProvider personProvider
     , IRoleProvider roleProvider
     , IMasterListProvider masterListProvider
     , IProjectProvider projectProvider
     , IOrganizationProvider organizationProvider
     , IClassificationValueProvider classificationValueProvider
     , IFrontPersonProvider frontPersonProvider
     , ICheckProvider checkProvider
     , IClaimCheck claimCheck
     , IClassificationProvider classificationProvider
     , Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
 {
     //          _frontUserProvider = frontUserProvider;
     _genderProvider              = genderProvider;
     _personProvider              = personProvider;
     _roleProvider                = roleProvider;
     _masterListProvider          = masterListProvider;
     _projectProvider             = projectProvider;
     _organizationProvider        = organizationProvider;
     _classificationValueProvider = classificationValueProvider;
     _frontPersonProvider         = frontPersonProvider;
     _checkProvider               = checkProvider;
     _claimCheck             = claimCheck;
     _classificationProvider = classificationProvider;
     _userManager            = userManager;
 }
コード例 #6
0
 public ProjectViewModel(ISiteStorage siteStorage, IProjectProvider projectProvider, ITemplateProvider templateProvider, IComposer composer)
 {
     this.siteStorage = siteStorage;
     this.projectProvider = projectProvider;
     this.templateProvider = templateProvider;
     this.composer = composer;
 }
コード例 #7
0
        public void LoadProject(string path, IProjectProvider provider)
        {
            if (provider == null)
            {
                return;
            }

            // load new project
            var newProjectInfo = provider.Load(path);

            // new project not exist
            if (string.IsNullOrWhiteSpace(newProjectInfo?.Path))
            {
                MessageBox.Show(Resources.ProjectFileNotExistText, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
                return;
            }

            // confirm close old project
            if (CurrentProjectInfo != null)
            {
                if (!ConfirmCloseCurrentProject())
                {
                    return;
                }
                CloseCurrentProject();
            }

            // update current project
            CurrentProjectInfo = newProjectInfo;
        }
コード例 #8
0
 public FrontContentController(IHostingEnvironment hostingEnvironment, ICheckProvider checkProvider, IClassificationProvider classificationProvider
                               , IClassificationValueProvider classificationValueProvider
                               , IContentTypeProvider contentTypeProvider
                               , ILanguageProvider languageProvider
                               , IContentStatusProvider contentStatusProvider
                               , ISecurityLevelProvider securityLevelProvider
                               , IOrganizationProvider organizationProvider
                               , IProjectProvider projectProvider
                               , IFrontContentProvider frontContentProvider
                               , IContentProvider contentProvider
                               , IClaimCheck claimCheck
                               , IFrontProvider frontProvider
                               , Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
 {
     _hostingEnvironment          = hostingEnvironment;
     _checkProvider               = checkProvider;
     _classificationProvider      = classificationProvider;
     _classificationValueProvider = classificationValueProvider;
     _contentTypeProvider         = contentTypeProvider;
     _languageProvider            = languageProvider;
     _contentStatusProvider       = contentStatusProvider;
     _securityLevelProvider       = securityLevelProvider;
     _organizationProvider        = organizationProvider;
     _projectProvider             = projectProvider;
     _frontContentProvider        = frontContentProvider;
     _contentProvider             = contentProvider;
     _claimCheck    = claimCheck;
     _frontProvider = frontProvider;
     _userManager   = userManager;
 }
コード例 #9
0
 public CppProjectInfo(IProjectProvider provider = null)
     : base(provider)
 {
     Files = new List <FileInfo>();
     IncludeDirectories = new List <string>();
     PrebuiltLibraries  = new List <string>();
     OutputType         = CppProjectOutputType.Exe;
 }
コード例 #10
0
        protected AbstractSwitch(ReferenceType type, IOptionProvider optionProvider, IProjectProvider projectProvider, IMessageProvider messageProvider)
        {
            Type = type;

            OptionProvider  = optionProvider;
            ProjectProvider = projectProvider;
            MessageProvider = messageProvider;
        }
コード例 #11
0
 public StrykerRunner(IProjectProvider projectProvider,
                      ICommandRunner commandRunner,
                      IReportMerger reportMerger)
 {
     this.projectProvider = projectProvider;
     this.commandRunner   = commandRunner;
     this.reportMerger    = reportMerger;
 }
コード例 #12
0
 public ProjectController(IProjectProvider projectProvider,
                          ProjectMapper projectMapper,
                          ICurrentUserFactory userFactory)
     : base(userFactory)
 {
     _projectProvider = projectProvider;
     _projectMapper   = projectMapper;
 }
 public void Setup()
 {
     projectLocator = Substitute.For<IProjectLocator>();
     projectProvider = Substitute.For<IProjectProvider>();
     projectProvider
        .LoadProjectDocument(Arg.Any<string>())
        .Returns(XDocument.Parse(File.ReadAllText(Path.GetFullPath(Path.Combine(Environment.CurrentDirectory, @"..\..\..\SampleApp\SampleApp.csproj")))));
 }
コード例 #14
0
 public void Setup()
 {
     NewScope();
     _context = Kernel.Get <IProfileContext>();
     NewScope();
     _controller      = Kernel.Get <ProjectController>();
     _projectProvider = Kernel.Get <IProjectProvider>();
     _projectMapper   = Kernel.Get <ProjectMapper>();
 }
コード例 #15
0
 public FrontPanels(IClassificationValueProvider classificationValueProvider, IContentProvider contentProvider, IProcessProvider processProvider, IOrganizationProvider organizationProvider, IPersonProvider personProvider, IProjectProvider projectProvider)
 {
     _classificationValueProvider = classificationValueProvider;
     _contentProvider             = contentProvider;
     _processProvider             = processProvider;
     _organizationProvider        = organizationProvider;
     _personProvider  = personProvider;
     _projectProvider = projectProvider;
 }
コード例 #16
0
        protected ProjectInfoBase(IProjectProvider provider)
        {
            Provider = provider;
            if (provider == null)
            {
                return;
            }

            ProjectItem = new ProjectItem(provider.ProjectItemDefinitionType);
        }
コード例 #17
0
 public ProcessTypeStageTypeController(ICheckProvider checkProvider, IMasterListProvider masterListProvider, IProcessTypeStageTypeProvider ProcessTypeStageTypeProvider, IMasterProvider masterProvider, IClaimCheck claimCheck, IProjectProvider ProjectProvider, Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
 {
     _checkProvider                = checkProvider;
     _masterListProvider           = masterListProvider;
     _processTypeStageTypeProvider = ProcessTypeStageTypeProvider;
     _masterProvider               = masterProvider;
     _claimCheck      = claimCheck;
     _ProjectProvider = ProjectProvider;
     _userManager     = userManager;
 }
コード例 #18
0
        public DevelopersMapper(
            IUserRoleAnalyzer userRoleAnalyzer,
            IProjectProvider projectProvider)
        {
            Require.NotNull(userRoleAnalyzer, nameof(userRoleAnalyzer));
            Require.NotNull(projectProvider, nameof(projectProvider));

            _userRoleAnalyzer = userRoleAnalyzer;
            _projectProvider = projectProvider;
        }
コード例 #19
0
 public FrontProcessToDoLogic(IProjectProvider projectProvider, IOrganizationProvider organizationProvider, IUserRoleProvider userRoleProvider, IRoleProvider roleProvider, IUserProvider userProvider, IProcessProvider ProcessProvider, IFrontProcessProvider frontProcessProvider)
 {
     _projectProvider      = projectProvider;
     _organizationProvider = organizationProvider;
     _userRoleProvider     = userRoleProvider;
     _roleProvider         = roleProvider;
     _userProvider         = userProvider;
     _processProvider      = ProcessProvider;
     _frontProcessProvider = frontProcessProvider;
 }
コード例 #20
0
ファイル: DevelopersMapper.cs プロジェクト: Helenga/LodCore
        public DevelopersMapper(
            IUserRoleAnalyzer userRoleAnalyzer,
            IProjectProvider projectProvider)
        {
            Require.NotNull(userRoleAnalyzer, nameof(userRoleAnalyzer));
            Require.NotNull(projectProvider, nameof(projectProvider));

            _userRoleAnalyzer = userRoleAnalyzer;
            _projectProvider  = projectProvider;
        }
コード例 #21
0
 public ProjectController(ISecurityLevelProvider securityLevelProvider, ICheckProvider checkProvider, IProjectTypeProvider projectTypeProvider, IMasterListProvider masterListProvider, IMasterProvider masterProvider, IClaimCheck claimCheck, IProjectProvider ProjectProvider, Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
 {
     _securityLevelProvider = securityLevelProvider;
     _checkProvider         = checkProvider;
     _projectTypeProvider   = projectTypeProvider;
     _masterListProvider    = masterListProvider;
     _masterProvider        = masterProvider;
     _claimCheck            = claimCheck;
     _projectProvider       = ProjectProvider;
     _userManager           = userManager;
 }
コード例 #22
0
ファイル: ProjectInfoBase.cs プロジェクト: FactrIDE/FactrIDE
        protected ProjectInfoBase(IFolder projectFolder, IProjectProvider provider)
        {
            Folder   = projectFolder;
            Provider = provider;

            Files.CollectionChanged         += CollectionChanged;
            Folders.CollectionChanged       += CollectionChanged;
            IgnoreFiles.CollectionChanged   += CollectionChanged;
            IgnoreFolders.CollectionChanged += CollectionChanged;
            Dependencies.CollectionChanged  += CollectionChanged;
        }
コード例 #23
0
 public HomeController(
     ITraineeProvider traineeProvider,
     IProjectProvider projectProvider,
     WordTransformer wordTransformer,
     ICurrentUserFactory userFactory)
     : base(userFactory)
 {
     _traineeProvider = traineeProvider;
     _projectProvider = projectProvider;
     _wordTransformer = wordTransformer;
 }
コード例 #24
0
        public ProjectWatcher(
            string projectToWatch,
            bool watchProjectJsonOnly,
            Func <IFileWatcher> fileWatcherFactory,
            IProjectProvider projectProvider)
        {
            _projectProvider = projectProvider;
            _fileWatcher     = fileWatcherFactory();

            _rootProject          = projectToWatch;
            _watchProjectJsonOnly = watchProjectJsonOnly;
        }
コード例 #25
0
ファイル: ProjectWatcher.cs プロジェクト: aspnet/dotnet-watch
        public ProjectWatcher(
            string projectToWatch,
            bool watchProjectJsonOnly,
            Func<IFileWatcher> fileWatcherFactory,
            IProjectProvider projectProvider)
        {
            _projectProvider = projectProvider;
            _fileWatcher = fileWatcherFactory();

            _rootProject = projectToWatch;
            _watchProjectJsonOnly = watchProjectJsonOnly;
        }
コード例 #26
0
        public DotNetWatcher(
            Func <IFileWatcher> fileWatcherFactory,
            Func <IProcessWatcher> processWatcherFactory,
            IProjectProvider projectProvider,
            ILoggerFactory loggerFactory)
        {
            _fileWatcherFactory    = fileWatcherFactory;
            _processWatcherFactory = processWatcherFactory;
            _projectProvider       = projectProvider;
            _loggerFactory         = loggerFactory;

            _logger = _loggerFactory.CreateLogger(nameof(DotNetWatcher));
        }
コード例 #27
0
ファイル: DotNetWatcher.cs プロジェクト: aspnet/dotnet-watch
        public DotNetWatcher(
            Func<IFileWatcher> fileWatcherFactory,
            Func<IProcessWatcher> processWatcherFactory,
            IProjectProvider projectProvider,
            ILoggerFactory loggerFactory)
        {
            _fileWatcherFactory = fileWatcherFactory;
            _processWatcherFactory = processWatcherFactory;
            _projectProvider = projectProvider;
            _loggerFactory = loggerFactory;

            _logger = _loggerFactory.CreateLogger(nameof(DotNetWatcher));
        }
コード例 #28
0
ファイル: PageController.cs プロジェクト: peterlegrand/SIPx
 public PageController(IProjectProvider projectProvider, IOrganizationProvider organizationProvider, IUserProvider userProvider, IClassificationProvider classificationProvider, IMasterListProvider masterListProvider, IMasterProvider masterProvider, ICheckProvider checkProvider, IClaimCheck claimCheck, IPageProvider PageProvider, Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
 {
     _projectProvider        = projectProvider;
     _organizationProvider   = organizationProvider;
     _userProvider           = userProvider;
     _classificationProvider = classificationProvider;
     _masterListProvider     = masterListProvider;
     _masterProvider         = masterProvider;
     _checkProvider          = checkProvider;
     _claimCheck             = claimCheck;
     _pageProvider           = PageProvider;
     _userManager            = userManager;
 }
コード例 #29
0
ファイル: GitHelperSrv.cs プロジェクト: em881g/GitHelper
 public GitHelperSrv(IRepoProvider provider, IProjectProvider projectProvider)
 {
     if (provider == null)
     {
         throw new ArgumentNullException("provider");
     }
     if (projectProvider == null)
     {
         throw new ArgumentNullException("provider");
     }
     _provider = provider;
     _projProvider = projectProvider;
 }
コード例 #30
0
ファイル: Program.cs プロジェクト: OSRS/Oncor_OsrsLegacy
        static void CreateProjs(IProjectProvider prov, ProjectStatusType activeStatus)
        {
            Guid sysId = new Guid("{5914629d-dd2d-4f1f-a06f-1b199fe19b37}");
            Guid pnlId = new Guid("{f9e1d49f-0b91-41cc-a88f-a24afa1a669e}");
            Guid aceId = new Guid("{6ca626ef-aab6-4746-8f18-7d97097055df}");

            CompoundIdentity pnnlId  = new CompoundIdentity(sysId, pnlId);
            CompoundIdentity usaceId = new CompoundIdentity(sysId, aceId);

            string orgName;

            orgName = "Columbia River System Project";
            if (!prov.Exists(orgName))
            {
                Project org = prov.Create(orgName, usaceId);
                if (org != null)
                {
                    orgName = "Columbia River System Monitoring";
                    org     = prov.Create(orgName, usaceId, org);

                    if (org != null)
                    {
                        orgName = "PNNL USACE Columbia River Monitoring Support";
                        prov.Create(orgName, pnnlId, org);
                    }

                    if (!prov.Exists(orgName))
                    {
                        Console.WriteLine("Exists returns false after creating");
                    }
                }
            }

            if (activeStatus != null)
            {
                orgName = "Columbia River System Project";
                IEnumerable <Project> projs = prov.Get(orgName);
                Project org = null;
                foreach (Project cur in projs)
                {
                    org = cur;
                    break;
                }
                org.Affiliates.Add(pnnlId);
                org.Affiliates.Add(usaceId);
                prov.Update(org);

                prov.AddInfo(new ProjectInformation(org.Identity, Guid.NewGuid(), "Test info", null, null));
                prov.AddStatus(new ProjectStatus(org.Identity, Guid.NewGuid(), activeStatus.Identity, "Test status", DateTime.UtcNow));
            }
        }
コード例 #31
0
        public ProjectController(
            IProjectProvider projectProvider,
            ProjectsMapper projectsMapper,
            IAuthorizer authorizer, IUserManager userManager, IPaginationWrapper<Project> paginationWrapper)
        {
            Require.NotNull(projectProvider, nameof(projectProvider));
            Require.NotNull(projectsMapper, nameof(projectsMapper));
            Require.NotNull(authorizer, nameof(authorizer));

            _projectProvider = projectProvider;
            _projectsMapper = projectsMapper;
            _userManager = userManager;
            _paginationWrapper = paginationWrapper;
        }
コード例 #32
0
ファイル: ProjectController.cs プロジェクト: Helenga/LodCore
        public ProjectController(
            IProjectProvider projectProvider,
            ProjectsMapper projectsMapper,
            IAuthorizer authorizer, IUserManager userManager, IPaginationWrapper <Project> paginationWrapper)
        {
            Require.NotNull(projectProvider, nameof(projectProvider));
            Require.NotNull(projectsMapper, nameof(projectsMapper));
            Require.NotNull(authorizer, nameof(authorizer));

            _projectProvider   = projectProvider;
            _projectsMapper    = projectsMapper;
            _userManager       = userManager;
            _paginationWrapper = paginationWrapper;
        }
コード例 #33
0
 public PageSectionProcessConditionController(
     IPageSectionContentConditionProvider pageSectionContentConditionProvider
     , IContentProvider contentProvider
     , IContentTypeProvider contentTypeProvider
     , IContentTypeGroupProvider contentTypeGroupProvider
     , IPersonProvider personProvider
     , IProcessTypeStageTypeProvider processTypeStageTypeProvider
     , IRoleProvider roleProvider
     , IProcessTypeGroupProvider processTypeGroupProvider
     , IProcessTypeProvider processTypeProvider
     , IPageSectionProcessConditionProvider pageSectionProcessConditionProvider
     , IPageSectionProcessConditionTypeProvider pageSectionProcessConditionTypeProvider
     , IUserProvider userProvider
     , IOrganizationProvider organizationProvider
     , IProjectProvider projectProvider
     , ILanguageProvider languageProvider
     , IClassificationProvider classificationProvider
     , ISecurityLevelProvider securityLevelProvider
     , IMasterListProvider masterListProvider
     , IMasterProvider masterProvider
     , ICheckProvider checkProvider
     , IClaimCheck claimCheck
     , Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
 {
     _masterProvider = masterProvider;
     _pageSectionContentConditionProvider = pageSectionContentConditionProvider;
     _contentProvider              = contentProvider;
     _contentTypeProvider          = contentTypeProvider;
     _contentTypeGroupProvider     = contentTypeGroupProvider;
     _personProvider               = personProvider;
     _processTypeStageTypeProvider = processTypeStageTypeProvider;
     _roleProvider                            = roleProvider;
     _processTypeGroupProvider                = processTypeGroupProvider;
     _processTypeProvider                     = processTypeProvider;
     _pageSectionProcessConditionProvider     = pageSectionProcessConditionProvider;
     _pageSectionProcessConditionTypeProvider = pageSectionProcessConditionTypeProvider;
     _userProvider                            = userProvider;
     _organizationProvider                    = organizationProvider;
     _projectProvider                         = projectProvider;
     _languageProvider                        = languageProvider;
     _classificationProvider                  = classificationProvider;
     _securityLevelProvider                   = securityLevelProvider;
     _masterListProvider                      = masterListProvider;
     _checkProvider                           = checkProvider;
     _claimCheck  = claimCheck;
     _userManager = userManager;
 }
コード例 #34
0
 public ProcessTypeFlowConditionController(IOrganizationProvider organizationProvider, IProjectProvider projectProvider, IUserProvider userProvider, IRoleProvider roleProvider, ISecurityLevelProvider securityLevelProvider, ICheckProvider checkProvider, IProcessTypeFlowConditionComparisonOperatorProvider processTypeFlowConditionComparisonOperatorProvider, IProcessTypeFieldProvider processTypeFieldProvider, IProcessTypeFlowConditionTypeProvider processTypeFlowConditionTypeProvider, IProcessTypeFlowConditionProvider processTypeFlowConditionProvider, IMasterProvider masterProvider, IClaimCheck claimCheck, IProcessTypeProvider processTypeProvider, Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
 {
     _organizationProvider  = organizationProvider;
     _projectProvider       = projectProvider;
     _userProvider          = userProvider;
     _roleProvider          = roleProvider;
     _securityLevelProvider = securityLevelProvider;
     _checkProvider         = checkProvider;
     _processTypeFlowConditionComparisonOperatorProvider = processTypeFlowConditionComparisonOperatorProvider;
     _processTypeFieldProvider             = processTypeFieldProvider;
     _processTypeFlowConditionTypeProvider = processTypeFlowConditionTypeProvider;
     _processTypeFlowConditionProvider     = processTypeFlowConditionProvider;
     _masterProvider      = masterProvider;
     _claimCheck          = claimCheck;
     _processTypeProvider = processTypeProvider;
     _userManager         = userManager;
 }
        public static void Init(UnityUser user, IUpdateDelegate updater, IProjectProvider client) // TODO Rename or move into a ProjectLister manager class
        {
            if (s_ProjectLister != null || s_ProjectsManager != null)
            {
                Dispose();
            }

            // ProjectLister
            s_ProjectLister = new ProjectsLister(client);
            s_ProjectLister.projectListingCompleted += OnProjectListingCompleted;
            s_ProjectLister.projectListingException += OnProjectListingException;

            s_ProjectLister.SetUpdateDelegate(updater);

            s_ProjectsManager = new ProjectsManager(updater, user, Storage.main);
            s_ProjectsManager.projectStatusChanged           += OnProjectStatusChanged;
            s_ProjectsManager.projectDownloadProgressChanged += OnProjectDownloadProgressChanged;
            s_ProjectsManager.projectDeleteProgressChanged   += OnProjectDeleteProgressChanged;
        }
コード例 #36
0
 public ScrumMasterController(
     IScrumReviewProvider scrumReviewProvider,
     IScrumMasterProvider scrumMasterProvider,
     IGroupProvider groupProvider,
     IProjectProvider projectProvider,
     ScrumReviewMapper scrumMasterMapper,
     GroupMapper groupMapper,
     ProjectMapper projectMapper,
     ICurrentUserFactory userFactory)
     : base(userFactory)
 {
     _scrumReviewProvider = scrumReviewProvider;
     _scrumMasterProvider = scrumMasterProvider;
     _scrumMasterMapper   = scrumMasterMapper;
     _groupProvider       = groupProvider;
     _projectProvider     = projectProvider;
     _groupMapper         = groupMapper;
     _projectMapper       = projectMapper;
 }
コード例 #37
0
 public SearchController(ISearchProvider searchProvider
                         , IClassificationValueProvider classificationValueProvider
                         , IContentProvider contentProvider
                         , IOrganizationProvider organizationProvider
                         , IPersonProvider personProvider
                         , IProcessProvider processProvider
                         , IProjectProvider projectProvider
                         , IClaimCheck claimCheck
                         , Microsoft.AspNetCore.Identity.UserManager <SIPx.API.Models.SipUser> userManager)
 {
     _searchProvider = searchProvider;
     _classificationValueProvider = classificationValueProvider;
     _contentProvider             = contentProvider;
     _organizationProvider        = organizationProvider;
     _personProvider  = personProvider;
     _processProvider = processProvider;
     _projectProvider = projectProvider;
     _claimCheck      = claimCheck;
     _userManager     = userManager;
 }
コード例 #38
0
 public DashboardController(IProjectProvider projectProvider)
 {
     m_projectProvider = projectProvider;
 }
コード例 #39
0
 public LibrarySwitch(ReferenceType type, IOptionProvider optionProvider, IProjectProvider projectHelper, IMessageProvider messageHelper) : base(type, optionProvider, projectHelper, messageHelper)
 {
 }
コード例 #40
0
 public ProjectFileItems(IProjectProvider projectProvider)
     : base(projectProvider)
 {
 }
コード例 #41
0
 public ProjectReferences(IProjectProvider projectProvider)
     : base(projectProvider)
 {
 }
コード例 #42
0
 protected AbstractProjectData(Assembly assembly, IProjectProvider projectProvider = null, IProjectLocator projectLocator = null)
 {
     Assembly = assembly;
     ProjectProvider = projectProvider ?? new ProjectProvider();
     ProjectLocator = projectLocator ?? new AssemblyProjectLocator();
 }
コード例 #43
0
 protected AbstractProjectData(IProjectProvider projectProvider)
 {
     ProjectProvider = projectProvider;
 }
コード例 #44
0
 public ProjectController(IProjectProvider projectProvider)
 {
     m_projectProvider = projectProvider;
 }
コード例 #45
0
 public ProjectReferences(Assembly assembly, IProjectProvider projectProvider = null, IProjectLocator projectLocator = null)
     : base(assembly, projectProvider, projectLocator)
 {
 }
コード例 #46
0
 public void Setup()
 {
     projectProvider = Substitute.For<IProjectProvider>();
 }
コード例 #47
0
 public void Setup()
 {
     projectProvider = Substitute.For<IProjectProvider>();
     projectProvider.GetName().Returns("ProjectName");
 }
コード例 #48
0
 public ProjectsController(IProjectProvider projectService)
     : base()
 {
     this.projectService = projectService;
 }
コード例 #49
0
 public ProjectPropertyGroups(IProjectProvider projectProvider)
     : base(projectProvider)
 {
 }
コード例 #50
0
 public void RegisterProjectType(IProjectProvider provider)
 {
     _projectProviders.Add(provider);
 }
コード例 #51
0
 public ProjectFileItems(Assembly assembly, IProjectProvider projectProvider = null, IProjectLocator projectLocator = null)
     : base(assembly, projectProvider, projectLocator)
 {
 }
コード例 #52
0
 public ProjectPropertyGroups(Assembly assembly, IProjectProvider projectProvider = null, IProjectLocator projectLocator = null)
     : base(assembly, projectProvider, projectLocator)
 {
 }