Esempio n. 1
0
 /// <summary>
 /// Creates a new XDS Slot object with the given name and values.
 /// </summary>
 /// <param name="name">name of the slot</param>
 /// <param name="values">values to include in the slot object</param>
 /// <returns>Returns the new SlotType object</returns>
 public SlotType(SlotNameType name, string[] values)
 {
     this.Name            = name;
     this.ValueList       = new ValueListType();
     this.ValueList.Value = values;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new XDS Slot object with the given name and values.
 /// </summary>
 /// <param name="name">name of the slot</param>
 /// <param name="values">values to include in the slot object</param>
 /// <returns>Returns the new SlotType object</returns>
 public SlotType(SlotNameType name, string[] values)
 {
     this.Name = name;
     this.ValueList = new ValueListType();
     this.ValueList.Value = values;
 }
Esempio n. 3
0
        /// <summary>
        /// Creates a new XDS Slot object with the given name and values.
        /// </summary>
        /// <param name="name">name of the slot</param>
        /// <param name="values">values to include in the slot object</param>
        /// <returns>Returns the new SlotType object</returns>
        public static SlotType CreateSlot(SlotNameType name, string[] values)
        {
            SlotType slot = new SlotType(name, values);

            return(slot);
        }
Esempio n. 4
0
 /// <summary>
 /// Creates a new XDS Slot object with the given name and values.
 /// </summary>
 /// <param name="name">name of the slot</param>
 /// <param name="values">values to include in the slot object</param>
 /// <returns>Returns the new SlotType object</returns>
 public static SlotType CreateSlot(SlotNameType name, string[] values)
 {
     SlotType slot = new SlotType(name, values);
     return slot;
 }