Share via


WebPageRenderingBase Class

Provides methods and properties that are used to render pages that use the Razor view engine.

Inheritance Hierarchy

System.Object
  System.Web.WebPages.WebPageExecutingBase
    System.Web.WebPages.WebPageRenderingBase
      System.Web.WebPages.StartPage
      System.Web.WebPages.WebPageBase

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

Syntax

'Declaration
Public MustInherit Class WebPageRenderingBase _
    Inherits WebPageExecutingBase _
    Implements ITemplateFile
'Usage
Dim instance As WebPageRenderingBase
public abstract class WebPageRenderingBase : WebPageExecutingBase, 
    ITemplateFile
public ref class WebPageRenderingBase abstract : public WebPageExecutingBase, 
    ITemplateFile
[<AbstractClassAttribute>]
type WebPageRenderingBase =  
    class 
        inherit WebPageExecutingBase 
        interface ITemplateFile 
    end
public abstract class WebPageRenderingBase extends WebPageExecutingBase implements ITemplateFile

The WebPageRenderingBase type exposes the following members.

Constructors

  Name Description
Protected method WebPageRenderingBase Initializes a new instance of the WebPageRenderingBase class.

Top

Properties

  Name Description
Public property App (Inherited from WebPageExecutingBase.)
Public property AppState (Inherited from WebPageExecutingBase.)
Public property Cache
Public property Context When overridden in a derived class, gets or sets the HttpContextBase object that is associated with a page. (Inherited from WebPageExecutingBase.)
Public property Culture
Protected property DisplayMode
Public property IsAjax
Public property IsPost
Public property Layout When overridden in a derived class, gets or sets the path of a layout page.
Public property Page When overridden in a derived class, provides property-like access to page data that is shared between pages, layout pages, and partial pages.
Public property PageContext
Public property PageData When overridden in a derived class, provides array-like access to page data that is shared between pages, layout pages, and partial pages.
Public property Profile
Public property Request
Public property Response
Public property Server
Public property Session
Public property TemplateInfo
Public property UICulture
Public property UrlData
Public property User
Public property VirtualPath (Inherited from WebPageExecutingBase.)
Public property VirtualPathFactory (Inherited from WebPageExecutingBase.)

Top

Methods

  Name Description
Protected method BeginContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method BeginContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(TextWriter, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Protected method EndContext(TextWriter, String, Int32, Int32, Boolean) (Inherited from WebPageExecutingBase.)
Public method Equals (Inherited from Object.)
Public method Execute (Inherited from WebPageExecutingBase.)
Public method ExecutePageHierarchy When overridden in a derived class, calls the methods that are used to initialize the page.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetOutputWriter Returns the text writer instance that is used to render the page. (Inherited from WebPageExecutingBase.)
Public method GetType (Inherited from Object.)
Public method Href (Inherited from WebPageExecutingBase.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method NormalizeLayoutPagePath (Inherited from WebPageExecutingBase.)
Public method NormalizePath (Inherited from WebPageExecutingBase.)
Public method RenderPage When overridden in a derived class, renders a web page.
Public method ToString (Inherited from Object.)
Public method Write(Object) Writes the string representation of the specified object as an HTML-encoded string. (Inherited from WebPageExecutingBase.)
Public method Write(HelperResult) Writes the specified HelperResult object as an HTML-encoded string. (Inherited from WebPageExecutingBase.)
Public method WriteAttribute (Inherited from WebPageExecutingBase.)
Public method WriteAttributeTo(TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase.)
Protected method WriteAttributeTo(String, TextWriter, String, PositionTagged<String>, PositionTagged<String>, AttributeValue[]) (Inherited from WebPageExecutingBase.)
Public method WriteLiteral Writes the specified object without HTML encoding. (Inherited from WebPageExecutingBase.)

Top

Thread Safety

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

See Also

Reference

System.Web.WebPages Namespace