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; }