A template is a piece of plain text, where some character sequences are interpreted as marks or place holders that can be replaced by other string values.
For a list of all members of this type, see Template Members.
System.Object
ExpertCoder.Templates.Template
ExpertCoder.Packaging.Project
ExpertCoder.Templates.TraceableTemplate
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The place holders are specified by the programmer, and there is no predefined convention.
The list of place holders must be specified in the constructor (the argument is a string array), and in order to set the place holders values you must implement the method SetPlaceHoldersValues. Within this method, you can make use of the indexer (Item) to set the place holders values.
The method ToString returns the template text with all the marks replaced by its assigned values - you don't need to override this method.
Namespace: ExpertCoder.Templates
Assembly: ExpertCoder.Templates (in ExpertCoder.Templates.dll)