Skip to main content

Component Plug-In SDK 2026 R1

Constructor ScriptEditorView

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK.Views
Assembly: Phoenix.ComponentPlugInSDK.dll

ScriptEditorView(ScriptModel, string, VariableTreeProperties, ILogger, Func<ScriptModel, Task>, Uri)

Constructor, creates a new instance of the view

public ScriptEditorView(ScriptModel model, string componentName, VariableTreeProperties treeProperties, ILogger logger, Func<ScriptModel, Task> saveAsync, Uri icon = null)

Parameters

model ScriptModel

The model representing the variableBasedBuilder.

componentName string

The name of the component to use in the View.

treeProperties VariableTreeProperties

Properties that define the tree control behavior.

logger ILogger

The Logger to use

saveAsync Func<ScriptModel, Task>

An Async Function to invoke to perform a save operaion.

icon Uri

The optional URI of the icon to use in the view. If null or not specified, the default Windows icon will be used.

Connect with Ansys