BaseView Class

Definition

Caution

This type is for internal use only and will be removed in a future version.

Infrastructure

public ref class BaseView abstract
public abstract class BaseView
[System.Obsolete("This type is for internal use only and will be removed in a future version.")]
public abstract class BaseView
type BaseView = class
[<System.Obsolete("This type is for internal use only and will be removed in a future version.")>]
type BaseView = class
Public MustInherit Class BaseView
Inheritance
BaseView
Derived
Attributes

Constructors

BaseView()

Properties

Context

The request context

HtmlEncoder

Html encoder used to encode content.

JavaScriptEncoder

JavaScript encoder used to encode content.

Output

The output stream

Request

The request

Response

The response

UrlEncoder

Url encoder used to encode content.

Methods

BeginWriteAttribute(String, String, Int32, String, Int32, Int32)
EndWriteAttribute()
ExecuteAsync()

Execute an individual request

ExecuteAsync(HttpContext)

Execute an individual request

HtmlEncodeAndReplaceLineBreaks(String)
Write(HelperResult)

WriteTo(TextWriter) is invoked

Write(Object)

Convert to string and html encode

Write(String)

Html encode and write

WriteAttributeTo(TextWriter, String, String, String, AttributeValue[])

Writes the given attribute to the given writer

WriteAttributeValue(String, Int32, Object, Int32, Int32, Boolean)
WriteLiteral(Object)

Write the given value directly to the output

WriteLiteral(String)

Write the given value directly to the output

WriteLiteralTo(TextWriter, Object)

Writes the specified value without HTML encoding to the writer.

WriteLiteralTo(TextWriter, String)

Writes the specified value without HTML encoding to Output.

WriteTo(TextWriter, Object)

Writes the specified value to writer.

WriteTo(TextWriter, String)

Writes the specified value with HTML encoding to writer.

Applies to