BaseView 类

定义

注意

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

基础结构

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
继承
BaseView
派生
属性

构造函数

BaseView()
已过时.

基础结构

属性

Context
已过时.

请求上下文

HtmlEncoder
已过时.

用于对内容进行编码的 Html 编码器。

JavaScriptEncoder
已过时.

用于对内容进行编码的 JavaScript 编码器。

Output
已过时.

输出流

Request
已过时.

请求

Response
已过时.

响应

UrlEncoder
已过时.

用于对内容进行编码的 URL 编码器。

方法

BeginWriteAttribute(String, String, Int32, String, Int32, Int32)
已过时.

基础结构

EndWriteAttribute()
已过时.

基础结构

ExecuteAsync()
已过时.

执行单个请求

ExecuteAsync(HttpContext)
已过时.

执行单个请求

HtmlEncodeAndReplaceLineBreaks(String)
已过时.

基础结构

Write(HelperResult)
已过时.

调用 WriteTo(TextWriter)

Write(Object)
已过时.

转换为字符串和 html 编码

Write(String)
已过时.

进行 Html 编码并写入

WriteAttributeTo(TextWriter, String, String, String, AttributeValue[])
已过时.

将给定属性写入给定编写器

WriteAttributeValue(String, Int32, Object, Int32, Int32, Boolean)
已过时.

基础结构

WriteLiteral(Object)
已过时.

将给定值直接写入到输出

WriteLiteral(String)
已过时.

将给定值直接写入到输出

WriteLiteralTo(TextWriter, Object)
已过时.

将指定的 value (不带 HTML 编码)写入 。writer

WriteLiteralTo(TextWriter, String)
已过时.

将指定的 value 不带 HTML 编码的 写入到 Output

WriteTo(TextWriter, Object)
已过时.

将指定的 valuewriter写入 。

WriteTo(TextWriter, String)
已过时.

使用 HTML 编码将指定的 value 写入到 writer

适用于