From a54b8e46f62a1955da04797fa623c2ca764c5644 Mon Sep 17 00:00:00 2001 From: Shad Storhaug Date: Wed, 5 Feb 2014 20:45:38 +0700 Subject: [PATCH] Hiding the public ISiteMapNode.BuildSiteMap() method from intellisense because it is meant for internal use by MvcSiteMapProvider. --- src/MvcSiteMapProvider/MvcSiteMapProvider/ISiteMap.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/MvcSiteMapProvider/MvcSiteMapProvider/ISiteMap.cs b/src/MvcSiteMapProvider/MvcSiteMapProvider/ISiteMap.cs index 5a11f091..88d913d7 100644 --- a/src/MvcSiteMapProvider/MvcSiteMapProvider/ISiteMap.cs +++ b/src/MvcSiteMapProvider/MvcSiteMapProvider/ISiteMap.cs @@ -1,12 +1,13 @@ using System; -using System.Web.Mvc; using System.Collections.Generic; +using System.ComponentModel; +using System.Web.Mvc; using MvcSiteMapProvider.Collections.Specialized; namespace MvcSiteMapProvider { /// - /// Contract for the specialized class that manages the hierarchial relationship between different + /// Contract for the specialized class that manages the hierarchical relationship between different /// instances. /// public interface ISiteMap @@ -18,6 +19,9 @@ public interface ISiteMap void RemoveNode(ISiteMapNode node); void Clear(); ISiteMapNode RootNode { get; } + + // Hide the BuildSiteMap method because it is only for use by MvcSiteMapProvider. + [EditorBrowsable(EditorBrowsableState.Never)] void BuildSiteMap(); ISiteMapNode CurrentNode { get; }