C# 클래스 NSwag.Integration.Console.PersonsClient

파일 보기 프로젝트 열기: NSwag/NSwag 1 사용 예제들

공개 메소드들

메소드 설명
AddAsync ( Person person ) : System.Threading.Tasks.Task
AddAsync ( Person person, System cancellationToken ) : System.Threading.Tasks.Task
DeleteAsync ( System id ) : System.Threading.Tasks.Task
DeleteAsync ( System id, System cancellationToken ) : System.Threading.Tasks.Task
Find2Async ( Gender gender ) : System.Threading.Tasks.Task>
Find2Async ( Gender gender, System cancellationToken ) : System.Threading.Tasks.Task>
FindAsync ( Gender gender ) : System.Threading.Tasks.Task>
FindAsync ( Gender gender, System cancellationToken ) : System.Threading.Tasks.Task>
GetAllAsync ( ) : System.Threading.Tasks.Task>
GetAllAsync ( System cancellationToken ) : System.Threading.Tasks.Task>
GetAsync ( System id ) : System.Threading.Tasks.Task
GetAsync ( System id, System cancellationToken ) : System.Threading.Tasks.Task
GetNameAsync ( System id ) : System.Threading.Tasks.Task

Gets the name of a person.

GetNameAsync ( System id, System cancellationToken ) : System.Threading.Tasks.Task

Gets the name of a person.

ThrowAsync ( System id ) : System.Threading.Tasks.Task
ThrowAsync ( System id, System cancellationToken ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
PrepareRequest ( System request, string &url ) : void
ProcessResponse ( System request, System response ) : void

메소드 상세

AddAsync() 공개 메소드

A server side error occurred.
public AddAsync ( Person person ) : System.Threading.Tasks.Task
person NSwag.Integration.Console.Contracts.Person
리턴 System.Threading.Tasks.Task

AddAsync() 공개 메소드

A server side error occurred.
public AddAsync ( Person person, System cancellationToken ) : System.Threading.Tasks.Task
person NSwag.Integration.Console.Contracts.Person
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
리턴 System.Threading.Tasks.Task

DeleteAsync() 공개 메소드

A server side error occurred.
public DeleteAsync ( System id ) : System.Threading.Tasks.Task
id System
리턴 System.Threading.Tasks.Task

DeleteAsync() 공개 메소드

A server side error occurred.
public DeleteAsync ( System id, System cancellationToken ) : System.Threading.Tasks.Task
id System
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
리턴 System.Threading.Tasks.Task

Find2Async() 공개 메소드

A server side error occurred.
public Find2Async ( Gender gender ) : System.Threading.Tasks.Task>
gender Gender
리턴 System.Threading.Tasks.Task>

Find2Async() 공개 메소드

A server side error occurred.
public Find2Async ( Gender gender, System cancellationToken ) : System.Threading.Tasks.Task>
gender Gender
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
리턴 System.Threading.Tasks.Task>

FindAsync() 공개 메소드

A server side error occurred.
public FindAsync ( Gender gender ) : System.Threading.Tasks.Task>
gender Gender
리턴 System.Threading.Tasks.Task>

FindAsync() 공개 메소드

A server side error occurred.
public FindAsync ( Gender gender, System cancellationToken ) : System.Threading.Tasks.Task>
gender Gender
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
리턴 System.Threading.Tasks.Task>

GetAllAsync() 공개 메소드

A server side error occurred.
public GetAllAsync ( ) : System.Threading.Tasks.Task>
리턴 System.Threading.Tasks.Task>

GetAllAsync() 공개 메소드

A server side error occurred.
public GetAllAsync ( System cancellationToken ) : System.Threading.Tasks.Task>
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
리턴 System.Threading.Tasks.Task>

GetAsync() 공개 메소드

A server side error occurred.
public GetAsync ( System id ) : System.Threading.Tasks.Task
id System
리턴 System.Threading.Tasks.Task

GetAsync() 공개 메소드

A server side error occurred.
public GetAsync ( System id, System cancellationToken ) : System.Threading.Tasks.Task
id System
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
리턴 System.Threading.Tasks.Task

GetNameAsync() 공개 메소드

Gets the name of a person.
A server side error occurred.
public GetNameAsync ( System id ) : System.Threading.Tasks.Task
id System The person ID.
리턴 System.Threading.Tasks.Task

GetNameAsync() 공개 메소드

Gets the name of a person.
A server side error occurred.
public GetNameAsync ( System id, System cancellationToken ) : System.Threading.Tasks.Task
id System The person ID.
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
리턴 System.Threading.Tasks.Task

ThrowAsync() 공개 메소드

A server side error occurred.
public ThrowAsync ( System id ) : System.Threading.Tasks.Task
id System
리턴 System.Threading.Tasks.Task

ThrowAsync() 공개 메소드

A server side error occurred.
public ThrowAsync ( System id, System cancellationToken ) : System.Threading.Tasks.Task
id System
cancellationToken System A cancellation token that can be used by other objects or threads to receive notice of cancellation.
리턴 System.Threading.Tasks.Task