C# Class NSubstitute.Core.Arguments.SuppliedArgumentSpecifications

Inheritance: ISuppliedArgumentSpecifications
Mostra file Open project: nsubstitute/NSubstitute

Public Methods

Method Description
AnyFor ( object argument, Type argumentType ) : bool
Dequeue ( ) : IArgumentSpecification
DequeueRemaining ( ) : IEnumerable
IsNextFor ( object argument, Type argumentType ) : bool
SuppliedArgumentSpecifications ( IDefaultChecker defaultChecker, IEnumerable argumentSpecifications ) : System

Private Methods

Method Description
AreTypesCompatible ( Type argumentType, Type typeArgSpecIsFor ) : bool
DoesArgSpecLookLikeItCouldBeForThisArgumentAndType ( IArgumentSpecification argSpec, object argument, Type argumentType ) : bool
IsProvidedArgumentTheOneWeWouldGetUsingAnArgSpecForThisType ( object argument, Type typeArgSpecIsFor ) : bool

Method Details

AnyFor() public method

public AnyFor ( object argument, Type argumentType ) : bool
argument object
argumentType System.Type
return bool

Dequeue() public method

public Dequeue ( ) : IArgumentSpecification
return IArgumentSpecification

DequeueRemaining() public method

public DequeueRemaining ( ) : IEnumerable
return IEnumerable

IsNextFor() public method

public IsNextFor ( object argument, Type argumentType ) : bool
argument object
argumentType System.Type
return bool

SuppliedArgumentSpecifications() public method

public SuppliedArgumentSpecifications ( IDefaultChecker defaultChecker, IEnumerable argumentSpecifications ) : System
defaultChecker IDefaultChecker
argumentSpecifications IEnumerable
return System