Definition
Constructors
Initializes a new instance of the PopulateSiteMapAttribute class.
C#
public PopulateSiteMapAttribute()
Initializes a new instance of the PopulateSiteMapAttribute class.
C#
public PopulateSiteMapAttribute(SiteMapDictionary siteMaps)
The site maps.
Properties
Gets or sets the default view data key.
C#
public static string DefaultViewDataKey { get; set; }
The default view data key.
Gets or sets the name of the site map.
C#
public string SiteMapName { get; set; }
The name of the site map.
Gets or sets the site maps.
C#
public SiteMapDictionary SiteMaps { get; }
The site maps.
Gets or sets the view data key.
C#
public string ViewDataKey { get; set; }
The view data key.
Methods
Called after an action result executes.
C#
public void OnResultExecuted(ResultExecutedContext filterContext)
The filter context.
Called before an action result executes.
C#
public virtual void OnResultExecuting(ResultExecutingContext filterContext)
The filter context.