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

InvocationContextFilter Class

Filters possible invocation context for an invocation request.

Overview

Public Member Functions

InvocationContextFilter
( IParameterProvider parameterProvider,
List< InvocationContext > actionContexts,
bool relaxed )
Initializes the filter for a given action.
List< InvocationContext >
ResolveInvocationContexts
( string actionId,
float confidence,
bool partial )
Finds invocation contexts that are applicable to the given action and supplied parameter set.

Details

Member Functions

Meta.Conduit.ConduitDispatcher.InvocationContextFilter.InvocationContextFilter
( IParameterProvider parameterProvider,
List< InvocationContext > actionContexts,
bool relaxed )
Initializes the filter for a given action.
Parameters
parameterProvider
The parameter provider.
actionContexts
All the invocation contexts for the action we want to invoke. This typically comes from the manifest.
relaxed
When true, will allow matching by type alone when name doesn't match.
List<InvocationContext> Meta.Conduit.ConduitDispatcher.InvocationContextFilter.ResolveInvocationContexts
( string actionId,
float confidence,
bool partial )
Finds invocation contexts that are applicable to the given action and supplied parameter set.
Parameters
actionId
The action ID.
confidence
The confidence level between 0 and 1.
partial
Whether this is a partial invocation.
Returns
Did you find this page helpful?
Thumbs up icon
Thumbs down icon