Class WorkflowDataContext
A class used to exchange data with the world outside of the workflow (e.g., WPF), as inputs to the workflow, bindable data while a workflow is executing, and outputs from the workflow.
public sealed class WorkflowDataContext : CustomTypeDescriptor, ICustomTypeDescriptor, INotifyPropertyChanged
- Inheritance
-
WorkflowDataContext
- Implements
- Inherited Members
Remarks
This class provides access to the workflow-level variables (i.e., variables defined by the top-level activity). This raises change notifications via INotifyPropertyChanged and implements ICustomTypeDescriptor, allowing full binding functionality from WPF.
Methods
GetProperties()
public override PropertyDescriptorCollection GetProperties()
Returns
GetValue(string)
public object? GetValue(string name)
Parameters
namestring
Returns
GetValue<T>(string)
public T? GetValue<T>(string name)
Parameters
namestring
Returns
- T
Type Parameters
T
SetValue(string, object?)
public void SetValue(string name, object? value)
Parameters
Events
PropertyChanged
public event PropertyChangedEventHandler? PropertyChanged