public BrowseTasksOnMapViewModel(INavigationService navigationService, IJobRepo jobRepo) : base(navigationService)
 {
     VisibleRegionChangedCommand = new DelegateCommand <MapSpan>(VisibleRegionChanged);
     CustomPinClickedCommand     = new DelegateCommand <CustomPin>(async(pin) => await CustomPinClickedAsync(pin));
     _jobRepo = jobRepo;
 }
 // Constructor to initiate the repository and automapping class using dependency injection
 public JobsController(IJobRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 public JobExecutionService(IJobRepo jobRepo, IJobExecutionRepo jobExecutionRepo, IConfiguration configuration)
 {
     _jobExecutionRepo = jobExecutionRepo;
     _jobRepo          = jobRepo;
     _configuration    = configuration;
 }
 //构造函数JobService将IJobRepo作为依赖注入到它的构造函数
 public JobService(IJobRepo jobRepo)
 {
     _jobRepo = jobRepo;
 }
示例#5
0
 public Handler(IJobRepo jobRepo)
 {
     this.jobRepo = jobRepo;
 }
 public NewJobConsumer(IJobRepo jobRepo)
 {
     this.jobRepo = jobRepo;
 }
示例#7
0
 public JobService(IJobRepo jobRepo)
 {
     this.jobRepo = jobRepo;
 }
 public Handler(IJobRepo jobRepo, IPublishEndpoint publishEndpoint)
 {
     this.jobRepo         = jobRepo;
     this.publishEndpoint = publishEndpoint;
 }
示例#9
0
 public blaservice(IJobRepo jobRepo)
 {
     _jobRepo = jobRepo;
 }
示例#10
0
 public JobManager(IJobRepo repo, INettingManager nettingManager)
 {
     this.Repo           = repo;
     this.NettingManager = nettingManager;
 }