Ejemplo n.º 1
0
        public StreamsPageViewModel(IViewModelHost host)
            : base(host)
        {
            this.Streams = new ObservableCollection <StreamViewItem>();

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