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); }
//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; }
public SystemSettingsController(ISystemConfigurationProvider configurationProvider, ITestSmtpSettings testSmtpSettings, IStringResourceProvider resourceProvider) { _configurationProvider = configurationProvider; _testSmtpSettings = testSmtpSettings; _resourceProvider = resourceProvider; }
public EnsureDatabaseIsInstalled(ISystemConfigurationProvider systemConfigurationProvider) { _systemConfigurationProvider = systemConfigurationProvider; }
public SystemSettingsModelBinder(IKernel kernel, ISystemConfigurationProvider configurationProvider) : base(kernel) { _configurationProvider = configurationProvider; }
public ShellFactory(ISystemConfigurationProvider systemConfigurationProvider) { this.systemConfigurationProvider = systemConfigurationProvider; }
public ThirdPartyAuthSettingsModelBinder(IKernel kernel, ISystemConfigurationProvider configurationProvider) : base(kernel) { _configurationProvider = configurationProvider; }
public DatabaseCreationService(IKernel kernel, ISystemConfigurationProvider systemConfigurationProvider) { _kernel = kernel; _systemConfigurationProvider = systemConfigurationProvider; }
public SystemSettingsController(ISystemConfigurationProvider configurationProvider) { _configurationProvider = configurationProvider; }
public ThirdPartyAuthSettingsAdminService(ISystemConfigurationProvider configurationProvider) { _configurationProvider = configurationProvider; }
public SecurityOptionsController(ISystemConfigurationProvider configurationProvider, IRoleAdminService roleAdminService) { _configurationProvider = configurationProvider; _roleAdminService = roleAdminService; }