docs.unity3d.com
    Show / Hide Table of Contents

    Class StaticInfoProvider

    Class StaticInfoProvider.

    Inheritance
    Object
    StaticInfoProvider
    Namespace: Unity.Industrial.Forma.Core.Info
    Syntax
    public class StaticInfoProvider : MonoBehaviour, IInfoEngine

    Properties

    contextCollectionDisplayInfo

    Display information of the context collection.

    Declaration
    public ContextCollectionDisplayInfo contextCollectionDisplayInfo { get; set; }
    Property Value
    Type Description
    ContextCollectionDisplayInfo

    The context collection display information.

    featureDisplayInfos

    Display information of the features.

    Declaration
    public List<FeatureDisplayInfo> featureDisplayInfos { get; set; }
    Property Value
    Type Description
    List<FeatureDisplayInfo>

    The feature display infos.

    featureSetDisplayInfos

    Display information of the feature sets.

    Declaration
    public List<FeatureSetDisplayInfo> featureSetDisplayInfos { get; set; }
    Property Value
    Type Description
    List<FeatureSetDisplayInfo>

    The feature set display infos.

    Methods

    FillData()

    Fills the data.

    Declaration
    public void FillData()

    Initialize(Configurator)

    Initializes the specified configurator.

    Declaration
    public void Initialize(Configurator configurator)
    Parameters
    Type Name Description
    Configurator configurator

    The configurator.

    Implements
    IInfoEngine.Initialize(Configurator)

    OnContextModified(Context, InfoEngineOperation)

    Called when [context modified].

    Declaration
    public SynchronousProviderOperation<InfoEngineReply> OnContextModified(Context context, InfoEngineOperation operation)
    Parameters
    Type Name Description
    Context context

    The context.

    InfoEngineOperation operation

    The operation.

    Returns
    Type Description
    SynchronousProviderOperation<InfoEngineReply>

    SynchronousProviderOperation<InfoEngineReply>.

    Implements
    IInfoEngine.OnContextModified(Context, InfoEngineOperation)

    OnFeatureModified(Feature, InfoEngineOperation)

    Called when [feature modified].

    Declaration
    public SynchronousProviderOperation<InfoEngineReply> OnFeatureModified(Feature feature, InfoEngineOperation operation)
    Parameters
    Type Name Description
    Feature feature

    The feature.

    InfoEngineOperation operation

    The operation.

    Returns
    Type Description
    SynchronousProviderOperation<InfoEngineReply>

    SynchronousProviderOperation<InfoEngineReply>.

    Implements
    IInfoEngine.OnFeatureModified(Feature, InfoEngineOperation)

    OnFeatureSetModified(FeatureSet, InfoEngineOperation)

    Called when [feature set modified].

    Declaration
    public SynchronousProviderOperation<InfoEngineReply> OnFeatureSetModified(FeatureSet featureSet, InfoEngineOperation operation)
    Parameters
    Type Name Description
    FeatureSet featureSet

    The feature set.

    InfoEngineOperation operation

    The operation.

    Returns
    Type Description
    SynchronousProviderOperation<InfoEngineReply>

    SynchronousProviderOperation<InfoEngineReply>.

    Implements
    IInfoEngine.OnFeatureSetModified(FeatureSet, InfoEngineOperation)

    OnProductModified(Product, InfoEngineOperation)

    Called when [product modified].

    Declaration
    public SynchronousProviderOperation<InfoEngineReply> OnProductModified(Product product, InfoEngineOperation operation)
    Parameters
    Type Name Description
    Product product

    The product.

    InfoEngineOperation operation

    The operation.

    Returns
    Type Description
    SynchronousProviderOperation<InfoEngineReply>

    SynchronousProviderOperation<InfoEngineReply>.

    Implements
    IInfoEngine.OnProductModified(Product, InfoEngineOperation)

    QueryContextCollectionDisplayInfo(Context, ContextCollection)

    Queries the context collection display information.

    Declaration
    public ProviderOperation<InfoEngineReply<ContextCollection, ContextCollectionDisplayInfo>> QueryContextCollectionDisplayInfo(Context currentContext, ContextCollection contextCollection)
    Parameters
    Type Name Description
    Context currentContext

    The current context.

    ContextCollection contextCollection

    The context collection.

    Returns
    Type Description
    ProviderOperation<InfoEngineReply<ContextCollection, ContextCollectionDisplayInfo>>

    ProviderOperation<InfoEngineReply<ContextCollection, ContextCollectionDisplayInfo>>.

    Implements
    IInfoEngine.QueryContextCollectionDisplayInfo(Context, ContextCollection)

    QueryFeatureDisplayInfo(Context, Feature)

    Queries the feature display information.

    Declaration
    public ProviderOperation<InfoEngineReply<Feature, FeatureDisplayInfo>> QueryFeatureDisplayInfo(Context currentContext, Feature feature)
    Parameters
    Type Name Description
    Context currentContext

    The current context.

    Feature feature

    The feature.

    Returns
    Type Description
    ProviderOperation<InfoEngineReply<Feature, FeatureDisplayInfo>>

    ProviderOperation<InfoEngineReply<Feature, FeatureDisplayInfo>>.

    Implements
    IInfoEngine.QueryFeatureDisplayInfo(Context, Feature)

    QueryFeatureSetDisplayInfo(Context, FeatureSet)

    Queries the feature set display information.

    Declaration
    public ProviderOperation<InfoEngineReply<FeatureSet, FeatureSetDisplayInfo>> QueryFeatureSetDisplayInfo(Context currentContext, FeatureSet featureSet)
    Parameters
    Type Name Description
    Context currentContext

    The current context.

    FeatureSet featureSet

    The feature set.

    Returns
    Type Description
    ProviderOperation<InfoEngineReply<FeatureSet, FeatureSetDisplayInfo>>

    ProviderOperation<InfoEngineReply<FeatureSet, FeatureSetDisplayInfo>>.

    Implements
    IInfoEngine.QueryFeatureSetDisplayInfo(Context, FeatureSet)

    QueryProductInfo(Product)

    Queries the product information.

    Declaration
    public ProviderOperation<InfoEngineReply<Product, ProductDisplayInfo>> QueryProductInfo(Product product)
    Parameters
    Type Name Description
    Product product

    The product.

    Returns
    Type Description
    ProviderOperation<InfoEngineReply<Product, ProductDisplayInfo>>

    ProviderOperation<InfoEngineReply<Product, ProductDisplayInfo>>.

    Implements
    IInfoEngine.QueryProductInfo(Product)

    RecordUndo(String)

    Records the undo.

    Declaration
    public void RecordUndo(string change)
    Parameters
    Type Name Description
    String change

    The change.

    Implements
    IInfoEngine.RecordUndo(String)

    SaveData()

    Saves the data.

    Declaration
    public void SaveData()
    Implements
    IInfoEngine.SaveData()

    Extension Methods

    InfoEngineExtensions.GetProductInfo(IInfoEngine, Product, Action<ProductDisplayInfo>)
    InfoEngineExtensions.GetContextCollectionInfo(IInfoEngine, Context, ContextCollection, Action<ContextCollectionDisplayInfo>)
    InfoEngineExtensions.GetContextCollectionOptionValues(IInfoEngine, String, ContextCollection, Action<ContextCollectionDisplayInfo.ContextCollectionKeyDisplayInfo>)
    InfoEngineExtensions.GetFeatureSetInfo(IInfoEngine, Context, FeatureSet, Action<FeatureSetDisplayInfo>)
    InfoEngineExtensions.GetFeatureInfo(IInfoEngine, Context, Feature, Action<FeatureDisplayInfo>)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023