C# 클래스 NLog.Conditions.ConditionMethodExpression

Condition method invocation expression (represented by method(p1,p2,p3) syntax).
상속: NLog.Conditions.ConditionExpression
파일 보기 프로젝트 열기: NLog/NLog 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
EvaluateNode ( LogEventInfo context ) : object

Evaluates the expression.

메소드 상세

ConditionMethodExpression() 공개 메소드

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.
리턴 System

EvaluateNode() 보호된 메소드

Evaluates the expression.
protected EvaluateNode ( LogEventInfo context ) : object
context LogEventInfo Evaluation context.
리턴 object

ToString() 공개 메소드

Returns a string representation of the expression.
public ToString ( ) : string
리턴 string