Ejemplo n.º 1
0
 public static UssdInputOption New(string value, string displayValue = null)
 {
     var option = new UssdInputOption
     {
         Value = value,
         DisplayValue = displayValue,
     };
     return option;
 }
Ejemplo n.º 2
0
        public static UssdInputOption New(string value, string displayValue = null)
        {
            var option = new UssdInputOption
            {
                Value        = value,
                DisplayValue = displayValue,
            };

            return(option);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Add possible input option to USSD input.
 /// Makes input a selection based input.
 /// </summary>
 /// <param name="value"></param>
 /// <param name="displayValue"></param>
 /// <returns></returns>
 public UssdInput Option(string value, string displayValue = null)
 {
     Options.Add(UssdInputOption.New(value, displayValue));
     return(this);
 }