Table of Contents

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 int

The index of the function to which the source element flows

functionParameterIndex int

The index of the parameter for which the source is used

source int

The 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

int

Properties

FunctionIndex

The index of the function to which the source element flows

public int FunctionIndex { get; }

Property Value

int

FunctionParameterIndex

The index of the parameter for which the source is used

public int FunctionParameterIndex { get; }

Property Value

int

SourceIndex

The index of the parameter that is the source of the dependency

public int SourceIndex { get; }

Property Value

int