C# 클래스 Composable.GenericAbstractions.Time.DummyTimeSource

Just statically returns whatever value was assigned.
상속: IUtcTimeTimeSource
파일 보기 프로젝트 열기: mlidbom/Composable.Monolithic 1 사용 예제들

공개 메소드들

메소드 설명
FromLocalTime ( System.DateTime localTime ) : DummyTimeSource

Returns a timesource that will forever return as the current time.

FromÚtcTime ( System.DateTime utcTime ) : DummyTimeSource

Returns a timesource that will forever return as the current time.

비공개 메소드들

메소드 설명
DummyTimeSource ( System.DateTime utcNow ) : System
NotifyListeners ( ) : void

메소드 상세

FromLocalTime() 공개 정적인 메소드

Returns a timesource that will forever return as the current time.
public static FromLocalTime ( System.DateTime localTime ) : DummyTimeSource
localTime System.DateTime
리턴 DummyTimeSource

FromÚtcTime() 공개 정적인 메소드

Returns a timesource that will forever return as the current time.
public static FromÚtcTime ( System.DateTime utcTime ) : DummyTimeSource
utcTime System.DateTime
리턴 DummyTimeSource