Class TextGenerator
Inheritance
TextGenerator
Assembly: SoCore.dll
Syntax
public class TextGenerator : Generator
Fields
_endTags
Declaration
protected List<string> _endTags
Field Value
_padTag
Declaration
Field Value
_startTags
Declaration
protected List<string> _startTags
Field Value
Properties
EndTags
End trigger characters for valid tags
Declaration
public virtual string[] EndTags { get; set; }
Property Value
Reader
Declaration
protected StreamReader Reader { get; }
Property Value
StartTags
Start trigger characters for valid tags
Declaration
public virtual string[] StartTags { get; set; }
Property Value
TagEnd
Declaration
protected virtual char TagEnd { get; }
Property Value
TagStart
Declaration
protected virtual char TagStart { get; }
Property Value
TextEncoding
How the source template is encoded
Declaration
public Encoding TextEncoding { get; set; }
Property Value
Writer
Declaration
protected StreamWriter Writer { get; }
Property Value
Methods
Generate(Stream)
Declaration
public override void Generate(Stream output)
Parameters
Type |
Name |
Description |
Stream |
output |
|
Overrides
Generate(Stream, Stream)
Declaration
public void Generate(Stream template, Stream output)
Parameters
Extension Methods
EnumUtil.MapEnums<From, To>(From)