Table of Contents

Class ParameterDependencyAttribute

Namespace
NMF.Expressions
Assembly
NMF.Expressions.Models.dll

Declares that the method will access a given property of the given named parameter

[AttributeUsage(AttributeTargets.Method)]
public class ParameterDependencyAttribute : Attribute
Inheritance
ParameterDependencyAttribute
Inherited Members
Extension Methods

Constructors

ParameterDependencyAttribute(string, string)

Declares that the method will access a given property of the given named parameter

public ParameterDependencyAttribute(string parameter, string member)

Parameters

parameter string

The name of the parameter with the dependency

member string

The member that is accessed

ParameterDependencyAttribute(string, string, bool)

Declares that the method will access a given property of the given named parameter

public ParameterDependencyAttribute(string parameter, string member, bool isNested)

Parameters

parameter string

The name of the parameter with the dependency

member string

The member that is accessed

isNested bool

True, if all nested properties should also be watched for, otherwise False

Properties

IsNestedMember

True, if all nested properties should also be watched for, otherwise False

public bool IsNestedMember { get; }

Property Value

bool

Member

The member that is accessed

public string Member { get; set; }

Property Value

string

Parameter

The name of the parameter with the dependency

public string Parameter { get; }

Property Value

string