Interface IRuleEngine
Interface IRuleEngine
Namespace: UnityEngine.Industrial.Configuring.Providers
Syntax
public interface IRuleEngine
Methods
QueryConfigurationChangeValidity(Product, Context, IReadOnlyConfiguration, ConfigurationChange)
Verifies a configuration change (asynchronously).
Declaration
ProviderOperation<RuleEngineReply> QueryConfigurationChangeValidity(Product product, Context context, IReadOnlyConfiguration configuration, ConfigurationChange configurationChange)
Parameters
Type | Name | Description |
---|---|---|
Product | product | The product. |
Context | context | The context. |
IReadOnlyConfiguration | configuration | The configuration. |
ConfigurationChange | configurationChange | The configuration change. |
Returns
Type | Description |
---|---|
ProviderOperation<RuleEngineReply> | ProviderOperation<RuleEngineReply>. |
Remarks
This is an asynchronous call that returns a handle of type ProviderOperation<T>. For some implementations, it may be that the call is effectively synchronous and the handle already contains the result. Check if isDone is
true
after calling
this method if this is the case. Note that in the synchronous case the
event completed is not raised.