Table of Contents

Class WorkflowDataContext

Namespace
Acuit.Pinpoint.Workflows
Assembly
Acuit.Pinpoint.Workflows.dll

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()

Returns a collection of property descriptors for the object represented by this type descriptor.

public override PropertyDescriptorCollection GetProperties()

Returns

PropertyDescriptorCollection

A PropertyDescriptorCollection containing the property descriptions for the object represented by this type descriptor. The default is Empty.

GetValue(string)

public object GetValue(string name)

Parameters

name string

Returns

object

GetValue<T>(string)

public T GetValue<T>(string name)

Parameters

name string

Returns

T

Type Parameters

T

SetValue(string, object)

public void SetValue(string name, object value)

Parameters

name string
value object

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler