Method | Description | |
---|---|---|
GetOrAdd ( |
Gets a value directly from the cache or first calculates that value and writes it the cache.
|
public GetOrAdd ( |
||
key | The 32-bit color code. | |
factory | byte>.Func | The factory that would calculate a result if it's not already in the cache. |
return | byte |