Class ParameterDataflowAttribute
- Namespace
- NMF.Expressions
- Assembly
- NMF.Expressions.dll
Specifies a dataflow between parameters
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class ParameterDataflowAttribute : Attribute
- Inheritance
-
ParameterDataflowAttribute
- Inherited Members
- Extension Methods
Constructors
ParameterDataflowAttribute(int, int, int)
Specifies that elements of a source parameter are used as argument for a function given in another parameter
public ParameterDataflowAttribute(int functionIndex, int functionParameterIndex, int source)
Parameters
functionIndex
intThe index of the function to which the source element flows
functionParameterIndex
intThe index of the parameter for which the source is used
source
intThe index of the parameter that is the source of the dependency
Fields
TargetObjectIndex
A constant to specify the index for the target of a method
public const int TargetObjectIndex = -1
Field Value
Properties
FunctionIndex
The index of the function to which the source element flows
public int FunctionIndex { get; }
Property Value
FunctionParameterIndex
The index of the parameter for which the source is used
public int FunctionParameterIndex { get; }
Property Value
SourceIndex
The index of the parameter that is the source of the dependency
public int SourceIndex { get; }