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