示例#1
0
 public TimerCallback(Action aCallback, TimerThread aTimerThread, Strand aStrand)
 {
     iCallback = aCallback;
     iTimerThread = aTimerThread;
     iStrand = aStrand;
 }
示例#2
0
文件: AppsState.cs 项目: weeble/ohos
 public AppsStateFactory(ITabStatusListener aTabListener, Func<DateTime> aClock, ServerTabTimeoutPolicy aTimeoutPolicy, UserList aUserList)
 {
     iAppsStateThread = new Strand();
     iTabStatusQueue = new TabStatusQueue(aTabListener);
     iTimeoutPolicy = aTimeoutPolicy;
     iUserList = aUserList;
     iClock = aClock;
     iTimerThread = new TimerThread(iClock);
 }