/// <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; }
/// <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); }
/// <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; }