public MonitorImpl(ProgressCollector collector, MonitorImpl parent, double scaleFactor, CancellationToken cancellationToken) { this.parent = parent; this.collector = collector; this.scaleFactor = scaleFactor; this.cancellationToken = cancellationToken; }
public ProgressCollector(ISynchronizeInvoke eventThread, CancellationToken cancellationToken) { if (eventThread == null) throw new ArgumentNullException("eventThread"); this.eventThread = eventThread; this.cancellationToken = cancellationToken; this.root = new MonitorImpl(this, null, 1); }
public ProgressCollector(ISynchronizeInvoke eventThread, CancellationToken cancellationToken) { if (eventThread == null) { throw new ArgumentNullException("eventThread"); } this.eventThread = eventThread; this.root = new MonitorImpl(this, null, 1, cancellationToken); }
public Timer(string name) { Name = name; monitor = new MonitorImpl(this); ((List <Timer>)All).Add(this); }
public MonitorImpl(ProgressCollector collector, MonitorImpl parent, double scaleFactor) { this.collector = collector; this.parent = parent; this.scaleFactor = scaleFactor; }
public Timer(string name) { Name = name; monitor = new MonitorImpl (this); ((List<Timer>)All).Add (this); }