public OwinDashboardContext(
            [NotNull] JobStorage storage,
            [NotNull] DashboardOptions options,
            [NotNull] IDictionary<string, object> environment) 
            : base(storage, options)
        {
            if (environment == null) throw new ArgumentNullException(nameof(environment));

            Environment = environment;
            Request = new OwinDashboardRequest(environment);
            Response = new OwinDashboardResponse(environment);
        }
Beispiel #2
0
        public OwinDashboardContext(
            [NotNull] JobStorage storage,
            [NotNull] DashboardOptions options,
            [NotNull] IDictionary <string, object> environment)
            : base(storage, options)
        {
            if (environment == null)
            {
                throw new ArgumentNullException(nameof(environment));
            }

            Environment = environment;
            Request     = new OwinDashboardRequest(environment);
            Response    = new OwinDashboardResponse(environment);
        }