public bool TryGetValue <T>(TypedKey <T> key, out T value) { object result = table[key]; if (result == null) { value = default(T); return(false); } value = (T)result; return(true); }
public void Add <T>(TypedKey <T> key, T value) { this.table.Add(key, value); }
public bool Contains <T>(TypedKey <T> key) { return(table.Contains(key)); }