C# 클래스 BinaryStudio.TaskManager.Logic.Core.ProjectProcessor

The project processor.
상속: IProjectProcessor
파일 보기 프로젝트 열기: dv00d00/BinaryStudio.TaskManager 1 사용 예제들

공개 메소드들

메소드 설명
ConfirmInvitationInProject ( int invitationId ) : void

The confirm invitation in project.

CreateDefaultProject ( User user ) : void

The create default project.

CreateProject ( User user, string projectName, string projectDescription ) : void

The create custom project with project name and description.

GetAllInvitationsToProject ( int projectId ) : IEnumerable
GetAllInvitationsToUser ( int userId ) : IEnumerable
GetAllProjectsForTheirCreator ( int userId ) : IEnumerable
GetAllProjectsForUser ( int userId ) : IEnumerable
GetAllUsersInProject ( int projectId ) : IEnumerable

The get all users in project.

GetCreator ( int projectId ) : User
GetProjectById ( int projectId ) : Project
GetUsersAndCreatorInProject ( int projectId ) : IEnumerable
InviteUserInProject ( int senderId, int projectId, int receiverId ) : void

The invite user in project.

ProjectProcessor ( IProjectRepository projectRepository, IUserRepository userRepository ) : System

Initializes a new instance of the ProjectProcessor class.

RefuseFromParticipateProject ( int invitationId ) : void
RemoveUserFromProject ( int userId, int projectId ) : void

The remove user from project.

메소드 상세

ConfirmInvitationInProject() 공개 메소드

The confirm invitation in project.
public ConfirmInvitationInProject ( int invitationId ) : void
invitationId int
리턴 void

CreateDefaultProject() 공개 메소드

The create default project.
public CreateDefaultProject ( User user ) : void
user BinaryStudio.TaskManager.Logic.Domain.User /// The current user. ///
리턴 void

CreateProject() 공개 메소드

The create custom project with project name and description.
public CreateProject ( User user, string projectName, string projectDescription ) : void
user BinaryStudio.TaskManager.Logic.Domain.User /// The user tied to project. ///
projectName string /// The project name. ///
projectDescription string /// The project description. ///
리턴 void

GetAllInvitationsToProject() 공개 메소드

public GetAllInvitationsToProject ( int projectId ) : IEnumerable
projectId int
리턴 IEnumerable

GetAllInvitationsToUser() 공개 메소드

public GetAllInvitationsToUser ( int userId ) : IEnumerable
userId int
리턴 IEnumerable

GetAllProjectsForTheirCreator() 공개 메소드

public GetAllProjectsForTheirCreator ( int userId ) : IEnumerable
userId int
리턴 IEnumerable

GetAllProjectsForUser() 공개 메소드

public GetAllProjectsForUser ( int userId ) : IEnumerable
userId int
리턴 IEnumerable

GetAllUsersInProject() 공개 메소드

The get all users in project.
public GetAllUsersInProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
리턴 IEnumerable

GetCreator() 공개 메소드

public GetCreator ( int projectId ) : User
projectId int
리턴 BinaryStudio.TaskManager.Logic.Domain.User

GetProjectById() 공개 메소드

public GetProjectById ( int projectId ) : Project
projectId int
리턴 BinaryStudio.TaskManager.Logic.Domain.Project

GetUsersAndCreatorInProject() 공개 메소드

public GetUsersAndCreatorInProject ( int projectId ) : IEnumerable
projectId int
리턴 IEnumerable

InviteUserInProject() 공개 메소드

The invite user in project.
public InviteUserInProject ( int senderId, int projectId, int receiverId ) : void
senderId int /// The sender id. ///
projectId int /// The project id. ///
receiverId int /// The receiver id. ///
리턴 void

ProjectProcessor() 공개 메소드

Initializes a new instance of the ProjectProcessor class.
public ProjectProcessor ( IProjectRepository projectRepository, IUserRepository userRepository ) : System
projectRepository IProjectRepository /// The project repository. ///
userRepository IUserRepository /// The user Repository. ///
리턴 System

RefuseFromParticipateProject() 공개 메소드

public RefuseFromParticipateProject ( int invitationId ) : void
invitationId int
리턴 void

RemoveUserFromProject() 공개 메소드

The remove user from project.
public RemoveUserFromProject ( int userId, int projectId ) : void
userId int /// The user id. ///
projectId int /// The project id. ///
리턴 void