docs.unity.cn
    Show / Hide Table of Contents

    Interface IPricingEngine

    Interface IPricingEngine

    Namespace: UnityEngine.Industrial.Configuring.Providers
    Syntax
    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.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021