이 속성의 기본값을 알고 싶습니다. 거짓이라고 생각했지만 사실 인 것 같습니다.
나는이 질문을 찾는 데 5 분을 보냈으며 미래에 누군가가이 시간을 잃지 않게 만들 것입니다 ...
msdn의 응답 기본값은 true입니다 .
http://msdn.microsoft.com/en-us/library/system.timers.timer.autoreset%28v=vs.110%29.aspx
Reflector 기본값 = true의 답변 :
public Timer(double interval) : this()
{
...
}
public Timer()
{
this.interval = 100.0;
this.enabled = false;
//HERE!!!!
this.autoReset = true;
this.initializing = false;
this.delayedEnable = false;
this.callback = new TimerCallback(this.MyTimerCallback);
}
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다