BaseViewPage - класс |
Пространство имён: EleWise.ELMA.Web.Mvc
public abstract class BaseViewPage : WebViewPage
Тип BaseViewPage предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| BaseViewPage |
Ctor
|
| Имя | Описание | |
|---|---|---|
| Ajax | Gets or sets the AjaxHelper object that is used to render HTML using Ajax. (Унаследован от WebViewPage.) | |
| App | (Унаследован от WebPageExecutingBase.) | |
| AppState | (Унаследован от WebPageExecutingBase.) | |
| AuthenticationService |
Сервис аутентификации
| |
| Cache | (Унаследован от WebPageRenderingBase.) | |
| Context | Gets the HttpContext object that is associated with the page. (Унаследован от WebViewPage.) | |
| Culture | (Унаследован от WebPageRenderingBase.) | |
| DisplayMode | (Унаследован от WebPageRenderingBase.) | |
| Html | Gets or sets the HtmlHelper object that is used to render HTML elements. (Унаследован от WebViewPage.) | |
| IsAjax | (Унаследован от WebPageRenderingBase.) | |
| IsPost | (Унаследован от WebPageRenderingBase.) | |
| Layout | Gets or sets the path of a layout page. (Унаследован от WebPageBase.) | |
| Model | Gets the Model property of the associated ViewDataDictionary object. (Унаследован от WebViewPage.) | |
| Output | Gets the current TextWriter object for the page. (Унаследован от WebPageBase.) | |
| OutputStack | Gets the stack of TextWriter objects for the current page context. (Унаследован от WebPageBase.) | |
| Page | Provides property-like access to page data that is shared between pages, layout pages, and partial pages. (Унаследован от WebPageBase.) | |
| PageContext | (Унаследован от WebPageRenderingBase.) | |
| PageData | Provides array-like access to page data that is shared between pages, layout pages, and partial pages. (Унаследован от WebPageBase.) | |
| Profile | (Унаследован от WebPageRenderingBase.) | |
| Request | (Унаследован от WebPageRenderingBase.) | |
| Response | (Унаследован от WebPageRenderingBase.) | |
| SecurityService |
Сервис безопасности
| |
| Server | (Унаследован от WebPageRenderingBase.) | |
| Session | (Унаследован от WebPageRenderingBase.) | |
| TempData | Gets the temporary data to pass to the view. (Унаследован от WebViewPage.) | |
| TemplateInfo | (Унаследован от WebPageRenderingBase.) | |
| UICulture | (Унаследован от WebPageRenderingBase.) | |
| Url | Gets or sets the URL of the rendered page. (Унаследован от WebViewPage.) | |
| UrlData | (Унаследован от WebPageRenderingBase.) | |
| User | (Унаследован от WebPageRenderingBase.) | |
| ViewBag | Gets the view bag. (Унаследован от WebViewPage.) | |
| ViewContext | Gets or sets the information that is used to render the view. (Унаследован от WebViewPage.) | |
| ViewData | Gets or sets a dictionary that contains data to pass between the controller and the view. (Унаследован от WebViewPage.) | |
| VirtualPath | (Унаследован от WebPageExecutingBase.) |
| Имя | Описание | |
|---|---|---|
| BeginContext(Int32, Int32, Boolean) | (Унаследован от WebPageExecutingBase.) | |
| BeginContext(String, Int32, Int32, Boolean) | (Унаследован от WebPageExecutingBase.) | |
| BeginContext(TextWriter, Int32, Int32, Boolean) | (Унаследован от WebPageExecutingBase.) | |
| BeginContext(TextWriter, String, Int32, Int32, Boolean) | (Унаследован от WebPageExecutingBase.) | |
| ConfigurePage | Sets the view context and view data for the page. (Унаследован от WebViewPage.) | |
| CreatePageFromVirtualPath | Attempts to create a WebPageBase instance from a virtualPath and wraps complex compiler exceptions with simpler messages (Унаследован от WebPageBase.) | |
| DefineSection | Called by content pages to create named content sections. (Унаследован от WebPageBase.) | |
| EndContext(Int32, Int32, Boolean) | (Унаследован от WebPageExecutingBase.) | |
| EndContext(String, Int32, Int32, Boolean) | (Унаследован от WebPageExecutingBase.) | |
| EndContext(TextWriter, Int32, Int32, Boolean) | (Унаследован от WebPageExecutingBase.) | |
| EndContext(TextWriter, String, Int32, Int32, Boolean) | (Унаследован от WebPageExecutingBase.) | |
| ExecutePageHierarchy | Runs the page hierarchy for the ASP.NET Razor execution pipeline. (Унаследован от WebViewPage.) | |
| ExecutePageHierarchy(WebPageContext, TextWriter) | Executes the code in a set of dependent web pages by using the specified parameters. (Унаследован от WebPageBase.) | |
| ExecutePageHierarchy(WebPageContext, TextWriter, WebPageRenderingBase) | Executes the code in a set of dependent web pages by using the specified context, writer, and start page. (Унаследован от WebPageBase.) | |
| GetOutputWriter | Returns the text writer instance that is used to render the page. (Унаследован от WebPageBase.) | |
| Href | (Унаследован от WebPageExecutingBase.) | |
| InitHelpers | Initializes the AjaxHelper, HtmlHelper, and UrlHelper classes. (Унаследован от WebViewPage.) | |
| InitializePage | Initializes the current page. (Унаследован от WebPageBase.) | |
| IsSectionDefined | Returns a value that indicates whether the specified section is defined in the page. (Унаследован от WebPageBase.) | |
| NormalizeLayoutPagePath | (Унаследован от WebPageExecutingBase.) | |
| NormalizePath | (Унаследован от WebPageExecutingBase.) | |
| PopContext | Returns and removes the context from the top of the OutputStack instance. (Унаследован от WebPageBase.) | |
| PushContext | Inserts the specified context at the top of the OutputStack instance. (Унаследован от WebPageBase.) | |
| RenderBody | In layout pages, renders the portion of a content page that is not within a named section. (Унаследован от WebPageBase.) | |
| RenderPage | Renders the content of one page within another page. (Унаследован от WebPageBase.) | |
| RenderSection(String) | In layout pages, renders the content of a named section. (Унаследован от WebPageBase.) | |
| RenderSection(String, Boolean) | In layout pages, renders the content of a named section and specifies whether the section is required. (Унаследован от WebPageBase.) | |
| SetViewData | Sets the view data. (Унаследован от WebViewPage.) | |
| Write(HelperResult) | Writes the specified HelperResult object as an HTML-encoded string. (Унаследован от WebPageBase.) | |
| Write(Object) | Writes the specified object as an HTML-encoded string. (Унаследован от WebPageBase.) | |
| WriteAttribute | (Унаследован от WebPageExecutingBase.) | |
| WriteAttributeTo(TextWriter, String, PositionTaggedString, PositionTaggedString, AttributeValue) | (Унаследован от WebPageExecutingBase.) | |
| WriteAttributeTo(String, TextWriter, String, PositionTaggedString, PositionTaggedString, AttributeValue) | (Унаследован от WebPageExecutingBase.) | |
| WriteLiteral | Writes the specified object without HTML-encoding it first. (Унаследован от WebPageBase.) |
| Имя | Описание | |
|---|---|---|
| GetID |
Получить идентификатор из объекта.
Вызывает ToString().ToLower()
(Определяется ObjectExtensions.) | |
| Implementation |
Получить реальный объект из класса
(Определяется ModelExtensions.) | |
| SafeToString | (Определяется ObjectExtensions.) | |
| ToEncodedJson |
Получить представление объекта в структуре Json, зашифрованную для атрибута
(Определяется ObjectExtensions.) | |
| ToJson |
Получить представление объекта в структуре Json
(Определяется ObjectExtensions.) | |
| ToJsonSlice |
Получить представление объекта в структуре Json.
Обрезает стартовый и конечный символы { и }
(Определяется ObjectExtensions.) |