예제 #1
0
        public static void EndState(this HttpWebResponse response)
        {
            LowPriorityContainer removedState;

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

            return(InitializeState(actionId));
        }