コード例 #1
0
 /// <summary>
 /// *Experimental*
 /// Create a new Notification instance.
 /// </summary>
 /// <param name="options"></param>
 /// <returns></returns>
 public Notification Create(NotificationConstructorOptions options)
 {
     if (options == null)
     {
         options = new NotificationConstructorOptions();
     }
     return(API.ApplyConstructor <Notification>(options));
 }
コード例 #2
0
 /// <summary>
 /// *Experimental*
 /// Create a new Notification instance.
 /// </summary>
 /// <param name="options"></param>
 /// <returns></returns>
 public Notification Create(string options)
 {
     return(Create(NotificationConstructorOptions.Parse(options)));
 }