|
|
Extended
|
The ExtendedTemplateBase type exposes the following members.
| Name | Description | |
|---|---|---|
| ExtendedTemplateBase | Creates a new ExtendedTemplateBase. |
| Name | Description | |
|---|---|---|
| Context | Gets the current HttpContext. | |
| CurrentWriter |
Gets the current writer.
(Inherited from TemplateBase) | |
| Html | Gets HTML based helper functions. | |
| InternalTemplateService |
Gets or sets the template service.
(Inherited from TemplateBase) | |
| Layout |
Gets or sets the layout template name.
(Inherited from TemplateBase) | |
| Razor |
Gets or sets the current IRazorEngineService instance.
(Inherited from TemplateBase) | |
| RazorEngine | Obsolete. Gets or sets the current IRazorEngineService instance. (Inherited from TemplateBase) | |
| TemplateService | Obsolete. Gets or sets the template service. (Inherited from TemplateBase) | |
| Url | Gets URL based helper functions. | |
| ViewBag |
Gets the viewbag that allows sharing state between layout and child templates.
(Inherited from TemplateBase) |
| Name | Description | |
|---|---|---|
| DefineSection |
Defines a section that can written out to a layout.
(Inherited from TemplateBase) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Execute |
Executes the compiled template.
(Inherited from TemplateBase) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Include |
Includes the template with the specified name.
(Inherited from TemplateBase) | |
| IsSectionDefined |
Determines if the section with the specified name has been defined.
(Inherited from TemplateBase) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Raw |
Returns the specified string as a raw string. This will ensure it is not encoded.
(Inherited from TemplateBase) | |
| RenderBody |
Renders the body of the template.
(Inherited from TemplateBase) | |
| RenderSection |
Renders the section with the specified name.
(Inherited from TemplateBase) | |
| ResolveLayout |
Resolves the layout template.
(Inherited from TemplateBase) | |
| ResolveUrl |
Resolves the specified path
(Inherited from TemplateBase) | |
| SetData |
Set the data for this template.
(Inherited from TemplateBase) | |
| SetModel |
Set the current model.
(Inherited from TemplateBase) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Write(Object) |
Writes the specified object to the result.
(Inherited from TemplateBase) | |
| Write(TemplateWriter) |
Writes the specified template helper result.
(Inherited from TemplateBase) | |
| WriteAttribute |
Writes an attribute to the result.
(Inherited from TemplateBase) | |
| WriteAttributeTo |
Writes an attribute to the specified TextWriter.
(Inherited from TemplateBase) | |
| WriteLiteral |
Writes the specified string to the result.
(Inherited from TemplateBase) | |
| WriteLiteralTo |
Writes a string literal to the specified TextWriter.
(Inherited from TemplateBase) | |
| WriteTo(TextWriter, TemplateWriter) |
Writes the specfied template helper result to the specified writer.
(Inherited from TemplateBase) | |
| WriteTo(TextWriter, Object) |
Writes the specified object to the specified TextWriter.
(Inherited from TemplateBase) |
| Name | Description | |
|---|---|---|
| _context |
The current context, filled when we are currently writing a template instance.
(Inherited from TemplateBase) |
| Name | Description | |
|---|---|---|
| GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
| GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |