示例#1
0
        public static T GetValue(ContextKeys key)
        {
            var currentKey = Directory[key];

            RemoveKey(key);
            return(currentKey);
        }
示例#2
0
 public static void Add(ContextKeys key, T value)
 {
     Directory.Add(key, value);
 }
示例#3
0
 public static void RemoveKey(ContextKeys key)
 {
     Directory.Remove(key);
 }