示例#1
0
 public void Subscribe(Clock theClock)
 {
     theClock.OnSecondChange += new Clock.SecondChangeHandler(WriteLogEntry);
 }
示例#2
0
 public void Subscribe(Clock theClock)
 {
     theClock.OnSecondChange += new Clock.SecondChangeHandler(TimeHasChanged);
 }