Class FormaBaseUIPublisher
Configurator event aggregator
Namespace: Unity.Industrial.Forma.FormaUIBase
Syntax
public static class FormaBaseUIPublisher
Fields
CurrentRuleEngine
The current rule engine reply. Contains the active rule information.
Declaration
public static RuleEngineReply CurrentRuleEngine
Field Value
Type | Description |
---|---|
RuleEngineReply |
Methods
InvokeUIVisibilityChange(Object, Boolean)
Raise an event to change the visibility status of the UI
Declaration
public static void InvokeUIVisibilityChange(object uiObject, bool show)
Parameters
Type | Name | Description |
---|---|---|
Object | uiObject | |
Boolean | show |
RaisePricingChange(Configurator, PricingEngineReply)
Raise an event when pricing information is changed
Declaration
public static void RaisePricingChange(Configurator configurator, PricingEngineReply reply)
Parameters
Type | Name | Description |
---|---|---|
Configurator | configurator | The configurator. |
PricingEngineReply | reply | The pricing engine reply. |
Events
OnChangeUIVisibility
Called when the UI should be hidden or shown
Declaration
public static event EventHandler<bool> OnChangeUIVisibility
Event Type
Type | Description |
---|---|
EventHandler<Boolean> |
OnContextChanged
Product context changed
Declaration
public static event EventHandler<ConfiguratorContextChangedArgs> OnContextChanged
Event Type
Type | Description |
---|---|
EventHandler<ConfiguratorContextChangedArgs> |
OnPricingChange
Pricing engine reply changed
Declaration
public static event EventHandler<PricingEngineReply> OnPricingChange
Event Type
Type | Description |
---|---|
EventHandler<PricingEngineReply> |
OnRulesChanged
Rule engine reply changed
Declaration
public static event EventHandler<RuleEngineReply> OnRulesChanged
Event Type
Type | Description |
---|---|
EventHandler<RuleEngineReply> |
OnSwitchCamerasFinished
Cameras finished switching
Declaration
public static event EventHandler<SwitchStagingElementArgs> OnSwitchCamerasFinished
Event Type
Type | Description |
---|---|
EventHandler<SwitchStagingElementArgs> |
OnSwitchEnvironmentBegin
Environment started loading
Declaration
public static event EventHandler<SwitchStagingElementArgs> OnSwitchEnvironmentBegin
Event Type
Type | Description |
---|---|
EventHandler<SwitchStagingElementArgs> |
OnSwitchEnvironmentFinished
Environment finished loading
Declaration
public static event EventHandler<SwitchStagingElementArgs> OnSwitchEnvironmentFinished
Event Type
Type | Description |
---|---|
EventHandler<SwitchStagingElementArgs> |
ProductConfigurationChanged
Raised when a configuration change has been applied to the variant table and all assignments have been switched.
Declaration
public static event EventHandler<ConfigurationAppliedArgs> ProductConfigurationChanged
Event Type
Type | Description |
---|---|
EventHandler<ConfigurationAppliedArgs> |
ProductSelectionChanged
Active product has changed
Declaration
public static event EventHandler<ConfigurationManagerProductChangedArgs> ProductSelectionChanged
Event Type
Type | Description |
---|---|
EventHandler<ConfigurationManagerProductChangedArgs> |