C# 클래스 MiniTwitter.Net.WeakReferenceCache

一个值可回收的StatusID-status字典,用作缓存
파일 보기 프로젝트 열기: iyomumx/MiniTwitter-Mod

공개 메소드들

메소드 설명
CompressCache ( ) : long

从缓存中剔除已被回收的项

ContainsKey ( ulong key ) : bool
GetDeadItems ( ) : WeakReference>>.List
GetDictionary ( ) : Status>.Dictionary
TryAdd ( ulong key, Status value ) : bool
TryGetValue ( ulong key, Status &value ) : bool
WeakReferenceCache ( ) : System

메소드 상세

CompressCache() 공개 메소드

从缓存中剔除已被回收的项
public CompressCache ( ) : long
리턴 long

ContainsKey() 공개 메소드

public ContainsKey ( ulong key ) : bool
key ulong
리턴 bool

GetDeadItems() 공개 메소드

public GetDeadItems ( ) : WeakReference>>.List
리턴 WeakReference>>.List

GetDictionary() 공개 메소드

public GetDictionary ( ) : Status>.Dictionary
리턴 Status>.Dictionary

TryAdd() 공개 메소드

public TryAdd ( ulong key, Status value ) : bool
key ulong
value MiniTwitter.Net.Twitter.Status
리턴 bool

TryGetValue() 공개 메소드

public TryGetValue ( ulong key, Status &value ) : bool
key ulong
value MiniTwitter.Net.Twitter.Status
리턴 bool

WeakReferenceCache() 공개 메소드

public WeakReferenceCache ( ) : System
리턴 System