Exemplo n.º 1
0
 /// <summary>
 /// Create a notice screen.
 /// </summary>
 /// <param name="title">Screen title.</param>
 /// <param name="method">Response delegate method.</param>
 /// <returns>UssdScreen instance.</returns>
 public static UssdScreen Notice(string title, ResponseAsyncDelegate method)
 {
     return(new UssdScreen()
     {
         Title = title,
         Type = UssdScreenTypes.Notice,
         ResponseAsync = method,
     });
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a notice screen.
 /// </summary>
 /// <param name="title">Screen title.</param>
 /// <param name="method">Response delegate method.</param>
 /// <returns>UssdScreen instance.</returns>
 public static UssdScreen Notice(string title, ResponseAsyncDelegate method)
 {
     return new UssdScreen()
     {
         Title = title,
         Type = UssdScreenTypes.Notice,
         ResponseAsync = method,
     };
 }