Interface ITemplateSource
Describes an entity that provides source for template
Assembly: Azos.dll
Syntax
public interface ITemplateSource
Methods
GetName(Int32)
Gets printable source name
Declaration
string GetName(int maxLength)
Parameters
Type |
Name |
Description |
System.Int32 |
maxLength |
|
Returns
Type |
Description |
System.String |
|
GetRelativeContent(String)
Returns content relative to this one or null if not supported
Declaration
object GetRelativeContent(string relativeName)
Parameters
Type |
Name |
Description |
System.String |
relativeName |
|
Returns
Type |
Description |
System.Object |
|
GetSourceContent()
Returns template source content
Declaration
object GetSourceContent()
Returns
Type |
Description |
System.Object |
|
InferClassName()
Tries to suggest a class name for this content or null
Declaration
Returns
Type |
Description |
System.String |
|
Extension Methods