public StopController(IWorldRepository repository, ILogger<StopController> logger,
     CoordinateService coordinateService)
 {
     _repository = repository;
     _logger = logger;
     _coordinateService = coordinateService;
 }
Example #2
0
 public StopController(IWorldRepository repo, ILogger<StopController> logger, CoordService coordService)
 {
     this.repo = repo;
     this.logger = logger;
     logger.LogInformation("Inside StopController ctor");
     this.coordService = coordService;
 }
		public StopController(IWorldRepository worldRepo, ILogger<StopController> logger,
			CoordService coordService)
		{
			_worldRepo = worldRepo;
			_logger = logger;
			_coordService = coordService;
		}
Example #4
0
 public StopController(IWorldRepository repository, 
     ILogger<StopController> logger,
     CoordService coordService)
 {
     this.repository = repository;
     this.logger = logger;
     this.coordService = coordService;
 }
Example #5
0
 public StopController(
     IWorldRepository repository,
     ILogger<StopController> logger,
     GeoService geoService)
 {
     _repository = repository;
     _logger = logger;
     _geoService = geoService;
 }
Example #6
0
 public TripController(
     IWorldRepository repository,
     ILogger<TripController> logger)
 {
     _repository = repository;
     // later we can decide where the logger logs its messages
     // it can be a database or a blob storage or an output window
     // the later is the default
     _logger = logger;
 }
        public AppController(ImailService mailService,IWorldRepository repository)
        {
            try
            {
                _mailService = mailService;
                _repository = repository;
            }
            catch (Exception)
            {

                throw;
            }
        }
        public TripController(IWorldRepository repository,ILogger<TripController> logger)
        {
            try
            {

                _repository = repository;
                _logger = logger;
            }
            catch (Exception)
            {

                throw;
            }
        }
        public StopController(IWorldRepository repository, ILogger<TripController> logger,CoordService coordService)
        {
            try
            {

                _repository = repository;
                _logger = logger;
                _coordService = coordService;
            }
            catch (Exception)
            {

                throw;
            }

        }
Example #10
0
 public WorldService(IWorldRepository worldRepository)
 {
     this.worldRepository = worldRepository;
 }
Example #11
0
 public AppController(IMailService service, IWorldRepository repository)
 {
     this.service    = service;
     this.repository = repository;
 }
Example #12
0
 public TripController(IWorldRepository repository, ILogger <TripController> logger)
 {
     this.repository = repository;
     this.logger     = logger;
 }
Example #13
0
 public TripController(IWorldRepository repository)
 {
     _repository = repository;
 }
Example #14
0
 public StopController(IWorldRepository repository, ILogger<StopController> logger, IModelFactory modelFactory, CoordService coordService)
     : base(repository,logger,modelFactory)
 {
     _coordService = coordService; 
 }
Example #15
0
 public StopController(IWorldRepository repository, IGeoService geoService)
 {
   _repository = repository;
   _geoService = geoService;
 }
Example #16
0
        /// <inheritdoc />
        Task <ICollectionPage <World> > IPaginator <World> .FindPageAsync(int pageIndex, int pageSize)
        {
            IWorldRepository self = this;

            return(self.FindPageAsync(pageIndex, pageSize, CancellationToken.None));
        }
Example #17
0
        /// <inheritdoc />
        Task <World> IRepository <int, World> .FindAsync(int identifier)
        {
            IWorldRepository self = this;

            return(self.FindAsync(identifier, CancellationToken.None));
        }
Example #18
0
        /// <inheritdoc />
        Task <IDictionaryRange <int, World> > IRepository <int, World> .FindAllAsync(ICollection <int> identifiers)
        {
            IWorldRepository self = this;

            return(self.FindAllAsync(identifiers, CancellationToken.None));
        }
Example #19
0
        /// <inheritdoc />
        Task <IDictionaryRange <int, World> > IRepository <int, World> .FindAllAsync()
        {
            IWorldRepository self = this;

            return(self.FindAllAsync(CancellationToken.None));
        }
Example #20
0
 public MembersController(IWorldRepository worlds, EmailProvider emails)
 {
     this.worlds = worlds;
     this.emails = emails;
 }
Example #21
0
 public AppController(IMailService service, IWorldRepository repository)
 {
     _mailService = service;
     _repository  = repository;
 }
 public TripsController(IWorldRepository worldRepository, ILogger<TripsController> logger)
 {
     _worldRepository = worldRepository;
     _logger = logger;
 }
Example #23
0
 public StopController(IWorldRepository worldRepository, ILogger<StopController> logger, BingGeoLocationService geoLocationService)
 {
     _worldRepository = worldRepository;
     _logger = logger;
     _geoLocationService = geoLocationService;
 }
Example #24
0
        /// <inheritdoc />
        Task <ICollection <int> > IDiscoverable <int> .DiscoverAsync()
        {
            IWorldRepository self = this;

            return(self.DiscoverAsync(CancellationToken.None));
        }
 public ServerController(IWorldRepository worldRepository)
 {
     _worldRepository = worldRepository;
 }
