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

Manifest Class

The manifest is the core artifact generated by Conduit that contains the relevant information about the app. This information can be used to train the backend or dispatch incoming requests to methods.

Constructors

Manifest ()
Called via JSON reflection, need preserver or it will be stripped on compile
Signature
Meta.Conduit.Manifest.Manifest()

Fields

ErrorHandlers : List< ManifestErrorHandler >
List of error handlers (methods).
Signature
List<ManifestErrorHandler> Meta.Conduit.Manifest.ErrorHandlers

Static Fields

WitResponseMatcherIntents : List< string >
A list of registered callbacks
Signature
List<string> Meta.Conduit.Manifest.WitResponseMatcherIntents

Properties

Actions : List< ManifestAction >
[Get][Set]
List of relevant actions (methods).
Signature
List<ManifestAction> Meta.Conduit.Manifest.Actions
CustomEntityTypes : Dictionary< string, Type >
[Get]
If entities are resolved, this will hold their data types. This will be empty if entities were not explicitly resolved.
Signature
Dictionary<string, Type> Meta.Conduit.Manifest.CustomEntityTypes
Domain : string
[Get][Set]
A human friendly name for the application/domain.
Signature
string Meta.Conduit.Manifest.Domain
Entities : List< ManifestEntity >
[Get][Set]
List of relevant entities.
Signature
List<ManifestEntity> Meta.Conduit.Manifest.Entities
ID : string
[Get][Set]
The App ID.
Signature
string Meta.Conduit.Manifest.ID
Version : string
[Get][Set]
The version of the Manifest format.
Signature
string Meta.Conduit.Manifest.Version

Methods

ContainsAction ( actionId )
Returns true if the manifest contains the specified action.
Signature
bool Meta.Conduit.Manifest.ContainsAction(string actionId)
Parameters
actionId: string  The action ID to check for.
Returns
bool  True if the action exists, false otherwise.
GetErrorHandlerContexts ()
Signature
List<InvocationContext> Meta.Conduit.Manifest.GetErrorHandlerContexts()
Returns
List< InvocationContext >
GetInvocationContexts ( actionId )
Returns the invocation context for the specified action ID.
Signature
List<InvocationContext> Meta.Conduit.Manifest.GetInvocationContexts(string actionId)
Parameters
actionId: string  The action ID.
Returns
List< InvocationContext >  The invocationContext.
GetMethodInfo ( action )
Signature
Tuple<MethodInfo, Type> Meta.Conduit.Manifest.GetMethodInfo(IManifestMethod action)
Parameters
action: IManifestMethod
Returns
Tuple< MethodInfo, Type >
ResolveActions ()
Processes all actions in the manifest and associate them with the methods they should invoke.
Signature
bool Meta.Conduit.Manifest.ResolveActions()
Returns
bool
ResolveEntities ()
Resolves all entity types using reflection
Signature
bool Meta.Conduit.Manifest.ResolveEntities()
Returns
bool
ToString ()
Signature
override string Meta.Conduit.Manifest.ToString()
Returns
override string