C# 클래스 Memoizer.NET.MemoizerConfiguration

Immutable value class representing a memoizer configuration - used for creating memoizer instances.
파일 보기 프로젝트 열기: eirikt/Memoizer.NET 1 사용 예제들

Private Properties

프로퍼티 타입 설명
MemoizerConfiguration System

공개 메소드들

메소드 설명
Equals ( object otherObject ) : bool
GetHashCode ( ) : int

MemoizerConfiguration hash code format: 5 digits with function ID + 5 digits hash of the rest. 2^31 == 2 147 483 648 == 21474 83648 => max 21474 different Funcs, and 83648 different expiration configurations... This has clearly limitations, but it's OK as a proof-of-concept, I guess - it's fixable :-)

비공개 메소드들

메소드 설명
MemoizerConfiguration ( object function, ExpirationType expirationType, int expirationValue, TimeUnit expirationTimeUnit, Action loggerMethod ) : System

메소드 상세

Equals() 공개 메소드

public Equals ( object otherObject ) : bool
otherObject object
리턴 bool

GetHashCode() 공개 메소드

MemoizerConfiguration hash code format: 5 digits with function ID + 5 digits hash of the rest. 2^31 == 2 147 483 648 == 21474 83648 => max 21474 different Funcs, and 83648 different expiration configurations... This has clearly limitations, but it's OK as a proof-of-concept, I guess - it's fixable :-)
public GetHashCode ( ) : int
리턴 int