C# Класс Nohal.Redmine.Redmine

Wrapper class for the Redmine project management system
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateIssue ( Issue newIssue ) : void

Creates new issue in Redmine

DeleteIssue ( int issueId ) : void

Deletes an issue from Redmine

GetActivities ( int projectId ) : List

Gets the list of all available project activities

GetAssignees ( int projectId ) : List

Gets the list of all users available to be assigned to project issue

GetIssues ( int projectId ) : List

Gets the list of all the available issues

GetPriorities ( int projectId ) : List

Gets the list of all available project issue priorities

GetProjects ( ) : List

Gets the list of all the available projects

GetRecentActivity ( int projectId ) : List

Gets the list of recent project activity

GetStatuses ( int projectId ) : List

Gets the list of all available project issue statuses

GetTrackers ( int projectId ) : List

Gets the list of all available project trackers

GetVersions ( int projectId ) : List

Gets the list of all versions project issue can target

GetWatchers ( int projectId ) : List

Gets the list of all the users available as watchers for the project

InvalidateCache ( ) : void

Invalidates the cache.

LogIn ( ) : void

Logs user into Redmine

LogIn ( string username, string password ) : void

Logs user into Redmine

LogOut ( ) : void

Logs out the user.

LogTimeForIssue ( int projectId, int issueId, string description, double timeSpent, System.DateTime date, int activityId ) : void

Logs time spent on an issue

Redmine ( ) : System

Initializes a new instance of the Redmine class.

Приватные методы

Метод Описание
ConstructUri ( string redmineRelativeUri ) : Uri

Constructs the complete URL and tries to eliminate all the possible causes for Uri to fail.

Описание методов

CreateIssue() публичный Метод

Creates new issue in Redmine
public CreateIssue ( Issue newIssue ) : void
newIssue Issue Issue to create in Redmine
Результат void

DeleteIssue() публичный Метод

Deletes an issue from Redmine
public DeleteIssue ( int issueId ) : void
issueId int Id of the issue to delete
Результат void

GetActivities() публичный Метод

Gets the list of all available project activities
public GetActivities ( int projectId ) : List
projectId int Project Id
Результат List

GetAssignees() публичный Метод

Gets the list of all users available to be assigned to project issue
public GetAssignees ( int projectId ) : List
projectId int Project Id
Результат List

GetIssues() публичный Метод

Gets the list of all the available issues
public GetIssues ( int projectId ) : List
projectId int Project Id
Результат List

GetPriorities() публичный Метод

Gets the list of all available project issue priorities
public GetPriorities ( int projectId ) : List
projectId int Project Id
Результат List

GetProjects() публичный Метод

Gets the list of all the available projects
public GetProjects ( ) : List
Результат List

GetRecentActivity() публичный Метод

Gets the list of recent project activity
public GetRecentActivity ( int projectId ) : List
projectId int Project Id
Результат List

GetStatuses() публичный Метод

Gets the list of all available project issue statuses
public GetStatuses ( int projectId ) : List
projectId int Project Id
Результат List

GetTrackers() публичный Метод

Gets the list of all available project trackers
public GetTrackers ( int projectId ) : List
projectId int Project Id
Результат List

GetVersions() публичный Метод

Gets the list of all versions project issue can target
public GetVersions ( int projectId ) : List
projectId int Project Id
Результат List

GetWatchers() публичный Метод

Gets the list of all the users available as watchers for the project
public GetWatchers ( int projectId ) : List
projectId int ID of the project
Результат List

InvalidateCache() публичный Метод

Invalidates the cache.
public InvalidateCache ( ) : void
Результат void

LogIn() публичный Метод

Logs user into Redmine
public LogIn ( ) : void
Результат void

LogIn() публичный Метод

Logs user into Redmine
public LogIn ( string username, string password ) : void
username string Username in Redmine
password string Password in Redmine
Результат void

LogOut() публичный Метод

Logs out the user.
public LogOut ( ) : void
Результат void

LogTimeForIssue() публичный Метод

Logs time spent on an issue
public LogTimeForIssue ( int projectId, int issueId, string description, double timeSpent, System.DateTime date, int activityId ) : void
projectId int Project Id
issueId int Issue Id
description string Work description
timeSpent double Time spent on the issue
date System.DateTime Date when the work was done
activityId int Activity Id
Результат void

Redmine() публичный Метод

Initializes a new instance of the Redmine class.
public Redmine ( ) : System
Результат System