C# Class Sage.Views.Meta.DivertView

Causes the original view to use this view's XsltTransform instead.
Inheritance: MetaView
Show file Open project: igorfrance/sage

Public Methods

Method Description
DivertView ( MetaViewInfo viewInfo, IView wrapped ) : System

Initializes a new instance of the DivertView class.

Render ( System.Web.Mvc.ViewContext viewContext, TextWriter writer ) : void

Renders the specified view context by using the specified the writer object.

Method Details

DivertView() public method

Initializes a new instance of the DivertView class.
public DivertView ( MetaViewInfo viewInfo, IView wrapped ) : System
viewInfo Sage.Configuration.MetaViewInfo The object that contains definition of this meta view.
wrapped IView The wrapped original view.
return System

Render() public method

Renders the specified view context by using the specified the writer object.
public Render ( System.Web.Mvc.ViewContext viewContext, TextWriter writer ) : void
viewContext System.Web.Mvc.ViewContext The view context.
writer System.IO.TextWriter The writer object.
return void