Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
//code from Telerik MVC Extensions
namespace Grand.Web.Common.Menu;
public class SiteMapNode
{
/// <summary>
/// Initializes a new instance of the <see cref="SiteMapNode" /> class.
/// </summary>
public SiteMapNode()
{
ChildNodes = new List<SiteMapNode>();
PermissionNames = new List<string>();
}
/// <summary>
/// Gets or sets the system name.
/// </summary>
public string SystemName { get; set; }
/// <summary>
/// Gets or sets the resource name.
/// </summary>
public string ResourceName { get; set; }
/// <summary>
/// Gets or sets the name of the controller.
/// </summary>
public string ControllerName { get; set; }
/// <summary>
/// Gets or sets the name of the action.
/// </summary>
public string ActionName { get; set; }
/// <summary>
/// Gets or sets the URL.
/// </summary>
public string Url { get; set; }
/// <summary>
/// Gets or sets the child nodes.
/// </summary>
public IList<SiteMapNode> ChildNodes { get; set; }
/// <summary>
/// Gets or sets the icon class (bootstrap-icons: https://icons.getbootstrap.com/, e.g. "bi bi-house")
/// </summary>
public string IconClass { get; set; }
/// <summary>
/// Gets or sets the item is visible
/// </summary>
public bool Visible { get; set; }
/// <summary>
/// Gets or sets a value indicating whether to open url in new tab (window) or not
/// </summary>
public bool OpenUrlInNewTab { get; set; }
/// <summary>
/// Gets or sets permissions
/// </summary>
public IList<string> PermissionNames { get; set; }
/// <summary>
/// Gets or sets all permissions
/// </summary>
public bool AllPermissions { get; set; }
}