C# Class Sage.Views.Meta.MetaView

Provides a meta view of the actual view selected and executed for a controller.
Inheritance: IView
Show file Open project: igorfrance/sage

Public Methods

Method Description
Create ( MetaViewInfo viewInfo, IView wrapped ) : MetaView

Creates MetaView instances.

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

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

Protected Methods

Method Description
DisableCaching ( System.Web.Mvc.ViewContext viewContext ) : void

Disables the caching.

MetaView ( MetaViewInfo viewInfo, IView wrapped ) : System

Initializes a new instance of the MetaView class.

Method Details

Create() public static method

Creates MetaView instances.
public static Create ( MetaViewInfo viewInfo, IView wrapped ) : MetaView
viewInfo Sage.Configuration.MetaViewInfo The object that defines the meta view to create.
wrapped IView The view that the meta view inspects.
return MetaView

DisableCaching() protected method

Disables the caching.
protected DisableCaching ( System.Web.Mvc.ViewContext viewContext ) : void
viewContext System.Web.Mvc.ViewContext The view context.
return void

MetaView() protected method

Initializes a new instance of the MetaView class.
protected MetaView ( MetaViewInfo viewInfo, IView wrapped ) : System
viewInfo Sage.Configuration.MetaViewInfo The view info.
wrapped IView The wrapped.
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