public IntentInput Create(IntentInputType type, List <ListItem> options, string inputLabel = "", Dictionary <string, string> parameters = null) { var os = Create(type, inputLabel, parameters); os.Options = options; return(os); }
public IntentInput Create(IntentInputType type, string inputLabel = "", Dictionary <string, string> parameters = null) { return(new IntentInput() { Type = type, InputLabel = inputLabel, Parameters = parameters ?? new Dictionary <string, string>(), Options = new List <ListItem>() }); }