C# 클래스 Sage.Views.Meta.JsonView

Provides a JSON meta view of a view's input data.
상속: MetaView
파일 보기 프로젝트 열기: igorfrance/sage

공개 메소드들

메소드 설명
JsonView ( MetaViewInfo viewInfo, IView wrapped ) : System

Initializes a new instance of the JsonView class.

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

Renders the meta view of the view associated with the specified viewContext and writer.

메소드 상세

JsonView() 공개 메소드

Initializes a new instance of the JsonView class.
public JsonView ( MetaViewInfo viewInfo, IView wrapped ) : System
viewInfo Sage.Configuration.MetaViewInfo The meta view associated with this view.
wrapped IView The actual view that this meta view wraps.
리턴 System

Render() 공개 메소드

Renders the meta view of the view associated with the specified viewContext and writer.
public Render ( System.Web.Mvc.ViewContext viewContext, TextWriter writer ) : void
viewContext System.Web.Mvc.ViewContext The view context.
writer System.IO.TextWriter The writer to write to.
리턴 void