Beispiel #1
0
        public CyanRest(string accountName, string accountSecret, bool useSsl = false, CyanRetryPolicy retryPolicy = null)
        {
            UseSsl = useSsl;
            RetryPolicy = retryPolicy ?? CyanRetryPolicy.Default;

            account = new CyanAccount(accountName, accountSecret);
        }
Beispiel #2
0
 /// <summary>
 /// Creates a Cyan client for Azure Table service (the real thing).
 /// </summary>
 /// <param name="accountName">The Azure storage account name.</param>
 /// <param name="accountSecret">The Azure storage account secret.</param>
 /// <param name="commonRetryPolicy">The retry policy that will be used by default for all operations.</param>
 public CyanClient(string accountName, string accountSecret, bool useSsl = false, CyanRetryPolicy commonRetryPolicy = null)
 {
     restClient = new CyanRest(accountName, accountSecret, useSsl, commonRetryPolicy);
 }