- Timestamp:
- 10/05/09 01:48:35 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.BackgroundProcessing/3.2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.BackgroundProcessing/3.2/DispatchedView.cs
r2404 r2408 11 11 12 12 namespace HeuristicLab.BackgroundProcessing { 13 14 13 /// <summary> 15 14 /// Takes an <code>ObservableEnumerable</code> and transfers all events to the … … 19 18 /// <typeparam name="T"></typeparam> 20 19 public class DispatchedView<T> : ObservableEnumerable<T> where T : class { 21 22 20 private List<T> cache; 23 21 private ObservableEnumerable<T> source; … … 51 49 if (CollectionChanged != null) 52 50 CollectionChanged(this, args); 53 } 51 } 54 52 55 53 public IEnumerator<T> GetEnumerator() { -
trunk/sources/HeuristicLab.BackgroundProcessing/3.2/HeuristicLabBackgroundProcessingPlugin.cs
r2404 r2408 2 2 3 3 namespace HeuristicLab.BackgroundProcessing { 4 5 4 [ClassInfo(Name = "HeuristicLab.BackgroundProcessing-3.2")] 6 [PluginFile(Filename = "HeuristicLab.BackgroundProcessing-3.2.dll", Filetype = PluginFileType.Assembly)] 7 public class HeuristicLabBackgroundProcessingPlugin : PluginBase { }5 [PluginFile(Filename = "HeuristicLab.BackgroundProcessing-3.2.dll", Filetype = PluginFileType.Assembly)] 6 public class HeuristicLabBackgroundProcessingPlugin : PluginBase { } 8 7 } -
trunk/sources/HeuristicLab.BackgroundProcessing/3.2/ObservableBackgroundWorker.cs
r2404 r2408 8 8 9 9 namespace HeuristicLab.BackgroundProcessing { 10 11 10 /// <summary> 12 11 /// Extends the BackgroundWorker to make it easier to follow progress and automatically … … 14 13 /// </summary> 15 14 public class ObservableBackgroundWorker : BackgroundWorker, INotifyPropertyChanged { 16 17 15 public string Name { get; private set; } 18 16 public int Progress { get; private set; } … … 63 61 } 64 62 } 65 63 66 64 protected void OnWorkerStarted() { 67 65 if (WorkerStarted != null) -
trunk/sources/HeuristicLab.BackgroundProcessing/3.2/ObservableEnumerable.cs
r2404 r2408 5 5 6 6 namespace HeuristicLab.BackgroundProcessing { 7 8 7 /// <summary> 9 8 /// Combines <code>IEnumerable>T<"/></code> and <code>INotifyCollectionChanged</code> into 10 /// a single interface 9 /// a single interface. 11 10 /// </summary> 12 11 /// <typeparam name="T"></typeparam> 13 12 public interface ObservableEnumerable<T> : IEnumerable<T>, INotifyCollectionChanged where T : class { } 14 15 13 } -
trunk/sources/HeuristicLab.BackgroundProcessing/3.2/WorkerMonitor.cs
r2404 r2408 10 10 11 11 namespace HeuristicLab.BackgroundProcessing { 12 13 14 12 /// <summary> 15 13 /// Provides a list of all currently running or pending ObservableBackgroundWorkers. 16 14 /// </summary> 17 15 public class WorkerMonitor : ObservableEnumerable<ObservableBackgroundWorker> { 18 19 16 public static WorkerMonitor Default = new WorkerMonitor(); 20 17
Note: See TracChangeset
for help on using the changeset viewer.