예제 #1
0
 public TweetViewModel()
 {
     RefreshCommand = new TwitterCommand<object>(OnRefresh);
 }
예제 #2
0
 public StreamViewModel()
 {
     JsonContent = new ObservableCollection<JsonContent>();
     StartCommand = new TwitterCommand<object>(OnStart);
 }
예제 #3
0
 public override void OnLoad()
 {
     _command = new TwitterCommand(Program.SendService);
     Program.Bot.Commands.Add(_command);
     LogInfo("插件加载..");
 }