Esempio n. 1
0
        public static void EndState(this HttpWebResponse response)
        {
            LowPriorityContainer removedState;

            stateContainer.TryRemove(response.ActionId(), out removedState);
            removedState.StateReference.Clear();
        }
Esempio n. 2
0
        public static StateDictionary GetState(this HttpWebResponse response)
        {
            var actionId = response.ActionId();

            return(InitializeState(actionId));
        }