Muokkaa

Jaa


IExpressionEditorService.CreateExpressionEditor Method

Definition

Creates a new expression editor.

Overloads

CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String)

Creates a new expression editor.

CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Type)

Creates a new expression editor using the specified assemblies, imported namespaces, variables, expression text, and expression type.

CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Size)

Creates a new expression editor using the specified assemblies, imported namespaces, variables, expression text, and the initial size.

CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Type, Size)

Creates a new expression editor using the specified assemblies, imported namespaces, variables, expression text, expression type, and the initial size.

CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String)

Creates a new expression editor.

public:
 System::Activities::Presentation::View::IExpressionEditorInstance ^ CreateExpressionEditor(System::Activities::Presentation::Hosting::AssemblyContextControlItem ^ assemblies, System::Activities::Presentation::Hosting::ImportedNamespaceContextItem ^ importedNamespaces, System::Collections::Generic::List<System::Activities::Presentation::Model::ModelItem ^> ^ variables, System::String ^ text);
public System.Activities.Presentation.View.IExpressionEditorInstance CreateExpressionEditor (System.Activities.Presentation.Hosting.AssemblyContextControlItem assemblies, System.Activities.Presentation.Hosting.ImportedNamespaceContextItem importedNamespaces, System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> variables, string text);
abstract member CreateExpressionEditor : System.Activities.Presentation.Hosting.AssemblyContextControlItem * System.Activities.Presentation.Hosting.ImportedNamespaceContextItem * System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> * string -> System.Activities.Presentation.View.IExpressionEditorInstance
Public Function CreateExpressionEditor (assemblies As AssemblyContextControlItem, importedNamespaces As ImportedNamespaceContextItem, variables As List(Of ModelItem), text As String) As IExpressionEditorInstance

Parameters

assemblies
AssemblyContextControlItem

Used to set the context for the editor session.

importedNamespaces
ImportedNamespaceContextItem

The imported namespaces to be used by the expression editor.

variables
List<ModelItem>

Local variables for the expression editor.

text
String

A string used to populate the expression editor.

Returns

Returns a IExpressionEditorInstance.

Applies to

CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Type)

Creates a new expression editor using the specified assemblies, imported namespaces, variables, expression text, and expression type.

public:
 System::Activities::Presentation::View::IExpressionEditorInstance ^ CreateExpressionEditor(System::Activities::Presentation::Hosting::AssemblyContextControlItem ^ assemblies, System::Activities::Presentation::Hosting::ImportedNamespaceContextItem ^ importedNamespaces, System::Collections::Generic::List<System::Activities::Presentation::Model::ModelItem ^> ^ variables, System::String ^ text, Type ^ expressionType);
public System.Activities.Presentation.View.IExpressionEditorInstance CreateExpressionEditor (System.Activities.Presentation.Hosting.AssemblyContextControlItem assemblies, System.Activities.Presentation.Hosting.ImportedNamespaceContextItem importedNamespaces, System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> variables, string text, Type expressionType);
abstract member CreateExpressionEditor : System.Activities.Presentation.Hosting.AssemblyContextControlItem * System.Activities.Presentation.Hosting.ImportedNamespaceContextItem * System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> * string * Type -> System.Activities.Presentation.View.IExpressionEditorInstance
Public Function CreateExpressionEditor (assemblies As AssemblyContextControlItem, importedNamespaces As ImportedNamespaceContextItem, variables As List(Of ModelItem), text As String, expressionType As Type) As IExpressionEditorInstance

Parameters

assemblies
AssemblyContextControlItem

The local and referenced assemblies in the environment.

importedNamespaces
ImportedNamespaceContextItem

The imported namespaces used by the expression editor.

variables
List<ModelItem>

Local variables for the expression editor.

text
String

A string used to populate the expression editor.

expressionType
Type

The type of the expression.

Returns

A new instance of the IExpressionEditorInstance.

Applies to

CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Size)

Creates a new expression editor using the specified assemblies, imported namespaces, variables, expression text, and the initial size.

public:
 System::Activities::Presentation::View::IExpressionEditorInstance ^ CreateExpressionEditor(System::Activities::Presentation::Hosting::AssemblyContextControlItem ^ assemblies, System::Activities::Presentation::Hosting::ImportedNamespaceContextItem ^ importedNamespaces, System::Collections::Generic::List<System::Activities::Presentation::Model::ModelItem ^> ^ variables, System::String ^ text, System::Windows::Size initialSize);
public System.Activities.Presentation.View.IExpressionEditorInstance CreateExpressionEditor (System.Activities.Presentation.Hosting.AssemblyContextControlItem assemblies, System.Activities.Presentation.Hosting.ImportedNamespaceContextItem importedNamespaces, System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> variables, string text, System.Windows.Size initialSize);
abstract member CreateExpressionEditor : System.Activities.Presentation.Hosting.AssemblyContextControlItem * System.Activities.Presentation.Hosting.ImportedNamespaceContextItem * System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> * string * System.Windows.Size -> System.Activities.Presentation.View.IExpressionEditorInstance
Public Function CreateExpressionEditor (assemblies As AssemblyContextControlItem, importedNamespaces As ImportedNamespaceContextItem, variables As List(Of ModelItem), text As String, initialSize As Size) As IExpressionEditorInstance

Parameters

assemblies
AssemblyContextControlItem

The local and referenced assemblies in the environment.

importedNamespaces
ImportedNamespaceContextItem

The imported namespaces used by the expression editor.

variables
List<ModelItem>

Local variables for the expression editor.

text
String

A string used to populate the expression editor.

initialSize
Size

The initial height and width of the expression editor control.

Returns

A new instance of the IExpressionEditorInstance.

Applies to

CreateExpressionEditor(AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String, Type, Size)

Creates a new expression editor using the specified assemblies, imported namespaces, variables, expression text, expression type, and the initial size.

public:
 System::Activities::Presentation::View::IExpressionEditorInstance ^ CreateExpressionEditor(System::Activities::Presentation::Hosting::AssemblyContextControlItem ^ assemblies, System::Activities::Presentation::Hosting::ImportedNamespaceContextItem ^ importedNamespaces, System::Collections::Generic::List<System::Activities::Presentation::Model::ModelItem ^> ^ variables, System::String ^ text, Type ^ expressionType, System::Windows::Size initialSize);
public System.Activities.Presentation.View.IExpressionEditorInstance CreateExpressionEditor (System.Activities.Presentation.Hosting.AssemblyContextControlItem assemblies, System.Activities.Presentation.Hosting.ImportedNamespaceContextItem importedNamespaces, System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> variables, string text, Type expressionType, System.Windows.Size initialSize);
abstract member CreateExpressionEditor : System.Activities.Presentation.Hosting.AssemblyContextControlItem * System.Activities.Presentation.Hosting.ImportedNamespaceContextItem * System.Collections.Generic.List<System.Activities.Presentation.Model.ModelItem> * string * Type * System.Windows.Size -> System.Activities.Presentation.View.IExpressionEditorInstance
Public Function CreateExpressionEditor (assemblies As AssemblyContextControlItem, importedNamespaces As ImportedNamespaceContextItem, variables As List(Of ModelItem), text As String, expressionType As Type, initialSize As Size) As IExpressionEditorInstance

Parameters

assemblies
AssemblyContextControlItem

The local and referenced assemblies in the environment.

importedNamespaces
ImportedNamespaceContextItem

The imported namespaces used by the expression editor.

variables
List<ModelItem>

Local variables for the expression editor.

text
String

A string used to populate the expression editor.

expressionType
Type

The type of the expression.

initialSize
Size

The initial height and width of the expression editor control.

Returns

A new instance of the IExpressionEditorInstance.

Applies to