public MvcMaintenanceActionFilterAttribute(IMaintenanceSettingProvider settingProvider)
 {
     _settingProvider = settingProvider;
 }
コード例 #2
0
 public MaintenanceActionFilter(IHostingEnvironment hostingEnvironment, ISessionMessageManager sessionMessageManager, IMaintenanceSettingProvider settingProvider)
 {
     _hostingEnvironment    = hostingEnvironment;
     _sessionMessageManager = sessionMessageManager;
     _settingProvider       = settingProvider;
 }