public static T GetValue(ContextKeys key) { var currentKey = Directory[key]; RemoveKey(key); return(currentKey); }
public static void Add(ContextKeys key, T value) { Directory.Add(key, value); }
public static void RemoveKey(ContextKeys key) { Directory.Remove(key); }