C# Class NLog.Conditions.ConditionMethodExpression

Condition method invocation expression (represented by method(p1,p2,p3) syntax).
Inheritance: NLog.Conditions.ConditionExpression
Afficher le fichier Open project: NLog/NLog Class Usage Examples

Méthodes publiques

Méthode Description
ConditionMethodExpression ( string conditionMethodName, MethodInfo methodInfo, IEnumerable methodParameters ) : System

Initializes a new instance of the ConditionMethodExpression class.

ToString ( ) : string

Returns a string representation of the expression.

Méthodes protégées

Méthode Description
EvaluateNode ( LogEventInfo context ) : object

Evaluates the expression.

Method Details

ConditionMethodExpression() public méthode

Initializes a new instance of the ConditionMethodExpression class.
public ConditionMethodExpression ( string conditionMethodName, MethodInfo methodInfo, IEnumerable methodParameters ) : System
conditionMethodName string Name of the condition method.
methodInfo System.Reflection.MethodInfo of the condition method.
methodParameters IEnumerable The method parameters.
Résultat System

EvaluateNode() protected méthode

Evaluates the expression.
protected EvaluateNode ( LogEventInfo context ) : object
context LogEventInfo Evaluation context.
Résultat object

ToString() public méthode

Returns a string representation of the expression.
public ToString ( ) : string
Résultat string