C# Class Candor.Web.Mvc.MvcTagHtmlHelperExtension

Extension methods for HtmlHelper for creating tags.
Show file Open project: michael-lang/candor-common

Public Methods

Method Description
BeginActionLink ( this htmlHelper, System.Web.Mvc.ActionResult result, object>.IDictionary htmlAttributes ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, System.Web.Mvc.ActionResult result, object htmlAttributes ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, string actionName ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, string actionName, RouteValueDictionary routeValues ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, string actionName, RouteValueDictionary routeValues, object>.IDictionary htmlAttributes ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, string actionName, object routeValues ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, string actionName, object routeValues, object htmlAttributes ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, string actionName, string controllerName ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, string actionName, string controllerName, RouteValueDictionary routeValues, object>.IDictionary htmlAttributes ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginActionLink ( this htmlHelper, string actionName, string controllerName, object routeValues, object htmlAttributes ) : MvcTag

Begins a new action link. For use in a using statement, allowing other code inside the tag.

BeginTag ( this htmlHelper, string tagName, object>.IDictionary htmlAttributes ) : MvcTag

Begins a new tag of any kind. For use in a using statement, allowing other code inside the tag.

BeginTag ( this htmlHelper, string tagName, object htmlAttributes ) : MvcTag

Begins a new tag of any kind. For use in a using statement, allowing other code inside the tag.

Method Details

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, System.Web.Mvc.ActionResult result, object>.IDictionary htmlAttributes ) : MvcTag
htmlHelper this The class being extended with this method.
result System.Web.Mvc.ActionResult An IT4MVCActionResult from a T4 MVC action method used to help build urls.
htmlAttributes object>.IDictionary A dictionary with name and value pairs.
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, System.Web.Mvc.ActionResult result, object htmlAttributes ) : MvcTag
htmlHelper this The class being extended with this method.
result System.Web.Mvc.ActionResult An IT4MVCActionResult from a T4 MVC action method used to help build urls.
htmlAttributes object A dynamic object with name and value pairs. Example: new {data-custom1="abc", @class="large"}
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, string actionName ) : MvcTag
htmlHelper this
actionName string
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, string actionName, RouteValueDictionary routeValues ) : MvcTag
htmlHelper this
actionName string
routeValues RouteValueDictionary
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, string actionName, RouteValueDictionary routeValues, object>.IDictionary htmlAttributes ) : MvcTag
htmlHelper this
actionName string
routeValues RouteValueDictionary
htmlAttributes object>.IDictionary
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, string actionName, object routeValues ) : MvcTag
htmlHelper this
actionName string
routeValues object
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, string actionName, object routeValues, object htmlAttributes ) : MvcTag
htmlHelper this
actionName string
routeValues object
htmlAttributes object
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, string actionName, string controllerName ) : MvcTag
htmlHelper this
actionName string
controllerName string
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, string actionName, string controllerName, RouteValueDictionary routeValues, object>.IDictionary htmlAttributes ) : MvcTag
htmlHelper this
actionName string
controllerName string
routeValues RouteValueDictionary
htmlAttributes object>.IDictionary
return MvcTag

BeginActionLink() public static method

Begins a new action link. For use in a using statement, allowing other code inside the tag.
public static BeginActionLink ( this htmlHelper, string actionName, string controllerName, object routeValues, object htmlAttributes ) : MvcTag
htmlHelper this
actionName string
controllerName string
routeValues object
htmlAttributes object
return MvcTag

BeginTag() public static method

Begins a new tag of any kind. For use in a using statement, allowing other code inside the tag.
public static BeginTag ( this htmlHelper, string tagName, object>.IDictionary htmlAttributes ) : MvcTag
htmlHelper this
tagName string
htmlAttributes object>.IDictionary
return MvcTag

BeginTag() public static method

Begins a new tag of any kind. For use in a using statement, allowing other code inside the tag.
public static BeginTag ( this htmlHelper, string tagName, object htmlAttributes ) : MvcTag
htmlHelper this
tagName string
htmlAttributes object
return MvcTag