Class StringRenderingTarget
Renders templates into string
Inheritance
System.Object
StringRenderingTarget
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Templatization
Assembly: Azos.dll
Syntax
public class StringRenderingTarget : IRenderingTarget
Constructors
StringRenderingTarget()
Declaration
public StringRenderingTarget()
StringRenderingTarget(Boolean)
Declaration
public StringRenderingTarget(bool encodeHtml)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | encodeHtml |
Fields
EncodeHtml
Declaration
public readonly bool EncodeHtml
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
Value
Returns what has been written
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Encode(Object)
Declaration
public object Encode(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Returns
Type | Description |
---|---|
System.Object |
Flush()
Declaration
public void Flush()
ToString()
Returns what has been written
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Write(Object)
Declaration
public void Write(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
Write(String)
Declaration
public void Write(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
WriteLine(Object)
Declaration
public void WriteLine(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
WriteLine(String)
Declaration
public void WriteLine(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |