C# 클래스 Proligence.Orchard.Testing.Mocks.ShapeFactoryMock

상속: System.Dynamic.DynamicObject, IShapeFactory
파일 보기 프로젝트 열기: Proligence/OrchardTesting 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Create() 공개 메소드

public Create ( string shapeType ) : IShape
shapeType string
리턴 IShape

Create() 공개 메소드

public Create ( string shapeType, INamedEnumerable parameters ) : IShape
shapeType string
parameters INamedEnumerable
리턴 IShape

Create() 공개 메소드

public Create ( string shapeType, INamedEnumerable parameters, Func createShape ) : IShape
shapeType string
parameters INamedEnumerable
createShape Func
리턴 IShape

Mock() 공개 메소드

public Mock ( string shapeType, Func factory ) : void
shapeType string
factory Func
리턴 void

ShapeFactoryMock() 공개 메소드

public ShapeFactoryMock ( ) : System
리턴 System

TryInvokeMember() 공개 메소드

public TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeMemberBinder
args object
result object
리턴 bool