public DirectMessageTimeline(Kbtter4Setting kb, string q, User p) { Setting = kb; DirectMessages = new ObservableSynchronizedCollection<DirectMessage>(); Query = new Kbtter3Query(q); Party = p; }
public StatusTimeline(Kbtter4Setting kb, string q) { Setting = kb; Statuses = new ObservableSynchronizedCollection<Status>(); HasQuery = true; Query = new Kbtter3Query(q); }
static void Main(string[] args) { Console.WriteLine("Testの値は" + "7"); Console.WriteLine("クエリを入力してください(exitで終了)"); do { var qs = Console.ReadLine(); if (qs == "exit") break; var q = new Kbtter3Query(qs); q.SetVariable("Test", 7); var ret = q.Execute(); Console.WriteLine(ret.AsBoolean()); } while (true); Console.WriteLine("Bye!"); Console.ReadLine(); }
public void Create() { try { var q = new Kbtter3Query(QueryText); var vm = new UserCustomizableTimelineViewModel(main); vm.IsInverted = ExtractFalseStatus; vm.Query = q; main.RequestUserTimeline(vm); Messenger.Raise(new WindowActionMessage(WindowAction.Close, "Close")); } catch { Messenger.Raise(new InformationMessage("クエリ構文が間違っています", "構文エラー", "InformationNUT")); return; } }
public NotificationTimeline(Kbtter4Setting kb,string q) { Setting = kb; Notifications = new ObservableSynchronizedCollection<Kbtter4Notification>(); Query = new Kbtter3Query(q); }