/// <summary>
 /// Initializes a new instance of the RedisProperties class with
 /// required arguments.
 /// </summary>
 public RedisProperties(Sku sku)
     : this()
 {
     if (sku == null)
     {
         throw new ArgumentNullException("sku");
     }
     this.Sku = sku;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// RedisReadablePropertiesWithAccessKey class with required arguments.
 /// </summary>
 public RedisReadablePropertiesWithAccessKey(Sku sku)
     : this()
 {
     if (sku == null)
     {
         throw new ArgumentNullException("sku");
     }
     this.Sku = sku;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// RedisReadablePropertiesWithAccessKey class with required arguments.
 /// </summary>
 public RedisReadablePropertiesWithAccessKey(string redisVersion, Sku sku)
     : this()
 {
     if (redisVersion == null)
     {
         throw new ArgumentNullException("redisVersion");
     }
     if (sku == null)
     {
         throw new ArgumentNullException("sku");
     }
     this.RedisVersion = redisVersion;
     this.Sku = sku;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the RedisProperties class with
 /// required arguments.
 /// </summary>
 public RedisProperties(string redisVersion, Sku sku, bool enableNonSslPort)
     : this()
 {
     if (redisVersion == null)
     {
         throw new ArgumentNullException("redisVersion");
     }
     if (sku == null)
     {
         throw new ArgumentNullException("sku");
     }
     this.RedisVersion = redisVersion;
     this.Sku = sku;
     this.EnableNonSslPort = enableNonSslPort;
 }