Exemplo n.º 1
0
 public IntegrationController(ApplicationDbContext context,
                              ISegmentService segmentService,
                              IPriceService priceService,
                              IParcelService parcelService)
 {
     this.context        = context;
     this.segmentService = segmentService;
     this.priceService   = priceService;
     this.parcelService  = parcelService;
 }
Exemplo n.º 2
0
 public SearchPageModel(ICityService cityService,
                        IParcelCategoryService parcelCategoryService,
                        IRouteService routeService,
                        IParcelService parcelService,
                        IPriceService priceService)
 {
     _cityService           = cityService;
     _parcelCategoryService = parcelCategoryService;
     _routeService          = routeService;
     this.parcelService     = parcelService;
     this.priceService      = priceService;
 }
Exemplo n.º 3
0
 public RejectingParcelUser(string postalCode, IParcelService parcelService)
 {
     this.PostalCode     = postalCode;
     this._parcelService = parcelService;
 }
Exemplo n.º 4
0
 public TestController(IParcelService parcelService)
 {
     _parcelService = parcelService;
 }
Exemplo n.º 5
0
 public ParcelsController(IParcelService parcelService, ICommandDispatcher commandDispatcher)
 {
     this.parcelService     = parcelService;
     this.commandDispatcher = commandDispatcher;
 }
Exemplo n.º 6
0
 public void Init()
 {
     _parcelService = new ParcelService();
 }
Exemplo n.º 7
0
 public ParcelModel(IParcelService parcelService)
 {
     _parcelSvc = parcelService;
 }
Exemplo n.º 8
0
 public PriceService(ApplicationDbContext context,
                     IParcelService parcelService)
 {
     this.context       = context;
     this.parcelService = parcelService;
 }
Exemplo n.º 9
0
 public RouteController(IRouteService routeService, IParcelService parcelService)
 {
     _routeService  = routeService;
     _parcelService = parcelService;
 }
Exemplo n.º 10
0
 public CreateParcelHandler(IParcelService parcelService)
 {
     this.parcelService = parcelService;
 }
Exemplo n.º 11
0
 public ParcelsController(ICommandDispatcher commandDispatcher,
                          IParcelService parcelService) : base(commandDispatcher)
 {
     _parcelService = parcelService;
 }
Exemplo n.º 12
0
 public DeliveryTests(ITestOutputHelper testOutputHelper)
 {
     _testOutputHelper = testOutputHelper;
     _parcelService    = new ParcelService(Settings());
     _deliveryService  = new DeliveryService(Settings());
 }
 public DeliveryExtensionsTests(ITestOutputHelper testOutputHelper)
 {
     _testOutputHelper = testOutputHelper;
     _parcelService    = new ParcelService(Settings());
 }
Exemplo n.º 14
0
 public ParcelsController(IParcelService parcelService, ILocationService locationService)
 {
     _parcelService = parcelService;
 }
Exemplo n.º 15
0
 public AcceptingParcelUser(string postalCode, IParcelService parcelService)
 {
     this.PostalCode       = postalCode;
     this._parcelService   = parcelService;
     this._parcelsReceived = new List <Parcel>();
 }
Exemplo n.º 16
0
 public HomeController(IParcelService parcelSvc)
 {
     _parcelSvc = parcelSvc;
 }
Exemplo n.º 17
0
 public DataSeeder(IParcelService parcelService, IOptions <AppOptions> options)
 {
     _parcelService = parcelService;
     _seed          = options.Value.SeedData;
 }
Exemplo n.º 18
0
 public ParcelsController(IParcelService parcelService, IAuthHelper authHelper)
 {
     this.parcelService = parcelService;
     this.authHelper    = authHelper;
 }
Exemplo n.º 19
0
 public ServiceContainer(IContainerRepository containerRepository, IParcelService parcelService)
 {
     _containerRepository = containerRepository;
     _parcelService       = parcelService;
 }
Exemplo n.º 20
0
        public TestFixture()
        {
            IDepartmentFactory departmentFactory = new DepartmentFactory();

            service = new ParcelService(departmentFactory);
        }