Skip to content

Commit

Permalink
Hiding the public ISiteMapNode.BuildSiteMap() method from intellisens…
Browse files Browse the repository at this point in the history
…e because it is meant for internal use by MvcSiteMapProvider.
  • Loading branch information
NightOwl888 committed Feb 5, 2014
1 parent 4d1ddf2 commit a54b8e4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/MvcSiteMapProvider/MvcSiteMapProvider/ISiteMap.cs
Original file line number Diff line number Diff line change
@@ -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
{
/// <summary>
/// Contract for the specialized class that manages the hierarchial relationship between different
/// Contract for the specialized class that manages the hierarchical relationship between different
/// <see cref="T:MvcSiteMapProvider.ISiteMapNode"/> instances.
/// </summary>
public interface ISiteMap
Expand All @@ -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; }
Expand Down

0 comments on commit a54b8e4

Please sign in to comment.