Пример #1
0
 public MonitorImpl(ProgressCollector collector, MonitorImpl parent, double scaleFactor, CancellationToken cancellationToken)
 {
     this.parent            = parent;
     this.collector         = collector;
     this.scaleFactor       = scaleFactor;
     this.cancellationToken = cancellationToken;
 }
Пример #2
0
		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);
		}
Пример #3
0
 public ProgressCollector(ISynchronizeInvoke eventThread, CancellationToken cancellationToken)
 {
     if (eventThread == null)
     {
         throw new ArgumentNullException("eventThread");
     }
     this.eventThread = eventThread;
     this.root        = new MonitorImpl(this, null, 1, cancellationToken);
 }
Пример #4
0
 public Timer(string name)
 {
     Name    = name;
     monitor = new MonitorImpl(this);
     ((List <Timer>)All).Add(this);
 }
Пример #5
0
 public MonitorImpl(ProgressCollector collector, MonitorImpl parent, double scaleFactor)
 {
     this.collector   = collector;
     this.parent      = parent;
     this.scaleFactor = scaleFactor;
 }
Пример #6
0
			public MonitorImpl(ProgressCollector collector, MonitorImpl parent, double scaleFactor)
			{
				this.collector = collector;
				this.parent = parent;
				this.scaleFactor = scaleFactor;
			}
Пример #7
0
 public Timer(string name)
 {
     Name = name;
     monitor = new MonitorImpl (this);
     ((List<Timer>)All).Add (this);
 }