Extended
|
The ExtendedTemplateBaseT type exposes the following members.
Name | Description | |
---|---|---|
ExtendedTemplateBaseT | Creates a new ExtendedTemplateBase. |
Name | Description | |
---|---|---|
Context | Gets the current HttpContext. | |
CurrentWriter |
Gets the current writer.
(Inherited from TemplateBase) | |
HasDynamicModel |
Determines whether this template has a dynamic model.
(Inherited from TemplateBaseT) | |
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) | |
Model |
Gets or sets the model.
(Inherited from TemplateBaseT) | |
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(String) |
Includes the template with the specified name, uses the current model and model-type.
(Inherited from TemplateBaseT) | |
Include(String, Object) |
Includes the template with the specified name.
(Inherited from TemplateBaseT) | |
Include(String, Object, Type) |
Includes the template with the specified name.
(Inherited from TemplateBaseT) | |
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 TemplateBaseT) | |
ResolveUrl |
Resolves the specified path
(Inherited from TemplateBase) | |
SetData |
Set the data for this template.
(Inherited from TemplateBase) | |
SetModel |
Set the model.
(Inherited from TemplateBaseT) | |
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) |