예제 #1
0
        public static void Clean()
        {
            if (HttpContext.Current != null)
            {
                HttpContext.Current.Items[INSTANCEKEY] = null;
                return;
            }

            instance = null;
        }
예제 #2
0
 private PostManManager(PostManManager instance)
 {
     this.hubEvents = instance.hubEvents;
 }
예제 #3
0
        public static void PerRequest()
        {
            var requestInstance = new PostManManager(instance);

            HttpContext.Current.Items[INSTANCEKEY] = requestInstance;
        }