示例#1
0
        public override System.Object Build(Lamar.IoC.Scope scope)
        {
            var Thing           = new Lamar.Testing.IoC.Acceptance.end_to_end_resolution.Thing();
            var WidgetWithThing = new Lamar.Testing.IoC.Acceptance.end_to_end_resolution.WidgetWithThing(Thing);

            return(WidgetWithThing);
        }
示例#2
0
        public override Microsoft.Extensions.Hosting.IHostedService Build(Lamar.IoC.Scope scope)
        {
            var workerQueue            = _messagingRoot.Workers;
            var nulloEnvelopePersistor = new Jasper.Messaging.Durability.NulloEnvelopePersistor();
            var nulloMetrics           = new Jasper.Messaging.Logging.NulloMetrics();

            return(new Jasper.Messaging.Logging.MetricsCollector(nulloMetrics, nulloEnvelopePersistor, _messageLogger, _messagingSettings, workerQueue));
        }
 public override Microsoft.Extensions.Hosting.IHostedService Build(Lamar.IoC.Scope scope)
 {
     return(new Jasper.Messaging.NodeRegistration(_messagingSettings, _nodeDiscovery, _jasperRuntime, _messageLogger));
 }
示例#4
0
        public override Jasper.Messaging.Transports.ITransport Build(Lamar.IoC.Scope scope)
        {
            var nulloDurableMessagingFactory = new Jasper.Messaging.Transports.NulloDurableMessagingFactory(_transportLogger2068701597, _messagingSettings);

            return(new Jasper.Messaging.Transports.Tcp.TcpTransport(nulloDurableMessagingFactory, _transportLogger2068701597, _messagingSettings));
        }
 public override Jasper.EnvironmentChecks.IEnvironmentRecorder Build(Lamar.IoC.Scope scope)
 {
     return(new Jasper.EnvironmentChecks.EnvironmentRecorder());
 }
 public override Microsoft.AspNetCore.Hosting.Server.IServer Build(Lamar.IoC.Scope scope)
 {
     return(new Jasper.Http.NulloServer());
 }
示例#7
0
 public override Microsoft.Extensions.Hosting.IHostedService Build(Lamar.IoC.Scope scope)
 {
     return(new Jasper.Messaging.BackPressureAgent(_messagingRoot));
 }