SharpRSS/WebSharpRSS/Models/CategoryTreeItem.cs

13 lines
425 B
C#
Raw Normal View History

2023-04-28 21:58:36 +02:00
using System.Collections.Generic;
using CodeHollow.FeedReader;
namespace WebSharpRSS.Models
{
public class CategoryTreeItem
{
public string CategoryTitle { get; set; }
public string CategoryIcon { get; set; }
public bool IsExpanded { get; set; }
public HashSet<Feed> Feeds { get; set; } = new HashSet<Feed>() { FeedReader.ReadAsync("http://fedoramagazine.org/feed/").Result };
}
}