Exemple #1
0
        public void OnRoutingSlipFaulted(Action <IFutureFaultConfigurator <TFault, RoutingSlipFaulted> > configure)
        {
            _fault ??= new FutureFault <TCommand, TFault, RoutingSlipFaulted>();

            var configurator = new FutureFaultConfigurator <TCommand, TFault, RoutingSlipFaulted>(_fault);

            configure?.Invoke(configurator);
        }
Exemple #2
0
        public void OnRequestFaulted(Action <IFutureFaultConfigurator <TFault, Fault <TRequest> > > configure)
        {
            var configurator = new FutureFaultConfigurator <TCommand, TFault, Fault <TRequest> >(_fault);

            configure?.Invoke(configurator);
        }