Пример #1
0
 public PersistedGrantsController(
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator,
     IPersistedGrantAppService persistedGrantAppService) : base(notifications, mediator)
 {
     _persistedGrantAppService = persistedGrantAppService;
 }
        public PersistedGrantAppServiceTests(WarmupInMemory inMemoryData)
        {
            InMemoryData    = inMemoryData;
            _persistedGrant = InMemoryData.Services.GetRequiredService <IPersistedGrantAppService>();
            _database       = InMemoryData.Services.GetRequiredService <JpProjectAdminUiContext>();
            var notifications = (DomainNotificationHandler)InMemoryData.Services.GetRequiredService <INotificationHandler <DomainNotification> >();

            notifications.Clear();
        }
Пример #3
0
 public PersistedGrantsController(
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator,
     IPersistedGrantAppService persistedGrantAppService,
     ISystemUser systemUser,
     UserManager <UserIdentity> manager) : base(notifications, mediator)
 {
     _persistedGrantAppService = persistedGrantAppService;
     _systemUser = systemUser;
     _manager    = manager;
 }
Пример #4
0
 public PersistedGrantController(IPersistedGrantAppService persistedGrantService)
 {
     this._persistedGrantService = persistedGrantService;
 }
Пример #5
0
 public EditModalModel(IPersistedGrantAppService persistedGrantAppService)
 {
     _persistedGrantAppService = persistedGrantAppService;
 }