C# Class AutoMoq.Unity.AutoMockingBuilderStrategy

Inheritance: Microsoft.Practices.ObjectBuilder2.BuilderStrategy
Mostrar archivo Open project: darrencauthon/AutoMoq Class Usage Examples

Public Methods

Method Description
AutoMockingBuilderStrategy ( Mocking mocking, IoC ioc ) : System
PreBuildUp ( IBuilderContext context ) : void

Private Methods

Method Description
AMockObjectShouldBeCreatedForThisType ( Type type ) : bool
AbstractDependenciesOf ( Type type ) : IEnumerable
BuildThisByAskingTheContainerForIt ( Type type ) : void
CreateAMockTrackedByAutoMoq ( Type type ) : MockCreationResult
GetTheTypeFromTheBuilderContext ( IBuilderContext context ) : Type
LoadAnyAbstractDependenciesOf ( Type type ) : void
ThisIsNotTheTypeThatIsBeingResolvedForTesting ( Type type ) : bool
ThisTypeIsNotAFunction ( Type type ) : bool
ThisTypeIsNotRegistered ( Type type ) : bool

Method Details

AutoMockingBuilderStrategy() public method

public AutoMockingBuilderStrategy ( Mocking mocking, IoC ioc ) : System
mocking Mocking
ioc IoC
return System

PreBuildUp() public method

public PreBuildUp ( IBuilderContext context ) : void
context IBuilderContext
return void