private static IApplicationContext CreateContainerUsingCodeConfig() { CodeConfigApplicationContext ctx = new CodeConfigApplicationContext(); ctx.ScanAllAssemblies(); ctx.Refresh(); return ctx; }
public void _TestSetup() { _context = new CodeConfigApplicationContext(); _scanner = new AssemblyObjectDefinitionScanner(); }
private static IApplicationContext CreateContextFromDefinition(Type definitionType) { CodeConfigApplicationContext context = new CodeConfigApplicationContext(); context.ScanWithTypeFilter(t => t.Equals(definitionType)); context.Refresh(); return context; }
public void _TestSetup() { _context = new CodeConfigApplicationContext(); }