Example #1
0
 public void SetText([NotNull] InputSetting setting)
 {
     if (setting == null)
     {
         throw new ArgumentNullException("setting");
     }
     if (setting.Recipient != null)
     {
         this.SetDirectMessage(setting.Accounts, setting.Recipient, setting.SetFocusToInputArea);
     }
     else
     {
         this.SetText(setting.Accounts,
                      setting.Body,
                      setting.InReplyTo,
                      setting.CursorPosition,
                      setting.SetFocusToInputArea);
     }
 }
Example #2
0
 public static void SetText([NotNull] InputSetting setting)
 {
     _core.SetText(setting);
 }