Skip to main content
Namespace: Phoenix.ComponentPlugInSDK.Models
Assembly: Phoenix.ComponentPlugInSDK.dll
Abstract base class for all model objects from MVVM for Builder UI implementations. Provides common functionality for handling a set of variables and conversions to/from PHXVariable.

Inheritance

object ← AbstractDisposable ← AbstractBuilderModel

Derived

ScriptModel, VariableBasedBuilderModel

Implements

IBuilderUIModel, IDisposable

Inherited Members

AbstractDisposable.disposed, AbstractDisposable.Dispose(), AbstractDisposable.IsDisposed, AbstractDisposable.Dispose(bool), object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

AbstractBuilderModel() Constructor

Properties

ExternalMetadata The ExternalMetadata, if any, associated with the pacz InputVariables The input variables for the plug-in. IsReadOnly If the Pacz that this builder is showing is Read Only and cannot be saved OutputVariables The output variables for the plug-in.

Methods

CloneInputVariablesFrom(IEnumerable<IRuntimeVariable>) Sets Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.InputVariables based on the passed in values CloneOutputVariablesFrom(IEnumerable<IRuntimeVariable>) Sets Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.OutputVariables based on the passed in values Dispose(bool) Standard disposal. FromPaczAsync(IReadOnlyExtractedPacz) Reads this model in from the given Phoenix.PaczAPI.IReadOnlyExtractedPacz GetVariablesAsPHXVariable(VariableValueScope) Retrieves the Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.InputVariables and Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.OutputVariables converted to an enumerable of PHXVariable objects. MoveInputVariablesFrom(IEnumerable<IRuntimeVariable>) Sets Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.InputVariables based on the passed in values MoveOutputVariablesFrom(IEnumerable<IRuntimeVariable>) Sets Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.OutputVariables based on the passed in values PHXVariableToRuntimeVariable(PHXVariable) Converts from a PHXVariable to an IRuntimeVariable PHXVariablesToRuntimeVariables(IEnumerable<PHXVariable>) Converts all passed in PHXVariables into IRuntimeVariables. RuntimeVariableToPHXVariable(IRuntimeVariable, bool, VariableValueScope) Converts from an IRuntimeVariable to a PHXVariable RuntimeVariablesToPHXVariables(IEnumerable<IRuntimeVariable>, IEnumerable<IRuntimeVariable>, VariableValueScope) Converts a set of input and output variables into an enumerable of PHXVariable. SetVariablesAsPHXVariable(IEnumerable<PHXVariable>) Reads a list of PHXVariable objects and replaces the Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.InputVariables and Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.OutputVariables parameters based on this content, converted to IRuntimeVariables. ToPaczAsync(IExtractedPacz) Writes out this model to the passed in Phoenix.PaczAPI.IExtractedPacz