Interface IPricingEngine
Interface IPricingEngine
Namespace: Unity.Industrial.Forma.Core.Pricing
Syntax
[MovedFrom(true, "UnityEngine.Industrial.Configuring.Providers", "Unity.Industrial.Configurator", null)]
public interface IPricingEngine
Methods
QueryPricingInformation(Product, Context, IReadOnlyConfiguration)
Query pricing information for the current configuration, product and context.
Declaration
ProviderOperation<PricingEngineReply> QueryPricingInformation(Product product, Context context, IReadOnlyConfiguration configuration)
Parameters
| Type | Name | Description | 
|---|---|---|
| Product | product | The product.  | 
| Context | context | The context.  | 
| IReadOnlyConfiguration | configuration | The configuration.  | 
Returns
| Type | Description | 
|---|---|
| ProviderOperation<PricingEngineReply> | ProviderOperation<PricingEngineReply>.  | 
Remarks
This is an asynchronous call that returns a handle of type ProviderOperation{PricingEngineReply}. For some implementations, it may be that the call is effectively synchronous and the handle already contains the result. Check if ProviderOperation{T}.isDone is
true after calling
this method if this is the case. Note that in the synchronous case the
event ProviderOperation{T}.Completed is not raised.