Method Add
Add(T?)
Adds an item (increments refcount). If it already exists, refcount is incremented and its recency is bumped to most-recent. Returns a token that decrements the refcount on Dispose().
Declaration
public IDisposable Add(T? item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Returns
Type | Description |
---|---|
IDisposable |