LRUCache<TKey,TValue> 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| LRUCache<TKey,TValue>(Int32) |
캐시의 슬롯 수에 따라 제한을 사용하여 LRU 캐시의 새 인스턴스를 생성합니다. |
| LRUCache<TKey,TValue>(Int32, Int32, Func<TValue,Int32>) |
슬롯 수 및 메모리 크기 제한에 따라 제한을 사용하여 LRU 캐시의 새 인스턴스를 생성합니다. |
LRUCache<TKey,TValue>(Int32)
캐시의 슬롯 수에 따라 제한을 사용하여 LRU 캐시의 새 인스턴스를 생성합니다.
public LRUCache (int entryLimit);
new MonoTouch.Dialog.Utilities.LRUCache<'Key, 'Value (requires 'Value : null and 'Value :> IDisposable)> : int -> MonoTouch.Dialog.Utilities.LRUCache<'Key, 'Value (requires 'Value : null and 'Value :> IDisposable)>
매개 변수
- entryLimit
- Int32
LRU 캐시의 최대 항목 수입니다.
적용 대상
LRUCache<TKey,TValue>(Int32, Int32, Func<TValue,Int32>)
슬롯 수 및 메모리 크기 제한에 따라 제한을 사용하여 LRU 캐시의 새 인스턴스를 생성합니다.
public LRUCache (int entryLimit, int sizeLimit, Func<TValue,int> slotSizer);
new MonoTouch.Dialog.Utilities.LRUCache<'Key, 'Value (requires 'Value : null and 'Value :> IDisposable)> : int * int * Func<'Value, int (requires 'Value : null and 'Value :> IDisposable)> -> MonoTouch.Dialog.Utilities.LRUCache<'Key, 'Value (requires 'Value : null and 'Value :> IDisposable)>
매개 변수
- entryLimit
- Int32
LRU 캐시의 최대 항목 수입니다.
- sizeLimit
- Int32
메모리에 유지할 최대 바이트 양입니다.