C# Class Candor.Web.Mvc.MvcTag

Defines any type of tag that can be used in a using statement which will automatically close itself at the end of the using block (on Dispose).
Inheritance: IDisposable
Show file Open project: michael-lang/candor-common Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes the tag instance by closing it.

EndTag ( ) : void

Ends the tag by disposing this instance.

MvcTag ( System.Web.Mvc.ViewContext viewContext, string tagName ) : System

Instantiates a new instance.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes the tag instance by closing it.

Private Methods

Method Description
MvcTag ( System.Web.HttpResponseBase httpResponse ) : System

Method Details

Dispose() public method

Disposes the tag instance by closing it.
public Dispose ( ) : void
return void

Dispose() protected method

Disposes the tag instance by closing it.
protected Dispose ( bool disposing ) : void
disposing bool
return void

EndTag() public method

Ends the tag by disposing this instance.
public EndTag ( ) : void
return void

MvcTag() public method

Instantiates a new instance.
public MvcTag ( System.Web.Mvc.ViewContext viewContext, string tagName ) : System
viewContext System.Web.Mvc.ViewContext
tagName string
return System