Manages the DomainContext build pipeline
Exemplo n.º 1
0
 public IoCConfigurator(ContextBuilder builder)
     :base(builder)
 {
     this.KnownTypes = new List<Type>();
     builder.Configuring += this.OnConfiguring;
     builder.Configured += this.OnConfigured;
 }
Exemplo n.º 2
0
 private void OnConfiguring(ContextBuilder builder)
 {
     builder.Resolver = new Lazy<IDependencyResolver>(
         () => this.Resolver ?? new DefaultDependencyResolver());
 }
Exemplo n.º 3
0
 public LoggingConfigurator(ContextBuilder builder)
     : base(builder)
 {
     builder.Configuring += this.OnConfiguring;
 }
Exemplo n.º 4
0
 private void OnConfiguring(ContextBuilder builder)
 {
     builder.LoggerFactory = new Lazy<ILoggerFactory>(
         () => this.LoggerFactory ?? NullLoggerFactory.Instance);
 }
Exemplo n.º 5
0
 protected Configurator(ContextBuilder builder)
 {
     this.Builder = builder;
 }
Exemplo n.º 6
0
 private void OnConfiguring(ContextBuilder builder)
 {
     builder.Resolver = new Lazy <IDependencyResolver>(
         () => this.Resolver ?? new DefaultDependencyResolver());
 }
Exemplo n.º 7
0
 protected Configurator(ContextBuilder builder)
 {
     this.Builder = builder;
 }
 private void OnConfiguring(ContextBuilder builder)
 {
     builder.LoggerFactory = new Lazy <ILoggerFactory>(
         () => this.LoggerFactory ?? NullLoggerFactory.Instance);
 }
 public LoggingConfigurator(ContextBuilder builder)
     : base(builder)
 {
     builder.Configuring += this.OnConfiguring;
 }