public static void EndState(this HttpWebResponse response) { LowPriorityContainer removedState; stateContainer.TryRemove(response.ActionId(), out removedState); removedState.StateReference.Clear(); }
public static StateDictionary GetState(this HttpWebResponse response) { var actionId = response.ActionId(); return(InitializeState(actionId)); }