Example #26
0
 public WorldController(IWorldRepository worldRepository)
 {
     _worldRepository = worldRepository;
 }
 public AppController(IEmailService emailService, IWorldRepository repository)
 {
     _emailService = emailService;
     _repository = repository;
 }
 public CommentsController(IWorldRepository repository, ILogger <CommentsController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
Example #29
0
 public BaseController(IWorldRepository repository, ILogger<BaseController> logger, IModelFactory modelFactory)
 {
     _repository = repository;
     _logger = logger;
     _modelFactory = modelFactory;
 }
Example #30
0
 public StopController(IWorldRepository repository, ILogger <StopController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
Example #31
0
 public StopController(IWorldRepository repository, ILogger <StopController> logger, CoordService coordService)
 {
     _repository   = repository;
     _logger       = logger;
     _coordService = coordService;
 }
 public TripController(IWorldRepository repository, IMapper mapper, ILogger <TripController> logger)
 {
     _repository = repository;
     _mapper     = mapper;
     _logger     = logger;
 }
Example #33
0
 public StopsController(ILogger <StopsController> logger, IWorldRepository repository, ShamGeoService service)
 {
     _logger     = logger;
     _repository = repository;
     _service    = service;
 }
        public CaravanServerClientSide(IProcessorsProvider processorsProvider, INewInstanceFactory newInstanceFactory, INewWorldGenerator newWorldGenerator, IWorldRepository worldRepository)
        {
            ProcessorsProvider = processorsProvider;
            NewInstanceFactory = newInstanceFactory;
            NewWorldGenerator  = newWorldGenerator;

            WorldRepository = worldRepository;
        }
Example #35
0
 public TripsController(IWorldRepository repository, ILogger <TripsController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
Example #36
0
 public TripController(IWorldRepository worldRepository)
 {
     _worldRepository = worldRepository;
 }
Example #37
0
 //private IMailService _mailService;
 //private IWorldRepository _repository;
 //public AppController(IMailService mailService, IWorldRepository repository)
 //{
 //    _mailService = mailService;
 //    _repository = repository;
 //}
 public AppController(IMailService mailService, IWorldRepository repository)
     : base(mailService,repository)
 {
 }
 public WorldParametersController(IWorldRepository worldRepository, IMapper mapper)
 {
     _worldRepository = worldRepository;
     _mapper          = mapper;
 }
Example #39
0
 public HomeController(IMailService mailService, IConfigurationRoot config, IWorldRepository repository)
 {
     this.mailService = mailService;
     this.config      = config;
     this.repository  = repository;
 }
        public PudderTripController(IWorldRepository worldrepo, ILogger<PudderTripController> logger)
		{
			_worldrepo = worldrepo;
			_logger = logger;
		}
Example #41
0
 public TripController(IWorldRepository repository)
 {
     _repository = repository;
 }
 public AppController(IMailService mailService, IWorldRepository repo)
 {
     _mailService = mailService;
     _repo        = repo;
 }
Example #43
0
 // Have system inject an ILogger for our class to log errors. Pass in Class name
 public TripsController(IWorldRepository repository, ILogger <TripsController> logger)
 {
     _repository = repository;
     _logger     = logger; // with logger obj. it now knows which class it is being logged from
 }
Example #44
0
 public OptOutController(IWorldRepository worlds)
 {
     this.worlds = worlds.Include(w => w.Members);
 }
 public WorldEditService(IWorldRepository worldRepository, IStoryRepository storyRepository)
 {
     _worldRepository = worldRepository;
     _storyRepository = storyRepository;
 }
Example #46
0
 public WorldController(IWorldRepository repo)
 {
     _repo = repo;
 }
 public TripController(IWorldRepository repo, IMapper mapper)
 {
     _repository = repo;
     _mapper = mapper;
 }
Example #48
0
 public TripController(IWorldRepository repository, ILogger<TripController> logger)
 {
   _repository = repository;
   _logger = logger;
 }
Example #49
0
 public StopController(IWorldRepository worldRepository, ICoordService coordService)
 {
     _worldRepository = worldRepository;
     _coordService = coordService;
 }
Example #50
0
 public AppController(IMailService mailService, IWorldRepository repository)
 {
     _mailService = mailService;
     _repository = repository;
 }
Example #51
0
 public StopController(IWorldRepository worldRepository, ICoordService coordService)
 {
     _worldRepository = worldRepository;
     _coordService    = coordService;
 }
Example #52
0
 public StopsController(IWorldRepository repository, IGeoCoordsService geoCoordsService)
 {
     _repository       = repository;
     _geoCoordsService = geoCoordsService;
 }
Example #53
0
 public AppController(IMessageSender messageSender, IConfigurationRoot config, IWorldRepository worldRepository)
 {
     this.messageSender   = messageSender;
     this.config          = config;
     this.worldRepository = worldRepository;
 }
Example #54
0
 public AppController(IMailService mailService, IConfigurationRoot config, IWorldRepository repository)
 {
     _mailService = mailService;
     _config      = config;
     _repository  = repository;
 }
		public AppController(IMailService service, IWorldRepository repo)
		{
			_mailService = service;
			_worldRep = repo;
		}
 public JobTitlesController(IWorldRepository repository, ILogger <JobTitlesController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
Example #57
0
 public AppController(IMailService service, IWorldRepository repository)
 {
     this.service = service;
     this.repository = repository;
 }
 public StopsController(IWorldRepository repository, ILogger<StopsController> logger, GeoCoordsService service)
 {
     _repository = repository;
     _logger = logger;
     _service = service;
 }
Example #59
0
 public TripController(IWorldRepository repository, ILogger<TripController> logger)
 {
     this.repository = repository;
     this.logger = logger;
 }
Example #60
0
 public AppController(IMailService service, IOptions<AppSettings> optionsAccessor, IWorldRepository worldRepo)
 {
     mailService = service;
     Options = optionsAccessor.Value;
     this.worldRepo = worldRepo;
 }