C# Class NSwag.Integration.Console.PersonsClient

Afficher le fichier Open project: NSwag/NSwag Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
PrepareRequest ( System request, string &url ) : void
ProcessResponse ( System request, System response ) : void

Method Details

AddAsync() public méthode

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

AddAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

DeleteAsync() public méthode

A server side error occurred.
public DeleteAsync ( System id ) : System.Threading.Tasks.Task
id System
Résultat System.Threading.Tasks.Task

DeleteAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

Find2Async() public méthode

A server side error occurred.
public Find2Async ( Gender gender ) : System.Threading.Tasks.Task>
gender Gender
Résultat System.Threading.Tasks.Task>

Find2Async() public méthode

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.
Résultat System.Threading.Tasks.Task>

FindAsync() public méthode

A server side error occurred.
public FindAsync ( Gender gender ) : System.Threading.Tasks.Task>
gender Gender
Résultat System.Threading.Tasks.Task>

FindAsync() public méthode

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.
Résultat System.Threading.Tasks.Task>

GetAllAsync() public méthode

A server side error occurred.
public GetAllAsync ( ) : System.Threading.Tasks.Task>
Résultat System.Threading.Tasks.Task>

GetAllAsync() public méthode

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.
Résultat System.Threading.Tasks.Task>

GetAsync() public méthode

A server side error occurred.
public GetAsync ( System id ) : System.Threading.Tasks.Task
id System
Résultat System.Threading.Tasks.Task

GetAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

GetNameAsync() public méthode

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

GetNameAsync() public méthode

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.
Résultat System.Threading.Tasks.Task

ThrowAsync() public méthode

A server side error occurred.
public ThrowAsync ( System id ) : System.Threading.Tasks.Task
id System
Résultat System.Threading.Tasks.Task

ThrowAsync() public méthode

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.
Résultat System.Threading.Tasks.Task