コード例 #1
0
 /// <summary>
 /// Fetch next credentials for search.
 /// </summary>
 /// <returns>The async.</returns>
 /// <param name="count">The item count to fetch.</param>
 /// <param name="itemReferent">Item referent (optional).
 /// Required only when search was opened using <see cref="AnonCreds.ProverSearchCredentialsForProofRequestAsync(Wallet, string, string)"/>
 /// </param>
 public Task <string> NextAsync(int count, string itemReferent = null)
 {
     if (ProofRequest)
     {
         return(AnonCreds.ProverFetchCredentialsForProofRequestAsync(this, itemReferent, count));
     }
     return(AnonCreds.ProverFetchCredentialsAsync(this, count));
 }
コード例 #2
0
 /// <summary>
 /// Fetch next credentials for search.
 /// </summary>
 /// <returns>The async.</returns>
 /// <param name="count">The item count to fetch.</param>
 public Task <string> NextAsync(int count)
 {
     return(AnonCreds.ProverFetchCredentialsAsync(this, count));
 }