public HSMService(IMonitoringCore monitoringCore, ILogger <HSMService> logger) { _logger = logger; _monitoringCore = monitoringCore; _logger.LogInformation("Sensors service started"); }
public ProductController(IMonitoringCore monitoringCore, IUserManager userManager, IConfigurationProvider configurationProvider, IRegistrationTicketManager ticketManager, ILogger <ProductController> logger) { _monitoringCore = monitoringCore; _userManager = userManager; _ticketManager = ticketManager; _configurationProvider = configurationProvider; _logger = logger; }
public ClientMonitoringService(IHubContext <MonitoringDataHub> hubContext, IMonitoringCore monitoringCore, IUserManager userManager, ISignalRSessionsManager sessionsManager) { _monitoringDataHubContext = hubContext; _monitoringCore = monitoringCore; //TODO: REMOVE WHEN MAKE NORMANL AUTH _user = userManager.GetUserByCertificateThumbprint(CommonConstants.DefaultClientCertificateThumbprint); _sessionsManager = sessionsManager; //StartTimer(); }
public NewProductNameValidator(IMonitoringCore monitoringCore) { _monitoringCore = monitoringCore; RuleFor(x => x) .NotNull() .WithMessage(ErrorConstants.NameNotNull) .Must(IsUniqueName) .WithMessage(ErrorConstants.NameUnique) .Matches(@"^[0-9a-zA-Z ]+$") .WithMessage(ErrorConstants.ProductNameLatin); }
public ExtraKeyValidator(IMonitoringCore monitoringCore) { _monitoringCore = monitoringCore; RuleFor(x => x.ExtraKeyName) .NotNull() .NotEmpty() .WithMessage(ErrorConstants.ExtraKeyNameNotNull); When(x => x.ExtraKeyName != null, () => { RuleFor(x => x) .Must(x => IsUniqueName(x.ExtraKeyName, x.ProductKey)) .WithMessage(ErrorConstants.ExtraKeyNameUnique); }); }
public ViewController(IMonitoringCore monitoringCore, IUserManager userManager) { _monitoringCore = monitoringCore; _userManager = userManager; }
/// <summary> /// /// </summary> /// <param name="monitoringCore"></param> public SensorsController(IMonitoringCore monitoringCore, ILogger <SensorsController> logger) { _logger = logger; _monitoringCore = monitoringCore; }
public HomeController(IMonitoringCore monitoringCore, ITreeViewManager treeManager, IUserManager userManager) { _monitoringCore = monitoringCore; _treeManager = treeManager; _userManager = userManager; }
public ValuesController(IMonitoringCore monitoringCore, ILogger <ValuesController> logger) { _logger = logger; _monitoringCore = monitoringCore; }