public CyanRest(string accountName, string accountSecret, bool useSsl = false, CyanRetryPolicy retryPolicy = null) { UseSsl = useSsl; RetryPolicy = retryPolicy ?? CyanRetryPolicy.Default; _account = new CyanAccount(accountName, accountSecret); }
/// <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="useSsl"></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); }