C# Class YurtleTrack.Service.YouTrackBugService

Inheritance: IBugService
Show file Open project: scottiemc7/YurtleTrack

Private Properties

Property Type Description
GETResponseFrom string
GetAuthCookie string
POSTTo bool
ParseCountFromResponse int

Public Methods

Method Description
ApplyCommandsToBugs ( List commands, List bugs ) : void
GetBugCountForProject ( IProject project ) : int
GetBugsForProject ( IProject project, int page, int pageSize ) : List
GetFilteredBugsForProject ( IProject project, int page, int pageSize, string filterBy, string filterValue ) : List
GetProjects ( ) : List
GetTotalBugCount ( ) : int
YouTrackBugService ( IHttpWebRequestFactory httpFactory, string youtrackURL, string userName, string password ) : System

Private Methods

Method Description
GETResponseFrom ( string url ) : string
GetAuthCookie ( ) : string
POSTTo ( string url, string body ) : bool
ParseCountFromResponse ( string response ) : int

Method Details

ApplyCommandsToBugs() public method

public ApplyCommandsToBugs ( List commands, List bugs ) : void
commands List
bugs List
return void

GetBugCountForProject() public method

public GetBugCountForProject ( IProject project ) : int
project IProject
return int

GetBugsForProject() public method

public GetBugsForProject ( IProject project, int page, int pageSize ) : List
project IProject
page int
pageSize int
return List

GetFilteredBugsForProject() public method

public GetFilteredBugsForProject ( IProject project, int page, int pageSize, string filterBy, string filterValue ) : List
project IProject
page int
pageSize int
filterBy string
filterValue string
return List

GetProjects() public method

public GetProjects ( ) : List
return List

GetTotalBugCount() public method

public GetTotalBugCount ( ) : int
return int

YouTrackBugService() public method

public YouTrackBugService ( IHttpWebRequestFactory httpFactory, string youtrackURL, string userName, string password ) : System
httpFactory IHttpWebRequestFactory
youtrackURL string
userName string
password string
return System