コード例 #1
0
        private async Task DoAdd()
        {
            var url     = SelectedFeed.Feed?.Substring(5);
            var channel = new Channel {
                Notify = true, Uri = url
            };

            SelectedCategory.Channels.Add(channel);

            await _categoryManager.Update(SelectedCategory);

            await Added.Handle(Unit.Default);

            SelectedFeed = null;
        }