Пример #1
0
        public FosAppBuilder(CancellationToken cancelToken)
        {
            properties     = new Dictionary <string, object>();
            RootMiddleware = new FosOwinRoot();

            //WARN: Non standard Owin header. Used by Nancy
            OnAppDisposing = cancelToken;
            properties.Add("host.OnAppDisposing", cancelToken);
        }
Пример #2
0
        public FosAppBuilder(CancellationToken cancelToken)
        {
            properties = new Dictionary<string, object>();
            RootMiddleware = new FosOwinRoot();

            //WARN: Non standard Owin header. Used by Nancy
            OnAppDisposing = cancelToken;
            properties.Add("host.OnAppDisposing", cancelToken);
        }