Exemplo n.º 1
0
 public DirectMessageTimeline(Kbtter4Setting kb, string q, User p)
 {
     Setting = kb;
     DirectMessages = new ObservableSynchronizedCollection<DirectMessage>();
     Query = new Kbtter3Query(q);
     Party = p;
 }
Exemplo n.º 2
0
 public StatusTimeline(Kbtter4Setting kb, string q)
 {
     Setting = kb;
     Statuses = new ObservableSynchronizedCollection<Status>();
     HasQuery = true;
     Query = new Kbtter3Query(q);
 }
Exemplo n.º 3
0
        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();
        }
Exemplo n.º 4
0
 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;
     }
 }
Exemplo n.º 5
0
 public NotificationTimeline(Kbtter4Setting kb,string q)
 {
     Setting = kb;
     Notifications = new ObservableSynchronizedCollection<Kbtter4Notification>();
     Query = new Kbtter3Query(q);
 }