Class TemplateBase
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Cms.Shell.Templating.Razor.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7Syntax
public abstract class TemplateBase : ITemplate
Constructors
TemplateBase()
Declaration
protected TemplateBase()
Properties
EPi
Declaration
public EPiHelper EPi { get; set; }
Property Value
Type | Description |
---|---|
EPiHelper |
Result
Declaration
public string Result { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clear()
Declaration
public void Clear()
Execute()
Declaration
public virtual void Execute()
Write(Object)
Declaration
public void Write(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
WriteAttribute(String, PositionTagged<String>, PositionTagged<String>, AttributeValue[])
Declaration
public void WriteAttribute(string name, PositionTagged<string> prefix, PositionTagged<string> suffix, params AttributeValue[] values)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Web.WebPages.Instrumentation.PositionTagged<System.String> | prefix | |
System.Web.WebPages.Instrumentation.PositionTagged<System.String> | suffix | |
System.Web.WebPages.AttributeValue[] | values |
WriteLiteral(String)
Declaration
public void WriteLiteral(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
WriteLiteralTo(TextWriter, Object)
Declaration
public void WriteLiteralTo(TextWriter writer, object value)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | writer | |
System.Object | value |
WriteTo(TextWriter, Object)
Declaration
public void WriteTo(TextWriter writer, object value)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | writer | |
System.Object | value |