コード例 #1
0
 public RhetosApiController(IRhetosComponent <IProcessingEngine> rhetosProcessingEngine, IUserInfo rhetosUserInfo,
                            IRhetosComponent <ExecutionContext> rhetosExecutionContext)
 {
     this.rhetosProcessingEngine = rhetosProcessingEngine;
     this.rhetosUserInfo         = rhetosUserInfo;
     this.rhetosExecutionContext = rhetosExecutionContext;
 }
コード例 #2
0
 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;
        }
コード例 #5
0
 public InstalledPackagesSnippet(IRhetosComponent <InstalledPackages> installedPackages, IRhetosComponent <IAuthorizationManager> authorizationManager)
 {
     _installedPackages    = installedPackages;
     _authorizationManager = authorizationManager;
 }
コード例 #6
0
 public ReadDemoEntitiesModel(IRhetosComponent <IProcessingEngine> rhetosProcessingEngine)
 {
     this.rhetosProcessingEngine = rhetosProcessingEngine;
 }
コード例 #7
0
 public DemoComponent2(IRhetosComponent <IDslModel> dslModel)
 {
     this.dslModel = dslModel;
 }
コード例 #8
0
 public ImpersonationDashboardSnippet(IRhetosComponent <IUserInfo> userInfo, IHttpContextAccessor httpContextAccessor)
 {
     _userInfo            = userInfo;
     _httpContextAccessor = httpContextAccessor;
 }
コード例 #9
0
 public RhetosSampleController(IRhetosComponent <IProcessingEngine> processingEngine)
 {
     this.processingEngine = processingEngine;
 }
コード例 #10
0
 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;
 }
コード例 #13
0
 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;
 }
コード例 #16
0
 public RhetosUserStore(IRhetosComponent <IPersistenceTransaction> persistenceTransaction, IRhetosComponent <ISqlExecuter> sqlExecuter)
 {
     this.persistenceTransaction = persistenceTransaction;
     this.sqlExecuter            = sqlExecuter;
 }
コード例 #17
0
 public ApiCommitOnSuccessFilter(IRhetosComponent <IPersistenceTransaction> rhetosPersistenceTransaction)
 {
     this.rhetosPersistenceTransaction = rhetosPersistenceTransaction;
 }
コード例 #18
0
 public MyRhetosController(IRhetosComponent <IProcessingEngine> rhetosProcessingEngine)
 {
     this.rhetosProcessingEngine = rhetosProcessingEngine;
 }