Formatting and comments
This commit is contained in:
@@ -12,13 +12,6 @@ namespace Umbraco.Cms.Web.BackOffice.Trees
|
||||
/// </remarks>
|
||||
public class MenuRendering : INotification
|
||||
{
|
||||
public MenuRendering(string nodeId, MenuItemCollection menu, FormCollection queryStrings)
|
||||
{
|
||||
NodeId = nodeId;
|
||||
Menu = menu;
|
||||
QueryStrings = queryStrings;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The tree node id that the menu is rendering for
|
||||
/// </summary>
|
||||
@@ -29,8 +22,16 @@ namespace Umbraco.Cms.Web.BackOffice.Trees
|
||||
/// </summary>
|
||||
public MenuItemCollection Menu { get; }
|
||||
|
||||
public FormCollection QueryStrings { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The query string of the current request
|
||||
/// </summary>
|
||||
public FormCollection QueryString { get; }
|
||||
|
||||
public MenuRendering(string nodeId, MenuItemCollection menu, FormCollection queryString)
|
||||
{
|
||||
NodeId = nodeId;
|
||||
Menu = menu;
|
||||
QueryString = queryString;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,14 +9,20 @@ namespace Umbraco.Cms.Web.BackOffice.Trees
|
||||
/// </summary>
|
||||
public class RootNodeRendering : INotification
|
||||
{
|
||||
/// <summary>
|
||||
/// The root node being rendered
|
||||
/// </summary>
|
||||
public TreeNode Node { get; }
|
||||
|
||||
public FormCollection QueryStrings { get; }
|
||||
/// <summary>
|
||||
/// The query string of the current request
|
||||
/// </summary>
|
||||
public FormCollection QueryString { get; }
|
||||
|
||||
public RootNodeRendering(TreeNode node, FormCollection queryStrings)
|
||||
public RootNodeRendering(TreeNode node, FormCollection queryString)
|
||||
{
|
||||
Node = node;
|
||||
QueryStrings = queryStrings;
|
||||
QueryString = queryString;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,14 +12,20 @@ namespace Umbraco.Cms.Web.BackOffice.Trees
|
||||
/// </remarks>
|
||||
public class TreeNodesRendering : INotification
|
||||
{
|
||||
/// <summary>
|
||||
/// The tree nodes being rendered
|
||||
/// </summary>
|
||||
public TreeNodeCollection Nodes { get; }
|
||||
|
||||
public FormCollection QueryStrings { get; }
|
||||
/// <summary>
|
||||
/// The query string of the current request
|
||||
/// </summary>
|
||||
public FormCollection QueryString { get; }
|
||||
|
||||
public TreeNodesRendering(TreeNodeCollection nodes, FormCollection queryStrings)
|
||||
public TreeNodesRendering(TreeNodeCollection nodes, FormCollection queryString)
|
||||
{
|
||||
Nodes = nodes;
|
||||
QueryStrings = queryStrings;
|
||||
QueryString = queryString;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user