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 | Gets the application-state data as a DynamicObject object that callers can use to create and access custom application-scoped properties. (Унаследован от WebPageExecutingBase.) | |
| AppState | Gets a reference to global application-state data that can be shared across sessions and requests in an ASP.NET application. (Унаследован от WebPageExecutingBase.) | |
| AuthenticationService |
Сервис аутентификации
| |
| Cache | When overridden in a derived class, gets the cache object for the current application domain. (Унаследован от WebPageRenderingBase.) | |
| Context | Gets the HttpContext object that is associated with the page. (Унаследован от WebViewPage.) | |
| Culture | When overridden in a derived class, gets or sets the culture for the current thread. (Унаследован от WebPageRenderingBase.) | |
| DisplayMode | Gets the display mode for the request. (Унаследован от WebPageRenderingBase.) | |
| Html | Gets or sets the HtmlHelper object that is used to render HTML elements. (Унаследован от WebViewPage.) | |
| IsAjax | When overridden in a derived class, get a value that indicates whether Ajax is being used during the request of the web page. (Унаследован от WebPageRenderingBase.) | |
| IsPost | When overridden in a derived class, returns a value that indicates whether the HTTP data transfer method used by the client to request the web page is a POST request. (Унаследован от 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 | When overridden in a derived class, gets the HTTP context for the web page. (Унаследован от WebPageRenderingBase.) | |
| PageData | Provides array-like access to page data that is shared between pages, layout pages, and partial pages. (Унаследован от WebPageBase.) | |
| Profile | Gets profile information for the current request context. (Унаследован от WebPageRenderingBase.) | |
| Request | When overridden in a derived class, gets the HttpRequest object for the current HTTP request. (Унаследован от WebPageRenderingBase.) | |
| Response | When overridden in a derived class, gets the HttpResponse object for the current HTTP response. (Унаследован от WebPageRenderingBase.) | |
| SecurityService |
Сервис безопасности
| |
| Server | When overridden in a derived class, gets the HttpServerUtility object that provides methods that can be used as part of web-page processing. (Унаследован от WebPageRenderingBase.) | |
| Session | When overridden in a derived class, gets the HttpSessionState object for the current HTTP request. (Унаследован от WebPageRenderingBase.) | |
| TempData | Gets the temporary data to pass to the view. (Унаследован от WebViewPage.) | |
| TemplateInfo | When overridden in a derived class, gets information about the currently executing file. (Унаследован от WebPageRenderingBase.) | |
| UICulture | When overridden in a derived class, gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time. (Унаследован от WebPageRenderingBase.) | |
| Url | Gets or sets the URL of the rendered page. (Унаследован от WebViewPage.) | |
| UrlData | When overridden in a derived class, gets data related to the URL path. (Унаследован от WebPageRenderingBase.) | |
| User | When overridden in a derived class, gets a user value based on the HTTP context. (Унаследован от 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 | Gets or sets the virtual path of the page. (Унаследован от WebPageExecutingBase.) |
| Имя | Описание | |
|---|---|---|
| BeginContext(Int32, Int32, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| BeginContext(String, Int32, Int32, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| BeginContext(TextWriter, Int32, Int32, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| BeginContext(TextWriter, String, Int32, Int32, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| ConfigurePage | Sets the view context and view data for the page. (Унаследован от WebViewPage.) | |
| DefineSection | Called by content pages to create named content sections. (Унаследован от WebPageBase.) | |
| EndContext(Int32, Int32, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| EndContext(String, Int32, Int32, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| EndContext(TextWriter, Int32, Int32, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| EndContext(TextWriter, String, Int32, Int32, Boolean) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| Equals | Определяет, равен ли заданный объект текущему объекту. (Унаследован от Object.) | |
| 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.) | |
| Finalize | Позволяет объекту попытаться освободить ресурсы и выполнить другие операции очистки, перед тем как он будет уничтожен во время сборки мусора. (Унаследован от Object.) | |
| GetHashCode | Служит хэш-функцией по умолчанию. (Унаследован от Object.) | |
| GetOutputWriter | Returns the text writer instance that is used to render the page. (Унаследован от WebPageBase.) | |
| GetType | Возвращает объект Type для текущего экземпляра. (Унаследован от Object.) | |
| Href | Builds an absolute URL from an application-relative URL by using the specified parameters. (Унаследован от 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.) | |
| MemberwiseClone | Создает неполную копию текущего объекта Object. (Унаследован от Object.) | |
| NormalizePath | Returns a normalized path from the specified path. (Унаследован от 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.) | |
| ToString | Возвращает строку, представляющую текущий объект. (Унаследован от Object.) | |
| 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 | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| WriteAttributeTo(TextWriter, String, PositionTaggedString, PositionTaggedString, AttributeValue) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от WebPageExecutingBase.) | |
| WriteAttributeTo(String, TextWriter, String, PositionTaggedString, PositionTaggedString, AttributeValue) | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. (Унаследован от 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.) |