コード例 #1
0
        public AspNetRuntimeCache(IHttpRuntime httpRuntime, ISystemClock systemClock)
        {
            systemClock.ThrowIfNull("systemClock");
            systemClock.ThrowIfNull("systemClock");

            _httpRuntime = httpRuntime;
            _systemClock = systemClock;
        }
コード例 #2
0
        public AspNetRuntimeCache(IHttpRuntime httpRuntime, ISystemClock systemClock)
        {
            systemClock.ThrowIfNull("systemClock");
            systemClock.ThrowIfNull("systemClock");

            _httpRuntime = httpRuntime;
            _systemClock = systemClock;
        }
コード例 #3
0
        public CssBundleWatcherRoute(string name, Guid id, string relativePath, BundleWatcher watcher, IHttpRuntime httpRuntime, ISystemClock systemClock)
            : base(name, id, relativePath, watcher, httpRuntime)
        {
            systemClock.ThrowIfNull("systemClock");

            _systemClock = systemClock;
        }
コード例 #4
0
        public JavaScriptBundleWatcherRoute(string name, IGuidFactory guidFactory, string relativePath, BundleWatcher watcher, IHttpRuntime httpRuntime, ISystemClock systemClock)
            : base(name, guidFactory, relativePath, watcher, httpRuntime)
        {
            systemClock.ThrowIfNull("systemClock");

            _systemClock = systemClock;
        }
コード例 #5
0
        public FormsAuthenticationHelper(IFormsAuthenticationConfiguration configuration, ISystemClock systemClock)
        {
            configuration.ThrowIfNull("configuration");
            systemClock.ThrowIfNull("systemClock");

            _configuration = configuration;
            _systemClock   = systemClock;
        }
コード例 #6
0
		public FormsAuthenticationHelper(IFormsAuthenticationConfiguration configuration, ISystemClock systemClock)
		{
			configuration.ThrowIfNull("configuration");
			systemClock.ThrowIfNull("systemClock");

			_configuration = configuration;
			_systemClock = systemClock;
		}
コード例 #7
0
        public DefaultNonceValidator(IAntiCsrfConfiguration configuration, IAntiCsrfNonceRepository nonceRepository, ISystemClock systemClock)
        {
            configuration.ThrowIfNull("configuration");
            nonceRepository.ThrowIfNull("nonceRepository");
            systemClock.ThrowIfNull("systemClock");

            _configuration   = configuration;
            _nonceRepository = nonceRepository;
            _systemClock     = systemClock;
        }
コード例 #8
0
		public DefaultNonceValidator(IAntiCsrfConfiguration configuration, IAntiCsrfNonceRepository nonceRepository, ISystemClock systemClock)
		{
			configuration.ThrowIfNull("configuration");
			nonceRepository.ThrowIfNull("nonceRepository");
			systemClock.ThrowIfNull("systemClock");

			_configuration = configuration;
			_nonceRepository = nonceRepository;
			_systemClock = systemClock;
		}
コード例 #9
0
        public DefaultGenerator(IAntiCsrfConfiguration configuration, IAntiCsrfNonceRepository nonceRepository, IGuidFactory guidFactory, ISystemClock systemClock)
        {
            configuration.ThrowIfNull("configuration");
            nonceRepository.ThrowIfNull("nonceRepository");
            guidFactory.ThrowIfNull("guidFactory");
            systemClock.ThrowIfNull("systemClock");

            _configuration   = configuration;
            _nonceRepository = nonceRepository;
            _guidFactory     = guidFactory;
            _systemClock     = systemClock;
        }
コード例 #10
0
		public DefaultGenerator(IAntiCsrfConfiguration configuration, IAntiCsrfNonceRepository nonceRepository, IGuidFactory guidFactory, ISystemClock systemClock)
		{
			configuration.ThrowIfNull("configuration");
			nonceRepository.ThrowIfNull("nonceRepository");
			guidFactory.ThrowIfNull("guidFactory");
			systemClock.ThrowIfNull("systemClock");

			_configuration = configuration;
			_nonceRepository = nonceRepository;
			_guidFactory = guidFactory;
			_systemClock = systemClock;
		}
コード例 #11
0
        public CacheableResponseHandler(ISystemClock systemClock)
        {
            systemClock.ThrowIfNull("systemClock");

            _systemClock = systemClock;
        }
コード例 #12
0
		public CacheableResponseHandler(ISystemClock systemClock)
		{
			systemClock.ThrowIfNull("systemClock");

			_systemClock = systemClock;
		}
コード例 #13
0
        public FormsAuthenticationHelper(ISystemClock systemClock)
        {
            systemClock.ThrowIfNull("systemClock");

            _systemClock = systemClock;
        }