C# Class NSubstitute.Core.Arguments.SuppliedArgumentSpecifications

Inheritance: ISuppliedArgumentSpecifications
Afficher le fichier Open project: nsubstitute/NSubstitute

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AnyFor ( object argument, Type argumentType ) : bool
argument object
argumentType System.Type
Résultat bool

Dequeue() public méthode

public Dequeue ( ) : IArgumentSpecification
Résultat IArgumentSpecification

DequeueRemaining() public méthode

public DequeueRemaining ( ) : IEnumerable
Résultat IEnumerable

IsNextFor() public méthode

public IsNextFor ( object argument, Type argumentType ) : bool
argument object
argumentType System.Type
Résultat bool

SuppliedArgumentSpecifications() public méthode

public SuppliedArgumentSpecifications ( IDefaultChecker defaultChecker, IEnumerable argumentSpecifications ) : System
defaultChecker IDefaultChecker
argumentSpecifications IEnumerable
Résultat System