Class ScaffoldGenerator

Namespace
Kuestenlogik.Bowire.Scaffold
Assembly
Kuestenlogik.Bowire.Scaffold.dll

Turns a ScaffoldSpec into files (#177). A pure function of the spec and the templates embedded in this assembly: the same spec gives the same bytes on every machine, whichever model wrote it.

public static class ScaffoldGenerator
Inheritance
ScaffoldGenerator
Inherited Members

Methods

Generate(ScaffoldSpec)

Generate every file for a spec; throws on a spec that does not normalize.

public static IReadOnlyList<ScaffoldFile> Generate(ScaffoldSpec spec)

Parameters

spec ScaffoldSpec

Returns

IReadOnlyList<ScaffoldFile>