Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the Product class.
 /// </summary>
 public Product(IList<string> displayNames = default(IList<string>), int? capacity = default(int?), string image = default(string), ChildProduct child = default(ChildProduct))
 {
     DisplayNames = displayNames;
     Capacity = capacity;
     Image = image;
     Child = child;
     Child = new ChildProduct();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Product class.
 /// </summary>
 public Product(IList <string> displayNames = default(IList <string>), int?capacity = default(int?), string image = default(string), ChildProduct child = default(ChildProduct))
 {
     DisplayNames = displayNames;
     Capacity     = capacity;
     Image        = image;
     Child        = child;
     Child        = new ChildProduct();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the Product class.
 /// </summary>
 /// <param name="displayNames">Non required array of unique items from
 /// 0 to 6 elements.</param>
 /// <param name="capacity">Non required int betwen 0 and 100
 /// exclusive.</param>
 /// <param name="image">Image URL representing the product.</param>
 /// <param name="constStringAsEnum">Constant string as Enum. Possible
 /// values include: 'constant_string_as_enum'</param>
 public Product(ChildProduct child, IList <string> displayNames = default(IList <string>), int?capacity = default(int?), string image = default(string), EnumConst?constStringAsEnum = default(EnumConst?))
 {
     Child             = new ChildProduct();
     DisplayNames      = displayNames;
     Capacity          = capacity;
     Image             = image;
     Child             = child;
     ConstStringAsEnum = constStringAsEnum;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the Product class.
 /// </summary>
 /// <param name="displayNames">Non required array of unique items from
 /// 0 to 6 elements.</param>
 /// <param name="capacity">Non required int betwen 0 and 100
 /// exclusive.</param>
 /// <param name="image">Image URL representing the product.</param>
 /// <param name="constStringAsEnum">Constant string as Enum. Possible
 /// values include: 'constant_string_as_enum'</param>
 public Product(ChildProduct child, System.Collections.Generic.IList<string> displayNames = default(System.Collections.Generic.IList<string>), int? capacity = default(int?), string image = default(string), EnumConst? constStringAsEnum = default(EnumConst?))
 {
     Child = new ChildProduct();
     DisplayNames = displayNames;
     Capacity = capacity;
     Image = image;
     Child = child;
     ConstStringAsEnum = constStringAsEnum;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the Product class.
 /// </summary>
 public Product()
 {
     Child = new ChildProduct();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the Product class.
 /// </summary>
 public Product()
 {
     Child = new ChildProduct();
     CustomInit();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the Product class.
 /// </summary>
 public Product()
 {
     Child = new ChildProduct();
 }