public RhetosApiController(IRhetosComponent <IProcessingEngine> rhetosProcessingEngine, IUserInfo rhetosUserInfo,
                            IRhetosComponent <ExecutionContext> rhetosExecutionContext)
 {
     this.rhetosProcessingEngine = rhetosProcessingEngine;
     this.rhetosUserInfo         = rhetosUserInfo;
     this.rhetosExecutionContext = rhetosExecutionContext;
 }
 public ImpersonationController(
     IRhetosComponent <IUserInfo> userInfo,
     IRhetosComponent <ImpersonationService> impersonationService,
     IRhetosComponent <ImpersonationContext> rhetosImpersonationContext)
 {
     this.userInfo             = userInfo.Value;
     this.impersonationService = impersonationService.Value;
     this.impersonationContext = rhetosImpersonationContext.Value;
 }
Пример #3
0
 public LightDmsService(
     IRhetosComponent <DownloadHandler> downloadHandler,
     IRhetosComponent <DownloadPreviewHandler> downloadPreviewHandler,
     IRhetosComponent <UploadHandler> uploadHandler)
 {
     _downloadHandler        = downloadHandler;
     _downloadPreviewHandler = downloadPreviewHandler;
     _uploadHandler          = uploadHandler;
 }
Пример #4
0
        public AuthenticationService(
            IRhetosComponent <IUserInfo> userInfo,
            IRhetosComponent <ILogProvider> logProvider,
            IRhetosComponent <Lazy <IAuthorizationManager> > authorizationManager,
            IRhetosComponent <GenericRepositories> repositories,
            IRhetosComponent <Lazy <ISqlExecuter> > sqlExecuter,
            IRhetosComponent <Lazy <IEnumerable <ISendPasswordResetToken> > > sendPasswordResetTokenPlugins,
            IRhetosComponent <ILocalizer> localizer,
            SignInManager <IdentityUser <Guid> > signInManager,
            UserManager <IdentityUser <Guid> > userManager)
        {
            _logger = logProvider.Value.GetLogger("AspNetFormsAuth.AuthenticationService");
            _authorizationManager         = authorizationManager.Value;
            _sqlExecuter                  = sqlExecuter.Value;
            _sendPasswordResetTokenPlugin = new Lazy <ISendPasswordResetToken>(() => SinglePlugin(sendPasswordResetTokenPlugins.Value));
            _userInfo      = userInfo;
            _signInManager = signInManager;
            _userManager   = userManager;

            _passwordStrengthRules = new Lazy <IEnumerable <IPasswordStrength> >(() => repositories.Value.Load <IPasswordStrength>());

            _localizer = localizer.Value;
        }
 public InstalledPackagesSnippet(IRhetosComponent <InstalledPackages> installedPackages, IRhetosComponent <IAuthorizationManager> authorizationManager)
 {
     _installedPackages    = installedPackages;
     _authorizationManager = authorizationManager;
 }
 public ReadDemoEntitiesModel(IRhetosComponent <IProcessingEngine> rhetosProcessingEngine)
 {
     this.rhetosProcessingEngine = rhetosProcessingEngine;
 }
 public DemoComponent2(IRhetosComponent <IDslModel> dslModel)
 {
     this.dslModel = dslModel;
 }
 public ImpersonationDashboardSnippet(IRhetosComponent <IUserInfo> userInfo, IHttpContextAccessor httpContextAccessor)
 {
     _userInfo            = userInfo;
     _httpContextAccessor = httpContextAccessor;
 }
 public RhetosSampleController(IRhetosComponent <IProcessingEngine> processingEngine)
 {
     this.processingEngine = processingEngine;
 }
 public AuthenticationController(IRhetosComponent <IUserInfo> userInfo)
 {
     this.userInfo = userInfo;
 }
Пример #11
0
 public JsonErrorHandler(IRhetosComponent <ILocalizer> rhetosLocalizer)
 {
     this.localizer = rhetosLocalizer.Value;
 }
Пример #12
0
 public ImpersonationController(IUserInfo userInfo, ImpersonationService impersonationService, IRhetosComponent <ImpersonationContext> rhetosImpersonationContext)
 {
     this.userInfo                   = userInfo;
     this.impersonationService       = impersonationService;
     this.rhetosImpersonationContext = rhetosImpersonationContext;
 }
 public QueryParameters(IRhetosComponent <IDomainObjectModel> rhetosDomainObjectModel)
 {
     this.domainObjectModel = rhetosDomainObjectModel.Value;
 }
Пример #14
0
 public ServiceUtility(IRhetosComponent <IProcessingEngine> rhetosProcessingEngine, QueryParameters queryParameters)
 {
     _processingEngine = rhetosProcessingEngine.Value;
     _queryParameters  = queryParameters;
 }
Пример #15
0
 public DemoController(IRhetosComponent <IProcessingEngine> processingEngine, IRhetosComponent <IUnitOfWork> unitOfWork)
 {
     this.processingEngine = processingEngine.Value;
     this.unitOfWork       = unitOfWork.Value;
 }
 public RhetosUserStore(IRhetosComponent <IPersistenceTransaction> persistenceTransaction, IRhetosComponent <ISqlExecuter> sqlExecuter)
 {
     this.persistenceTransaction = persistenceTransaction;
     this.sqlExecuter            = sqlExecuter;
 }
Пример #17
0
 public ApiCommitOnSuccessFilter(IRhetosComponent <IPersistenceTransaction> rhetosPersistenceTransaction)
 {
     this.rhetosPersistenceTransaction = rhetosPersistenceTransaction;
 }
 public MyRhetosController(IRhetosComponent <IProcessingEngine> rhetosProcessingEngine)
 {
     this.rhetosProcessingEngine = rhetosProcessingEngine;
 }