Class DataPinScope
Flow scope instance
Inheritance
System.Object
DataPinScope
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Flow
Assembly: Simplic.Flow.dll
Syntax
public class DataPinScope
Properties
| Improve this Doc View SourceParent
Gets or sets the parent scope
Declaration
public DataPinScope Parent { get; set; }
Property Value
Type | Description |
---|---|
DataPinScope |
PinValues
Gets or sets all pin values
Declaration
public IDictionary<string, object> PinValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
Methods
| Improve this Doc View SourceCreateChild()
Create new child scope and set parent
Declaration
public DataPinScope CreateChild()
Returns
Type | Description |
---|---|
DataPinScope | Scope instance witht he current scope as parent |
GetListValue<T>(DataPin)
Get pin value as list
Declaration
public IList<T> GetListValue<T>(DataPin inPin)
Parameters
Type | Name | Description |
---|---|---|
DataPin | inPin | Pin instance |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<T> | Result as list |
Type Parameters
Name | Description |
---|---|
T | Generic type |
GetValue<T>(DataPin)
Get value from pin instance
Declaration
public T GetValue<T>(DataPin inPin)
Parameters
Type | Name | Description |
---|---|---|
DataPin | inPin | Pin instance |
Returns
Type | Description |
---|---|
T | Value of type |
Type Parameters
Name | Description |
---|---|
T | Value type |
SetValue(DataPin, Object)
Set pin value
Declaration
public void SetValue(DataPin outPin, object value)
Parameters
Type | Name | Description |
---|---|---|
DataPin | outPin | Pin instance |
System.Object | value | Pin value |