C# 클래스 Pathoschild.DesignByContract.Framework.ParameterMetadata

파일 보기 프로젝트 열기: Pathoschild/DesignByContract 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ParameterMetadata ( ParameterInfo parameter, IParameterPrecondition annotation, string methodName = null ) : System

Construct an instance.

메소드 상세

ParameterMetadata() 공개 메소드

Construct an instance.
public ParameterMetadata ( ParameterInfo parameter, IParameterPrecondition annotation, string methodName = null ) : System
parameter System.Reflection.ParameterInfo The annotated method parameter.
annotation IParameterPrecondition The contract annotation applied to the parameter.
methodName string The method name if different from the underlying name. (This is primarily intended for cases where is true).
리턴 System