/// <inheritdoc /> public bool TryGetValue(int key, out TTo value) { TFrom tempValue; bool success = basePhased.TryGetValue(key, out tempValue); if (success) { value = getTransform(tempValue); } else { value = default(TTo); } return(success); }
/// <inheritdoc /> public bool TryGetValue(int key, out T value) { TFrom val; bool success = basePhased.TryGetValue(key, out val); if (success) { value = getTransform(val); } else { value = default(T); } return(success); }