Class PropertySource<TElement, TValue>
- Namespace
- Bonsai.Expressions
- Assembly
- Bonsai.Core.dll
Represents a data source compatible with the specified workflow element property.
Property sources expose a value which can be set from the property grid and also generate an observable sequence that emits a notification whenever the property value changes, starting with the initial property value.
Tip
Property sources are commonly used to create new configuration parameters with custom names for nested workflows. To expose and rename a property source, use Property Mapping to externalize the property value and set its DisplayName
.
public class PropertySource<TElement, TValue> : PropertySource, IExpressionBuilder, INamedElement
Type Parameters
TElement
The type of the workflow element from which the property data source was constructed.
TValue
The type of the property values.
- Inheritance
-
PropertySource<TElement, TValue>
- Implements
- Inherited Members
- Extension Methods
Properties
Value
Gets or sets the value of the property.
public TValue Value { get; set; }
Property Value
- TValue