Optional
options: { Optional
autoOptional
collectionOptional
constraints?: { enumKey?: EnumKeyConstraint<CSharpOptions> | undefined; enumValue?: EnumValueConstraint<CSharpOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
handleOptional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
modelOptional
presets?: (undefined | ({ class?: { accessor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel> & PropertyArgs) => string | Promise<...>) | undefined; ... 5 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; record?: { ...; } | undefined; enum?: { ...; } | undefined; }) | ({ preset?: { class?: { accessor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel> & PropertyArgs) => string | Promise<...>) | undefined; ... 5 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; record?: { ...; } | undefined; enum?: { ...; } | u...))[]Optional
processorOptional
typeReadonly
languageReadonly
optionsStatic
defaultStatic
defaultOptional
autoOptional
collectionOptional
constraints?: { enumKey?: EnumKeyConstraint<CSharpOptions> | undefined; enumValue?: EnumValueConstraint<CSharpOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
handleOptional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
modelOptional
presets?: (undefined | ({ class?: { accessor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel> & PropertyArgs) => string | Promise<...>) | undefined; ... 5 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; record?: { ...; } | undefined; enum?: { ...; } | undefined; }) | ({ preset?: { class?: { accessor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel> & PropertyArgs) => string | Promise<...>) | undefined; ... 5 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; record?: { ...; } | undefined; enum?: { ...; } | u...))[]Optional
processorOptional
typeGenerates a scattered model where dependencies and rendered results are separated.
Generates the full output of a model, instead of a scattered model.
OutputModels result is no longer the model itself, but including package, package dependencies and model dependencies.
Generates all the models to an output directory each model with their own separate files.
where you want the models generated to
Optional
namespace?: stringverify that the files is completely written before returning, this can happen if the file system is swamped with write requests.
Wrapper to get an instance of the dependency manager
Protected
getThis function returns an instance of the dependency manager which is either a factory or an instance.
Protected
getProtected
processProcess any of the input formats to the appropriate InputMetaModel type and split out the meta models based on the requirements of the generators
Optional
options: Partial<CSharpOptions>Render a complete model result where the model code, library and model dependencies are all bundled appropriately.
For CSharp we need to specify which namespace the model is placed under.
Optional
options: Partial<CSharpOptions>Optional
options: Partial<CSharpOptions>Static
getCSharpReturns the CSharp options by merging custom options with default ones.
Optional
options: { Optional
autoOptional
collectionOptional
constraints?: { enumKey?: EnumKeyConstraint<CSharpOptions> | undefined; enumValue?: EnumValueConstraint<CSharpOptions> | undefined; modelName?: ModelNameConstraint<...> | undefined; propertyKey?: PropertyKeyConstraint<...> | undefined; constant?: ConstantConstraint<...> | undefined; }Optional
defaultOptional
dependencyThis dependency manager type serves two functions.
This depends on context and where it's used.
Optional
handleOptional
indentation?: { type?: IndentationTypes | undefined; size?: number | undefined; }Optional
modelOptional
presets?: (undefined | ({ class?: { accessor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel> & PropertyArgs) => string | Promise<...>) | undefined; ... 5 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; record?: { ...; } | undefined; enum?: { ...; } | undefined; }) | ({ preset?: { class?: { accessor?: ((args: PresetArgs<ClassRenderer, any, ConstrainedObjectModel> & PropertyArgs) => string | Promise<...>) | undefined; ... 5 more ...; additionalContent?: ((args: PresetArgs<...>) => string | Promise<...>) | undefined; } | undefined; record?: { ...; } | undefined; enum?: { ...; } | u...))[]Optional
processorOptional
typeGenerated using TypeDoc
Abstract file generator which each file generator much implement.