Initial commit

This commit is contained in:
Ray committed 2021-09-07 12:32:24 +01:00
commit 1cdcca7267
143 files changed
+18199

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
using System.Text;
namespace BookmarkManager.DTO
{
public class BookmarkItem
{
public string SiteName { get; set; }
public string SiteAddress { get; set; }
public string SiteDescription { get; set; }
public string FaviconAddress { get; set; }
public string TreeviewPath { get; set; }
//public BookmarkItemModel ToModel()
//{
// return new BookmarkItemModel()
// {
// SiteName = this.SiteName,
// SiteAddress = this.SiteAddress,
// SiteDescription = this.SiteDescription,
// FaviconAddress = this.FaviconAddress,
// TreeviewPath = this.TreeviewPath
// };
//}
public new string ToString()
{
StringBuilder sb = new StringBuilder();
sb.AppendLine("Name = " + this.SiteName ?? string.Empty);
sb.AppendLine("Address = " + this.SiteAddress ?? string.Empty);
sb.AppendLine("Description = " + this.SiteDescription ?? string.Empty);
return sb.ToString();
}
}
}