コード例 #1
0
        private static object GetValue(Type type, IContext context)
        {
            ISystemConfigurationProvider configProvider =
                context.Kernel.Get <ISystemConfigurationProvider>();
            MethodInfo method =
                typeof(ISystemConfigurationProvider).GetMethodExt("GetSystemSettings");

            return(method != null
                ? method.MakeGenericMethod(type)
                   .Invoke(configProvider,
                           new object[] {})
                : null);
        }
コード例 #2
0
 //private readonly INotificationHubService _notificationHubService;
 public ClaimService(ISession session, IUserService userservice, IHelperService helpersvc, IServicesService servicesvc, IPlanService plansvc, IUniquePageService uniquepage, ITariffService tariffservice, IRoleService roleService, ISystemConfigurationProvider systemConfigurationProvider, IProviderService providerSvc, IEmailSender emailSender, MailSettings mailSettings)
 {
     _session                     = session;
     _userService                 = userservice;
     _helpersvc                   = helpersvc;
     _servicevc                   = servicesvc;
     _plansvc                     = plansvc;
     _uniquePageService           = uniquepage;
     _tariffService               = tariffservice;
     _roleSvc                     = roleService;
     _systemConfigurationProvider = systemConfigurationProvider;
     _providersvc                 = providerSvc;
     _emailSender                 = emailSender;
     _mailSettings                = mailSettings;
     //_notificationHubService = notificationHub;
 }
コード例 #3
0
 public SystemSettingsController(ISystemConfigurationProvider configurationProvider, ITestSmtpSettings testSmtpSettings, IStringResourceProvider resourceProvider)
 {
     _configurationProvider = configurationProvider;
     _testSmtpSettings      = testSmtpSettings;
     _resourceProvider      = resourceProvider;
 }
コード例 #4
0
 public EnsureDatabaseIsInstalled(ISystemConfigurationProvider systemConfigurationProvider)
 {
     _systemConfigurationProvider = systemConfigurationProvider;
 }
コード例 #5
0
 public SystemSettingsModelBinder(IKernel kernel, ISystemConfigurationProvider configurationProvider) : base(kernel)
 {
     _configurationProvider = configurationProvider;
 }
コード例 #6
0
ファイル: ShellFactory.cs プロジェクト: alexkreskiyan/dockman
 public ShellFactory(ISystemConfigurationProvider systemConfigurationProvider)
 {
     this.systemConfigurationProvider = systemConfigurationProvider;
 }
コード例 #7
0
 public ThirdPartyAuthSettingsModelBinder(IKernel kernel, ISystemConfigurationProvider configurationProvider) : base(kernel)
 {
     _configurationProvider = configurationProvider;
 }
コード例 #8
0
 public DatabaseCreationService(IKernel kernel,
     ISystemConfigurationProvider systemConfigurationProvider)
 {
     _kernel = kernel;
     _systemConfigurationProvider = systemConfigurationProvider;
 }
コード例 #9
0
 public DatabaseCreationService(IKernel kernel,
                                ISystemConfigurationProvider systemConfigurationProvider)
 {
     _kernel = kernel;
     _systemConfigurationProvider = systemConfigurationProvider;
 }
コード例 #10
0
 public EnsureDatabaseIsInstalled(ISystemConfigurationProvider systemConfigurationProvider)
 {
     _systemConfigurationProvider = systemConfigurationProvider;
 }
コード例 #11
0
 public SystemSettingsController(ISystemConfigurationProvider configurationProvider)
 {
     _configurationProvider = configurationProvider;
 }
コード例 #12
0
 public ThirdPartyAuthSettingsAdminService(ISystemConfigurationProvider configurationProvider)
 {
     _configurationProvider = configurationProvider;
 }
コード例 #13
0
 public SystemSettingsController(ISystemConfigurationProvider configurationProvider)
 {
     _configurationProvider = configurationProvider;
 }
コード例 #14
0
 public ThirdPartyAuthSettingsAdminService(ISystemConfigurationProvider configurationProvider)
 {
     _configurationProvider = configurationProvider;
 }
コード例 #15
0
 public SecurityOptionsController(ISystemConfigurationProvider configurationProvider, IRoleAdminService roleAdminService)
 {
     _configurationProvider = configurationProvider;
     _roleAdminService      = roleAdminService;
 }