public WorkTrackerController(
     Address address,
     ContractRegistry registry,
     Address permissionManager,
     WorkEventLog eventLog,
     List <TrackerGuardBase> trackGuards,
     WorkTracker workTracker)
     : base(address, registry, permissionManager)
 {
     this.workTracker =
         workTracker ?? new WorkTracker(null, null, this.Address);
     this.eventLog =
         eventLog ?? new WorkEventLog(30, new HashSet <WorkEventArgs>(), this.workTracker);
 }
Ejemplo n.º 2
0
 public TrackerGuardBase(string name, WorkEventLog eventLog)
 {
     this.Name     = name;
     this.EventLog = eventLog ?? throw new NullReferenceException();
 }