C# Class Pathoschild.DesignByContract.Framework.ReturnValueMetadata

Show file Open project: Pathoschild/DesignByContract Class Usage Examples

Private Properties

Property Type Description
GetReturnType System.Type

Public Methods

Method Description
ReturnValueMetadata ( MemberInfo method, IReturnValuePrecondition annotation ) : System

Construct an instance.

Private Methods

Method Description
GetReturnType ( MemberInfo method ) : Type

Method Details

ReturnValueMetadata() public method

Construct an instance.
public ReturnValueMetadata ( MemberInfo method, IReturnValuePrecondition annotation ) : System
method System.Reflection.MemberInfo The method on which the return value is defined.
annotation IReturnValuePrecondition The contract annotation applied to the return value.
return System