C# Class ProjectManagement.Domain.ProjectProvider

Inheritance: IProjectProvider
ファイルを表示 Open project: LeagueOfDevelopers/LodCore Class Usage Examples

Public Methods

Method Description
AddUserToProject ( int projectId, int userId, string role ) : void
CreateProject ( CreateProjectRequest request ) : int
GetProject ( int projectId, List issueTypes = null, List statusList = null ) : Project
GetProjects ( bool>.Func predicate = null ) : List
GetProjects ( int pageNumber, bool>.Expression predicate = null ) : List
ProjectProvider ( IProjectManagerGateway projectManagerGateway, IVersionControlSystemGateway versionControlSystemGateway, IProjectRepository projectRepository, IEventSink eventSink, IUserRepository userRepository, PaginationSettings paginationSettings, IssuePaginationSettings issuePaginationSettings ) : Common.System
RemoveUserFromProject ( int projectId, int userId ) : void
UpdateProject ( Project project ) : void

Method Details

AddUserToProject() public method

public AddUserToProject ( int projectId, int userId, string role ) : void
projectId int
userId int
role string
return void

CreateProject() public method

public CreateProject ( CreateProjectRequest request ) : int
request ProjectManagement.Application.CreateProjectRequest
return int

GetProject() public method

public GetProject ( int projectId, List issueTypes = null, List statusList = null ) : Project
projectId int
issueTypes List
statusList List
return Project

GetProjects() public method

public GetProjects ( bool>.Func predicate = null ) : List
predicate bool>.Func
return List

GetProjects() public method

public GetProjects ( int pageNumber, bool>.Expression predicate = null ) : List
pageNumber int
predicate bool>.Expression
return List

ProjectProvider() public method

public ProjectProvider ( IProjectManagerGateway projectManagerGateway, IVersionControlSystemGateway versionControlSystemGateway, IProjectRepository projectRepository, IEventSink eventSink, IUserRepository userRepository, PaginationSettings paginationSettings, IssuePaginationSettings issuePaginationSettings ) : Common.System
projectManagerGateway IProjectManagerGateway
versionControlSystemGateway IVersionControlSystemGateway
projectRepository IProjectRepository
eventSink IEventSink
userRepository IUserRepository
paginationSettings PaginationSettings
issuePaginationSettings IssuePaginationSettings
return Common.System

RemoveUserFromProject() public method

public RemoveUserFromProject ( int projectId, int userId ) : void
projectId int
userId int
return void

UpdateProject() public method

public UpdateProject ( Project project ) : void
project Project
return void