Beispiel #1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="SharedAccessSignatureCredential"/> class.
 /// </summary>
 ///
 /// <param name="signature">The shared access signature on which to base the token.</param>
 ///
 public SharedAccessSignatureCredential(SharedAccessSignature signature)
 {
     Argument.AssertNotNull(signature, nameof(signature));
     SharedAccessSignature = signature;
 }
Beispiel #2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="SharedAccessSignatureCredential"/> class.
 /// </summary>
 ///
 /// <param name="signature">The shared access signature on which to base the token.</param>
 ///
 public SharedAccessSignatureCredential(SharedAccessSignature signature)
 {
     Guard.ArgumentNotNull(nameof(signature), signature);
     SharedAccessSignature = signature;
 }