Class CacheHelper<TKey, TValue>
Inheritance
System.Object
CacheHelper<TKey, TValue>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: IL2CPU.Debug.Symbols
Assembly: IL2CPU.Debug.Symbols.Net48.dll
Syntax
public class CacheHelper<TKey, TValue>
where TKey : IEquatable<TKey>
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
Constructors
| Improve this Doc View SourceCacheHelper(Func<TKey, TValue>)
Declaration
public CacheHelper(Func<TKey, TValue> getValueFunc)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TKey, TValue> | getValueFunc |
Methods
| Improve this Doc View SourceGetValue(TKey)
Declaration
public TValue GetValue(TKey key)
Parameters
Type | Name | Description |
---|---|---|
TKey | key |
Returns
Type | Description |
---|---|
TValue |