Exemplo n.º 1
0
 /// <summary>
 /// Adds the specified SignIn to the collection via POST.
 /// </summary>
 /// <param name="signIn">The SignIn to add.</param>
 /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
 /// <returns>The created SignIn.</returns>
 public System.Threading.Tasks.Task <SignIn> AddAsync(SignIn signIn, CancellationToken cancellationToken)
 {
     this.ContentType = "application/json";
     this.Method      = "POST";
     return(this.SendAsync <SignIn>(signIn, cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates the specified SignIn using POST.
 /// </summary>
 /// <param name="signInToCreate">The SignIn to create.</param>
 /// <returns>The created SignIn.</returns>
 public System.Threading.Tasks.Task <SignIn> CreateAsync(SignIn signInToCreate)
 {
     return(this.CreateAsync(signInToCreate, CancellationToken.None));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Adds the specified SignIn to the collection via POST.
 /// </summary>
 /// <param name="signIn">The SignIn to add.</param>
 /// <returns>The created SignIn.</returns>
 public System.Threading.Tasks.Task <SignIn> AddAsync(SignIn signIn)
 {
     return(this.AddAsync(signIn, CancellationToken.None));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes any collection properties after deserialization, like next requests for paging.
 /// </summary>
 /// <param name="signInToInitialize">The <see cref="SignIn"/> with the collection properties to initialize.</param>
 private void InitializeCollectionProperties(SignIn signInToInitialize)
 {
 }