public async Task <CourierFacade> BuildAsync() { var courierContainerFactory = new CourierContainerFactory(parentContainer); var courierContainer = await courierContainerFactory.CreateAsync(transportFactories, forceId).ConfigureAwait(false); return(courierContainer.GetOrThrow <CourierFacade>()); }
public async Task<CourierFacade> BuildAsync() { var courierContainerFactory = new CourierContainerFactory(parentContainer); var courierContainer = await courierContainerFactory.CreateAsync(transportFactories, forceId).ConfigureAwait(false); return courierContainer.GetOrThrow<CourierFacade>(); }