public CountryController( ICountryService countries, IIdentityService identity) { _countries = countries; _identity = identity; }
public ChatController( IIdentityService identity, IUserRepository users) { _identity = identity; _users = users; }
public CityController( ICityService cities, IIdentityService identity) { _cities = cities; _identity = identity; }
public UserController( IIdentityService identityService, IMapper<string, string, LoginPageViewModel> loginPageViewModelMapper) { this.identityService = identityService; this.loginPageViewModelMapper = loginPageViewModelMapper; }
public AccountService(IIdentityService identityService, ISuspensionManagerState suspensionManagerState, ICredentialStore credentialStore) { _identityService = identityService; _suspensionManagerState = suspensionManagerState; _credentialStore = credentialStore; if (_suspensionManagerState != null) { if (_suspensionManagerState.SessionState.ContainsKey(ServerCookieHeaderKey)) { _serverCookieHeader = _suspensionManagerState.SessionState[ServerCookieHeaderKey] as string; } if (_suspensionManagerState.SessionState.ContainsKey(SignedInUserKey)) { _signedInUser = _suspensionManagerState.SessionState[SignedInUserKey] as UserInfo; } if (_suspensionManagerState.SessionState.ContainsKey(UserNameKey)) { _userName = _suspensionManagerState.SessionState[UserNameKey].ToString(); } if (_suspensionManagerState.SessionState.ContainsKey(PasswordKey)) { _password = _suspensionManagerState.SessionState[PasswordKey].ToString(); } } }
public SenderCalculationController(ISenderCalculationPresenter presenter, ISenderRepository senders, IIdentityService identity) { _presenter = presenter; _senders = senders; _identity = identity; }
public ClientPermissions( IIdentityService identity, IClientRepository clients) { _identity = identity; _clients = clients; }
public CarrierController(ICityRepository cities, ICarrierRepository carriers, IIdentityService identity, IUserRepository users) { _cities = cities; _carriers = carriers; _identity = identity; _users = users; }
/// <summary> /// Initializes a new instance of the SecondViewModel class. /// </summary> public SecondViewModel(IDataService dataService, IIdentityService identityService) { UserName = "******"; Password = "******"; _dataService = dataService; _identityService = identityService; _configuration = new Configuration(); }
public IdentityViewModel(DiteService diteService, INavigationService navigationService, IComponentFactory factory, IMessengerService messengerService, IIdentityService identityService) : base(factory, messengerService) { _diteService = diteService; _navigationService = navigationService; _identityService = identityService; }
public StateController( IStateRepository states, ITemplateRepository templates, IIdentityService identity) { _states = states; _templates = templates; _identity = identity; }
public StateSettingsController( IIdentityService identity, IStateSettingsRepository settings, IStateRepository states) { _identity = identity; _settings = settings; _states = states; }
public TransitController( IIdentityService identity, ICityRepository cities, ITransitRepository transits) { _identity = identity; _cities = cities; _transits = transits; }
protected ProfileCheckBaseAttribute( string redirectController, string redirectAction) { this.redirectController = redirectController; this.redirectAction = redirectAction; this.identityService = ServiceLocator.Current.GetInstance<IIdentityService>(); this.profileTasks = ServiceLocator.Current.GetInstance<IProfileTasks>(); }
public EmailTemplateController( ITemplateRepository templates, IEventEmailRecipient recipients, IIdentityService identity) { _templates = templates; _recipients = recipients; _identity = identity; }
public SenderController( ISenderService senders, IIdentityService identity, ICountryRepository countries) { _senders = senders; _identity = identity; _countries = countries; }
public OAuthOptions(IIdentityService identityService) { var config = AppConfiguration.Config; TokenEndpointPath = new PathString(config.TokenPath); AccessTokenExpireTimeSpan = TimeSpan.FromMinutes(config.ExpirationMinutes); AccessTokenFormat = new JwtWriterFormat(this); Provider = new OAuthProvider(identityService); AllowInsecureHttp = true; }
/// <summary> /// Initializes a new instance of the <see cref="IdentityV2AuthenticationService"/> class with the specified /// OpenStack Identity Service V2 client and prepared authentication request. /// </summary> /// <param name="identityService">The <see cref="IIdentityService"/> instance to use for authentication /// purposes.</param> /// <param name="authenticationRequest">The authentication request, which contains the credentials to use for /// authenticating with the OpenStack Identity Service V2.</param> /// <exception cref="ArgumentNullException"> /// <para>If <paramref name="identityService"/> is <see langword="null"/>.</para> /// <para>-or-</para> /// <para>If <paramref name="authenticationRequest"/> is <see langword="null"/>.</para> /// </exception> public IdentityV2AuthenticationService(IIdentityService identityService, AuthenticationRequest authenticationRequest) { if (identityService == null) throw new ArgumentNullException("identityService"); if (authenticationRequest == null) throw new ArgumentNullException("authenticationRequest"); _identityService = identityService; _authenticationRequest = authenticationRequest; }
public ApplicationStateManager( IStateConfig config, IApplicationEditor editor, IIdentityService identity, IStateSettingsRepository settings) { _config = config; _editor = editor; _identity = identity; _settings = settings; }
public ApplicationsController( IForwarderApplication forwarderApplication, IApplicationListPresenter presenter, IIdentityService identity, IForwarderRepository forwarders) { _forwarderApplication = forwarderApplication; _presenter = presenter; _identity = identity; _forwarders = forwarders; }
public ClientPresenter( IClientRepository clients, IIdentityService identity, IClientBalanceRepository balances, IClientPermissions permissions) { _clients = clients; _identity = identity; _balances = balances; _permissions = permissions; }
public ForwarderUserController( ICityRepository cities, IUserRepository users, IForwarderRepository forwarders, IIdentityService identity) { _cities = cities; _users = users; _forwarders = forwarders; _identity = identity; }
/// <summary> /// Initializes a new instance of the <see cref="BlogPostPageViewModelMapper"/> class. /// </summary> /// <param name="blogPostFormViewModelMapper"> /// The blog post form view model mapper. /// </param> /// <param name="blogPostCommentPageViewModelMapper"> /// The blog Post Comment Page View Model Mapper. /// </param> /// <param name="identityService"> /// The identity Service. /// </param> /// <param name="archiveSectionViewModelMapper"> /// The archive Section View Model Mapper. /// </param> public BlogPostPageViewModelMapper( IBlogPostFormViewModelMapper blogPostFormViewModelMapper, IBlogPostCommentPageViewModelMapper blogPostCommentPageViewModelMapper, IIdentityService identityService, IArchiveSectionViewModelMapper archiveSectionViewModelMapper) { this.blogPostFormViewModelMapper = blogPostFormViewModelMapper; this.archiveSectionViewModelMapper = archiveSectionViewModelMapper; this.blogPostCommentPageViewModelMapper = blogPostCommentPageViewModelMapper; this.identityService = identityService; }
public StateFilter( IStateSettingsRepository settings, IIdentityService identity, IStateConfig config, IAwbRepository awbs) { _settings = settings; _identity = identity; _config = config; _awbs = awbs; }
public SenderAwbController( IIdentityService identity, IAwbUpdateManager awbUpdateManager, IAwbManager awbManager, IAwbPresenter awbPresenter) { _identity = identity; _awbUpdateManager = awbUpdateManager; _awbManager = awbManager; _awbPresenter = awbPresenter; }
public ClientCalculationController( IClientCalculationPresenter presenter, IClientBalanceRepository balance, IExcelClientCalculation excel, IClientRepository clients, IIdentityService identity) { _presenter = presenter; _balance = balance; _excel = excel; _clients = clients; _identity = identity; }
public ClientController( IIdentityService identity, IClientManager manager, IClientFileRepository files, IClientPresenter clients, ISenderRepository senders) { _identity = identity; _manager = manager; _files = files; _clients = clients; _senders = senders; }
public ClientApplicationController( IClientApplicationManager manager, ICountryRepository countries, IIdentityService identity, IClientRepository clients, IApplicationRepository applications) { _manager = manager; _countries = countries; _identity = identity; _clients = clients; _applications = applications; }
public ApplicationPresenter( IApplicationRepository applications, IIdentityService identity, IStateFilter stateFilter, ITransitRepository transits, IStateRepository states) { _applications = applications; _identity = identity; _stateFilter = stateFilter; _transits = transits; _states = states; }
public AdminAwbController( IIdentityService identity, IAwbManager awbManager, IAwbPresenter awbPresenter, IAwbUpdateManager awbUpdateManager, IBrokerRepository brokers, ISenderRepository senders) { _identity = identity; _awbManager = awbManager; _awbPresenter = awbPresenter; _awbUpdateManager = awbUpdateManager; _brokers = brokers; _senders = senders; }
public EventOrganizerController(IIdentityService identityService, IValidateService validateService, IEventOrganizerFacade facade, IMapper mapper) : base(identityService, validateService, facade, mapper, "1.0.0") { }
public BudgetExportGarmentReportLogic(IIdentityService identityService, SalesDbContext dbContext) { this.identityService = identityService; this.dbContext = dbContext; dbSet = dbContext.Set <CostCalculationGarment>(); }
public MachineLogic(MachineEventLogic machineEventLogic, StepLogic stepLogic, IIdentityService identityService, ProductionDbContext dbContext) : base(identityService, dbContext) { this.MachineEventLogic = machineEventLogic; this.StepLogic = stepLogic; }
public IdentityController(IIdentityService identityService) { _identityService = identityService; }
public CreateTacheCommandHandler(IApplicationDbContext context, ICurrentUserService currentUser, IIdentityService identityService) { _context = context; _currentUser = currentUser; _identityService = identityService; }
public LossEventLogic(IIdentityService identityService, ProductionDbContext dbContext) : base(identityService, dbContext) { }
public ScholarshipController(ScholarshipContext context, IOptionsSnapshot<ScholarshipSettings> settings, IIdentityService identityService, IScholarshipIntegrationEventService scholarshipIntegrationEventService) { _scholarshipContext = context ?? throw new ArgumentNullException(nameof(context)); _scholarshipIntegrationEventService = scholarshipIntegrationEventService ?? throw new ArgumentNullException(nameof(scholarshipIntegrationEventService)); _identityService = identityService ?? throw new ArgumentNullException(nameof(identityService)); _settings = settings.Value; context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; }
/// <summary> /// Initializes a new instance of the <see cref="IdentityController"/> class. /// </summary> /// <param name="identity">The identity service.</param> public IdentityController(IIdentityService identity) { this.identity = identity; }
public UserRepository(ApplicationDbContext context, IIdentityService identityService) { _context = context; _identityService = identityService; }
public ProfitGarmentByComodityReportController(IIdentityService identityService, IProfitGarmentByComodityReport facade) : base(identityService, facade, apiVersion) { }
// Using DI to inject infrastructure persistence Repositories public ContactCommandHandler(IMediator mediator, IRepository <Contact> contactRepository, IIdentityService identityService) { _contactRepository = contactRepository ?? throw new ArgumentNullException(nameof(contactRepository)); _identityService = identityService ?? throw new ArgumentNullException(nameof(identityService)); _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); }
public StorageOfProductController(IStorageOfProductDomain storageOfProductDomain, IIdentityService identityService, ICommonDomain commonDomain, IConfigurationService configurationService) { _storageOfProductDomain = storageOfProductDomain; _identityService = identityService; _commonDomain = commonDomain; _configurationService = configurationService; }
public SectionController(IIdentityService identityService, IValidateService validateService, ISectionFacade sectionFacade, IMapper mapper) : base(identityService, validateService, sectionFacade, mapper, apiVersion) { }
public DOSalesLogic(IServiceProvider serviceProvider, IIdentityService identityService, SalesDbContext dbContext) : base(identityService, serviceProvider, dbContext) { this.doSalesLocalLogic = serviceProvider.GetService <DOSalesDetailLogic>(); _dbContext = dbContext; }
public PurchasingMemoDetailTextileController(IServiceProvider serviceProvider) { _identityService = serviceProvider.GetService <IIdentityService>(); _service = serviceProvider.GetService <IPurchasingMemoDetailTextileService>(); _validateService = serviceProvider.GetService <IValidateService>(); }
public GarmentEMKLService(IServiceProvider serviceProvider, CoreDbContext dbContext) { _DbContext = dbContext; _DbSet = dbContext.Set <GarmentEMKLModel>(); _IdentityService = serviceProvider.GetService <IIdentityService>(); }
protected BaseUserRequestHandler(IAsyncUserService userService, IIdentityService identityService) { _userService = userService; _identityService = identityService; }
public IdentityController(IIdentityService identityService, IJwtTokenService jwtTokenService) { _identityService = identityService; _jwtTokenService = jwtTokenService; }
public SignupController(IIdentityService iidentityService) { _iidentityService = iidentityService; }
public HomeController(IIdentityService identity, IMarketService market) { IdentityService = identity; MarketService = market; }
public RemoveProjectParticipantCommandHandler(IApplicationDbContext context, ICurrentUserService currentUserService, IIdentityService identityService) { _context = context; _currentUserService = currentUserService; _identityService = identityService; }
public DailyOperationController(IIdentityService identityService, IValidateService validateService, IDailyOperationFacade facade, IMapper mapper) : base(identityService, validateService, facade, mapper, "1.0.0") { _StartDate = DateTime.Now; _EndDate = DateTime.Now.AddDays(-1); }
public UsersFacade(IMapper mapper, IIdentityService identityService) { _mapper = mapper; _identityService = identityService; }
public LoggingBehaviour(ILogger <TRequest> logger, ICurrentUserService currentUserService, IIdentityService identityService) { _logger = logger; _currentUserService = currentUserService; _identityService = identityService; }
public AuthenticationController(IIdentityService identityService, UserManager <IdentityUser> userManager) { _identityService = identityService; _userManager = userManager; }
public EfficiencyLogic(IServiceProvider serviceProvider, IIdentityService identityService, SalesDbContext dbContext) : base(identityService, serviceProvider, dbContext) { this.DbContext = dbContext; }
public Handler(IIdentityService identityService, IMapper mapper) { _identityService = identityService; _mapper = mapper; }
public RO_GarmentsControllerprivate(IIdentityService identityService, IValidateService validateService, IROGarment facade, IMapper mapper, IServiceProvider serviceProvider) : base(identityService, validateService, facade, mapper, apiVersion) { Service = identityService; }
public GetUserStatsQueryHandler(IApplicationDbContext dbContext, IIdentityService identityService) { _dbContext = dbContext; _identityService = identityService; }
public GarmentOmzetTargetController(IIdentityService identityService, IValidateService validateService, IGarmentOmzetTarget facade, IMapper mapper, IServiceProvider serviceProvider) : base(identityService, validateService, facade, mapper, apiVersion) { HttpClientService = serviceProvider.GetService <IHttpClientService>(); }