C# Class MvcTemplate.Components.Mvc.MvcSiteMapProvider

Inheritance: IMvcSiteMapProvider
显示文件 Open project: NonFactors/MVC5.Template Class Usage Examples

Private Properties

Property Type Description
CopyAndSetState IEnumerable
GetAuthorizedSiteMap IEnumerable
IsAuthorizedToView System.Boolean
IsEmpty System.Boolean
ToList IEnumerable

Public Methods

Method Description
GetBreadcrumb ( System.Web.Mvc.ViewContext context ) : IEnumerable
GetSiteMap ( System.Web.Mvc.ViewContext context ) : IEnumerable
MvcSiteMapProvider ( String path, IMvcSiteMapParser parser ) : MvcTemplate.Components.Security

Private Methods

Method Description
CopyAndSetState ( IEnumerable nodes, String area, String controller, String action ) : IEnumerable
GetAuthorizedSiteMap ( Int32 accountId, IEnumerable nodes ) : IEnumerable
IsAuthorizedToView ( Int32 accountId, MvcTemplate.Components.Mvc.MvcSiteMapNode menu ) : System.Boolean
IsEmpty ( MvcTemplate.Components.Mvc.MvcSiteMapNode node ) : System.Boolean
ToList ( IEnumerable nodes ) : IEnumerable

Method Details

GetBreadcrumb() public method

public GetBreadcrumb ( System.Web.Mvc.ViewContext context ) : IEnumerable
context System.Web.Mvc.ViewContext
return IEnumerable

GetSiteMap() public method

public GetSiteMap ( System.Web.Mvc.ViewContext context ) : IEnumerable
context System.Web.Mvc.ViewContext
return IEnumerable

MvcSiteMapProvider() public method

public MvcSiteMapProvider ( String path, IMvcSiteMapParser parser ) : MvcTemplate.Components.Security
path String
parser IMvcSiteMapParser
return MvcTemplate.Components.Security