Sets a ViewData["Path"] value for an action or controller.
Default constructor
public Void PathAttribute()
The names of the resources used to conforms a path.
public String[] Names { get; set; }
The separator to saparate the path nodes.
public String PathSeparator { get; set; }
The type of localization resource.
public Type ResourceType { get; set; }
Sets the ViewData["Path"] element with a localized data from the Names.
public Void OnActionExecuting(context)
Name | Type | Summary |
---|---|---|
context | ActionExecutingContext | The ActionExecutingContext. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when context is null. |
In this document