mirror of
https://github.com/hmaxnl/SharpRSS.git
synced 2024-09-20 01:54:20 +02:00
22 lines
650 B
C#
22 lines
650 B
C#
using System.Collections.Generic;
|
|
using CodeHollow.FeedReader;
|
|
|
|
namespace WebSharpRSS.Models
|
|
{
|
|
public class CategoryGuideItem
|
|
{
|
|
public string CategoryTitle { get; set; }
|
|
public string CategoryIcon { get; set; }
|
|
private string _hexColor;
|
|
|
|
public string CategoryHexColor
|
|
{
|
|
get => _hexColor;
|
|
set => _hexColor = value.Insert(7, "80");
|
|
}
|
|
|
|
public bool IsExpanded { get; set; }
|
|
public bool IsSelected { get; set; }
|
|
public HashSet<Feed> Feeds { get; set; } = new HashSet<Feed>() { FeedReader.ReadAsync("http://fedoramagazine.org/feed/").Result };
|
|
}
|
|
} |