C# Class Pathoschild.DesignByContract.Framework.ParameterMetadata

Exibir arquivo Open project: Pathoschild/DesignByContract Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ParameterMetadata ( ParameterInfo parameter, IParameterPrecondition annotation, string methodName = null ) : System

Construct an instance.

Method Details

ParameterMetadata() public method

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).
return System