C# Class Proligence.Orchard.Testing.Mocks.ShapeFactoryMock

Inheritance: System.Dynamic.DynamicObject, IShapeFactory
Afficher le fichier Open project: Proligence/OrchardTesting Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string shapeType ) : IShape
Create ( string shapeType, INamedEnumerable parameters ) : IShape
Create ( string shapeType, INamedEnumerable parameters, Func createShape ) : IShape
Mock ( string shapeType, Func factory ) : void
ShapeFactoryMock ( ) : System
TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool

Method Details

Create() public méthode

public Create ( string shapeType ) : IShape
shapeType string
Résultat IShape

Create() public méthode

public Create ( string shapeType, INamedEnumerable parameters ) : IShape
shapeType string
parameters INamedEnumerable
Résultat IShape

Create() public méthode

public Create ( string shapeType, INamedEnumerable parameters, Func createShape ) : IShape
shapeType string
parameters INamedEnumerable
createShape Func
Résultat IShape

Mock() public méthode

public Mock ( string shapeType, Func factory ) : void
shapeType string
factory Func
Résultat void

ShapeFactoryMock() public méthode

public ShapeFactoryMock ( ) : System
Résultat System

TryInvokeMember() public méthode

public TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeMemberBinder
args object
result object
Résultat bool