API reference
API reference
Select your platform
No SDKs available
No versions available

ManifestGenerator Class

Generates manifests from the codebase that capture the essence of what we need to expose to the backend. The manifest includes all the information necessary to train the backend services as well as dispatching the incoming requests to the right methods with the right parameters.

Constructors

ManifestGenerator ( assemblyWalker , assemblyMiner )
Signature
Meta.Conduit.Editor.ManifestGenerator.ManifestGenerator(IAssemblyWalker assemblyWalker, IAssemblyMiner assemblyMiner)
Parameters
assemblyWalker: IAssemblyWalker
assemblyMiner: IAssemblyMiner

Properties

Logger : IVLogger
[Get]
The logger.
Signature
IVLogger Meta.Conduit.Editor.ManifestGenerator.Logger

Methods

ExtractManifestData ()
Extract entities and actions from assemblies marked with the ConduitAssemblyAttribute attribute.
Signature
List<string> Meta.Conduit.Editor.ManifestGenerator.ExtractManifestData()
Returns
List< string >  Extracted Intents list
GenerateEmptyManifest ( domain , id )
Generate a manifest with empty entities and actions lists.
Signature
string Meta.Conduit.Editor.ManifestGenerator.GenerateEmptyManifest(string domain, string id)
Parameters
domain: string  A friendly name to use for this app.
id: string  The App ID.
Returns
string  A JSON representation of the empty manifest.
GenerateManifest ( domain , id )
Generate a manifest for assemblies marked with the ConduitAssemblyAttribute attribute.
Signature
string Meta.Conduit.Editor.ManifestGenerator.GenerateManifest(string domain, string id)
Parameters
domain: string  A friendly name to use for this app.
id: string  The App ID.
Returns
string  A JSON representation of the manifest.