C# 클래스 NuGet.Services.Work.Client.WorkClient

파일 보기 프로젝트 열기: NuGet/NuGet.Services.Work

공개 메소드들

메소드 설명
WorkClient ( HttpClient client ) : System

Create a work service client from the specified HttpClient. This client MUST have a valid BaseAddress, as the WorkClient will always use relative URLs to request work service APIs. The BaseAddress should point at the root of the service, NOT at the work service node.

WorkClient ( Uri baseUri ) : System

Create a work service client from the specified base uri and credentials.

WorkClient ( Uri baseUri, ICredentials credentials ) : System

Create a work service client from the specified base uri and credentials.

비공개 메소드들

메소드 설명
InitializeResources ( ) : void

메소드 상세

WorkClient() 공개 메소드

Create a work service client from the specified HttpClient. This client MUST have a valid BaseAddress, as the WorkClient will always use relative URLs to request work service APIs. The BaseAddress should point at the root of the service, NOT at the work service node.
public WorkClient ( HttpClient client ) : System
client System.Net.Http.HttpClient The client to use
리턴 System

WorkClient() 공개 메소드

Create a work service client from the specified base uri and credentials.
public WorkClient ( Uri baseUri ) : System
baseUri System.Uri The URL to the root of the service
리턴 System

WorkClient() 공개 메소드

Create a work service client from the specified base uri and credentials.
public WorkClient ( Uri baseUri, ICredentials credentials ) : System
baseUri System.Uri The URL to the root of the service
credentials ICredentials The credentials to connect to the service with
리턴 System