Example #1
0
        public Auditor(ICallContext callContext, IBusEndpointFactory busFactory)
        {
            Guard.Against.Null(callContext, nameof(callContext));
            Guard.Against.Null(busFactory, nameof(busFactory));

            this.callContext = callContext;
            this.bus         = busFactory.Create <AuditMessage>();
        }
 public BusServiceBase(ILogger logger, string serviceName, IBusEndpoint receivingEndpoint)
     : base (logger, serviceName)
 {
     ReceivingEndpoint = receivingEndpoint;
 }