IExpressionEditorService.CreateExpressionEditor Method (AssemblyContextControlItem, ImportedNamespaceContextItem, List<ModelItem>, String)

.NET Framework (current version)
 

Creates a new expression editor.

Namespace:   System.Activities.Presentation.View
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

IExpressionEditorInstance CreateExpressionEditor(
	AssemblyContextControlItem assemblies,
	ImportedNamespaceContextItem importedNamespaces,
	List<ModelItem> variables,
	string text
)

Parameters

assemblies
Type: System.Activities.Presentation.Hosting.AssemblyContextControlItem

Used to set the context for the editor session.

importedNamespaces
Type: System.Activities.Presentation.Hosting.ImportedNamespaceContextItem

The imported namespaces to be used by the expression editor.

variables
Type: System.Collections.Generic.List<ModelItem>

Local variables for the expression editor.

text
Type: System.String

A string used to populate the expression editor.

.NET Framework
Available since 4.0
Return to top
Show: