public void removing_the_called_assembly() { var pool = new TypePool(GetType().Assembly); pool.IgnoreCallingAssembly(); pool.Assemblies.ShouldNotContain(GetType().Assembly); }
public static void ApplySmartGridConventions(this FubuRegistry registry, Action <AppliesToExpression> configure) { var pool = new TypePool(null); pool.IgnoreCallingAssembly(); var expression = new AppliesToExpression(pool); configure(expression); registry.ApplyConvention(new SmartGridConvention(pool)); }
public void SetUp() { matcher = new ActionSource(new ActionMethodFilter()); pool = new TypePool(null); pool.IgnoreCallingAssembly(); pool.AddType <DifferentPatternClass>(); pool.AddType <OneController>(); pool.AddType <TwoController>(); pool.AddType <ThreeController>(); calls = null; }
public void SetUp() { graph = new BehaviorGraph(null); matcher = new BehaviorMatcher(); pool = new TypePool(null); pool.IgnoreCallingAssembly(); pool.AddType <DifferentPatternClass>(); pool.AddType <OneController>(); pool.AddType <TwoController>(); pool.AddType <ThreeController>(); calls = null; }