Beispiel #1
0
 public EditVenueModel(UserManager <Employee> userManager,
                       RoleManager <EmployeeRole> roleManager,
                       ICoordinatesService coordinates,
                       CompanyRepository companies,
                       VenueRepository venues,
                       TagRepository tags,
                       ImageRepository images,
                       ISettings settings,
                       DocumentRepository documents,
                       VenueDocumentRepository venueDocuments,
                       IMessagePublisher messagePublisher,
                       Constants constants,
                       ICryptoHelper cryptoHelper,
                       VenueOpeningTimeRepository venueOpeningTimes)
 {
     this.coordinates       = coordinates;
     this.userManager       = userManager;
     this.roleManager       = roleManager;
     this.venues            = venues;
     this.tags              = tags;
     this.images            = images;
     this.settings          = settings;
     this.documents         = documents;
     this.venueDocuments    = venueDocuments;
     this.companies         = companies;
     this.messagePublisher  = messagePublisher;
     this.constants         = constants;
     this.cryptoHelper      = cryptoHelper;
     this.venueOpeningTimes = venueOpeningTimes;
 }
 public OssReportService(IReportRepository reportRepository, IComponentRepository componentRepository,
                         IOssIndexRepository ossIndexRepository, IReportLinesRepository reportLinesRepository,
                         ICoordinatesService coordinatesService, IHttpWebRequestFactory httpWebRequestFactory,
                         IJsonConvertService jsonConvertService, IOssIndexVulnerabilitiesRepository ossIndexVulnerabilitiesRepository)
 {
     _reportRepository                  = reportRepository;
     _componentRepository               = componentRepository;
     _ossIndexRepository                = ossIndexRepository;
     _reportLinesRepository             = reportLinesRepository;
     _coordinatesService                = coordinatesService;
     _httpWebRequestFactory             = httpWebRequestFactory;
     _jsonConvertService                = jsonConvertService;
     _ossIndexVulnerabilitiesRepository = ossIndexVulnerabilitiesRepository;
 }
Beispiel #3
0
 public HomeController(ILogger <HomeController> logger, ICoordinatesService coordinatesService)
 {
     _logger             = logger;
     _coordinatesService = coordinatesService;
     _rovers             = new List <ReactRoverResultModel>();
 }
 public YourViewModel(ICoordinatesService coordinatesService)
 {
     _coordinatesService = coordinatesService;
 }
 public CoordinatesServiceTests()
 {
     _coordinatesService = new CoordinatesService();
 }