示例#1
0
 public ActorUtil(Actor_SansType _actor, ActinClock clock)
 {
     if (clock == null)
     {
         throw new ArgumentNullException("clock may not be null");
     }
     this.clock = clock;
     this.actor = _actor;
     this.Log   = new LogDispatcherForActor(new LogDispatcher(clock), _actor);
     if (_actor != null)
     {
         this.Log.AddDestination(_actor.ActorLog);
     }
 }
示例#2
0
 internal void SetClock(ActinClock time)
 {
     this.time = time;
 }