Class InfoEngineExtensions
Class InfoEngineExtensions.
Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
Syntax
public static class InfoEngineExtensions
Methods
GetContextCollectionInfo(IInfoEngine, Context, ContextCollection, Action<ContextCollectionDisplayInfo>)
Async operation wrapper to retreive context collection information from an info engine
Declaration
public static void GetContextCollectionInfo(this IInfoEngine infoEngine, Context currentContext, ContextCollection contexts, Action<ContextCollectionDisplayInfo> completed)
Parameters
Type | Name | Description |
---|---|---|
IInfoEngine | infoEngine | The information engine. |
Context | currentContext | The current context. |
ContextCollection | contexts | The contexts. |
Action<ContextCollectionDisplayInfo> | completed | The completed. |
GetContextCollectionOptionValues(IInfoEngine, String, ContextCollection, Action<ContextCollectionDisplayInfo.ContextCollectionKeyDisplayInfo>)
Gets the context collection option values.
Declaration
public static void GetContextCollectionOptionValues(this IInfoEngine infoEngine, string key, ContextCollection collection, Action<ContextCollectionDisplayInfo.ContextCollectionKeyDisplayInfo> completed)
Parameters
Type | Name | Description |
---|---|---|
IInfoEngine | infoEngine | The information engine. |
String | key | The key. |
ContextCollection | collection | The collection. |
Action<ContextCollectionDisplayInfo.ContextCollectionKeyDisplayInfo> | completed | The completed. |
GetFeatureInfo(IInfoEngine, Context, Feature, Action<FeatureDisplayInfo>)
Async operation wrapper to retrieve feature information from an info engine
Declaration
public static void GetFeatureInfo(this IInfoEngine infoEngine, Context currentContext, Feature feature, Action<FeatureDisplayInfo> completed)
Parameters
Type | Name | Description |
---|---|---|
IInfoEngine | infoEngine | The information engine. |
Context | currentContext | The current context. |
Feature | feature | The feature. |
Action<FeatureDisplayInfo> | completed | Action that has been triggered when async or sync op. completes |
GetFeatureSetInfo(IInfoEngine, Context, FeatureSet, Action<FeatureSetDisplayInfo>)
Async operation wrapper to retreive feature set information from an info engine
Declaration
public static void GetFeatureSetInfo(this IInfoEngine infoEngine, Context currentContext, FeatureSet featureSet, Action<FeatureSetDisplayInfo> completed)
Parameters
Type | Name | Description |
---|---|---|
IInfoEngine | infoEngine | The information engine. |
Context | currentContext | The current context. |
FeatureSet | featureSet | The feature set. |
Action<FeatureSetDisplayInfo> | completed | Action that has been triggered when async or sync op. completes |
GetProductInfo(IInfoEngine, Product, Action<ProductDisplayInfo>)
Async operation wrapper to retreive product information from an info engine
Declaration
public static void GetProductInfo(this IInfoEngine infoEngine, Product product, Action<ProductDisplayInfo> completed)
Parameters
Type | Name | Description |
---|---|---|
IInfoEngine | infoEngine | The information engine. |
Product | product | The product. |
Action<ProductDisplayInfo> | completed | Action that has been triggered when async or sync op. completes |