示例#1
0
 public BootstrapperOptions(IServiceCollection serviceCollection)
 {
     ServiceCollection  = serviceCollection;
     InterceptorOptions = new InterceptorOptions(this);
     RegisterByConvention(GetType().Assembly);
     RegisterCoreTypes();
     RegisterRequestor();
 }
示例#2
0
 public BoltOnOptions(IServiceCollection serviceCollection)
 {
     ServiceCollection  = serviceCollection;
     InterceptorOptions = new InterceptorOptions(this);
     RegisterByConvention(GetType().Assembly);
     RegisterCoreTypes();
     RegisterMediator();
 }