메소드 | 설명 | |
---|---|---|
AddUserToProject ( System.Guid projectId, |
Adds user to project
|
|
CreateProject ( ProjectType type, string name, |
Creates a new project of the given type and name and adds it to the list.
|
|
GetProject ( System.Guid projectId ) : Task |
Returns project.
|
|
GetProjects ( ) : Project>>.Task |
Read-only dictionary of all the projects.
|
|
GetUsers ( System.Guid projectId ) : Task |
Returns all project users.
|
|
ModifyUserPermissions ( System.Guid projectId, |
Modifies user permissions.
|
|
ProjectManager ( ) : System.Threading.Tasks | ||
RemoveProject ( System.Guid id ) : Task |
Removes an existing project. Invokes the ProjectRemoved event. |
|
RemoveUserFromProject ( System.Guid projectId, |
Removes user from project
|
메소드 | 설명 | |
---|---|---|
AddProject ( |
Adds a new project. Invokes the ProjectAdded event. |
|
LoadProjectsFromDatabase ( ) : void |
Loads all projects stored in the databse
|
|
StartTimer ( ) : void |
Start timer function
|
|
TimerEvent ( object sender, System.Timers.ElapsedEventArgs e ) : void |
Timer callback to saves changes to the database permanently
|
|
UpdateDatabase ( |
Store modified project in the database
|
public AddUserToProject ( System.Guid projectId, |
||
projectId | System.Guid | |
user | ||
리턴 | Task |
public CreateProject ( ProjectType type, string name, |
||
type | ProjectType | |
name | string | |
founder | ||
리턴 | Task |
public GetProject ( System.Guid projectId ) : Task |
||
projectId | System.Guid | |
리턴 | Task |
public ModifyUserPermissions ( System.Guid projectId, |
||
projectId | System.Guid | |
user | ||
리턴 | Task |
public ProjectManager ( ) : System.Threading.Tasks | ||
리턴 | System.Threading.Tasks |
public RemoveUserFromProject ( System.Guid projectId, |
||
projectId | System.Guid | |
user | ||
리턴 | Task |