コード例 #1
0
ファイル: StreamsPageViewModel.cs プロジェクト: mbrit/Kanblog
        public StreamsPageViewModel(IViewModelHost host)
            : base(host)
        {
            this.Streams = new ObservableCollection <StreamViewItem>();

            this.NewCommand = new DelegateCommand(async(args) =>
            {
                this.Host.ShowView <StoryPageViewModel>(await StoryItem.CreateForNewAsync());
            });
        }