Class DocumentGeneration
Inheritance
DocumentGeneration
Syntax
public sealed class DocumentGeneration : Generation, IGeneration
Constructors
DocumentGeneration(RootGeneration, String, Func<DocumentGeneration, CodeDocument>)
Declaration
public DocumentGeneration(RootGeneration root, string name, Func<DocumentGeneration, CodeDocument> generator)
Parameters
Properties
name
Declaration
public string name { get; set; }
Property Value
root
Declaration
public override RootGeneration root { get; }
Property Value
Overrides
usings
Declaration
public HashSet<CodeUsing> usings { get; }
Property Value
Methods
Bind(Object, IEnumerable<CodeElement>)
Declaration
public void Bind(object source, IEnumerable<CodeElement> codeElements)
Parameters
CodeFor(Object)
Declaration
public IEnumerable<CodeElement> CodeFor(object source)
Parameters
Type |
Name |
Description |
Object |
source |
|
Returns
Generate()
Declaration
public CodeDocument Generate()
Returns
Extension Methods