C# Class NSubstitute.Core.DefaultForType

Inheritance: IDefaultForType
Show file Open project: nsubstitute/NSubstitute Class Usage Examples

Public Methods

Method Description
GetDefaultFor ( Type type ) : object

Private Methods

Method Description
DefaultInstanceOfValueType ( Type returnType ) : object
IsVoid ( Type returnType ) : bool

Method Details

GetDefaultFor() public method

public GetDefaultFor ( Type type ) : object
type System.Type
return object