WIP: treeview context

This commit is contained in:
Ray committed 2021-09-12 14:40:44 +01:00
1 parent d575c66ed9
commit bbbd85380e
5 files changed
+880 -370

No files matched your search

+13 -9
View File
@@ -6,9 +6,13 @@ namespace bzit.bomg.Models
public class BookmarkItemViewModel
{
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()
@@ -26,17 +30,17 @@ namespace bzit.bomg.Models
public new string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("Name = ");
sb.Append(this.SiteName ?? string.Empty);
sb.Append(Environment.NewLine);
sb.AppendLine("Name = ");
sb.AppendLine(this.SiteName ?? string.Empty);
sb.AppendLine(string.Empty);
sb.Append("Address = ");
sb.Append(this.SiteAddress ?? string.Empty);
sb.Append(Environment.NewLine);
sb.AppendLine("Address = ");
sb.AppendLine(this.SiteAddress ?? string.Empty);
sb.AppendLine(string.Empty);
sb.Append("Description = ");
sb.Append(this.SiteDescription ?? string.Empty);
sb.Append(Environment.NewLine);
sb.AppendLine("Description = ");
sb.AppendLine(this.SiteDescription ?? string.Empty);
sb.AppendLine(string.Empty);
return sb.ToString();
}