RazorView Class

 

Represents the class used to create views that have Razor syntax.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)


public class RazorView : BuildManagerCompiledView

NameDescription
System_CAPS_pubmethodRazorView(ControllerContext, String, String, Boolean, IEnumerable<String>)

Initializes a new instance of the RazorView class.

System_CAPS_pubmethodRazorView(ControllerContext, String, String, Boolean, IEnumerable<String>, IViewPageActivator)

Initializes a new instance of the RazorView class using the view page activator.

NameDescription
System_CAPS_pubpropertyLayoutPath

Gets the layout or master page.

System_CAPS_pubpropertyRunViewStartPages

Gets a value that indicates whether view start files should be executed before the view.

System_CAPS_pubpropertyViewPath

Gets or sets the view path.(Inherited from BuildManagerCompiledView.)

System_CAPS_pubpropertyViewStartFileExtensions

Gets or sets the set of file extensions that will be used when looking up view start files.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRender(ViewContext, TextWriter)

Renders the specified view context by using the specified the writer object.(Inherited from BuildManagerCompiledView.)

System_CAPS_protmethodRenderView(ViewContext, TextWriter, Object)

Renders the specified view context by using the specified writer and WebViewPage instance.(Overrides BuildManagerCompiledView.RenderView(ViewContext, TextWriter, Object).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: