Changeset 10665
- Timestamp:
- 03/26/14 14:39:13 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataPreprocessingChangedEvent.cs
r10580 r10665 30 30 AddRow, 31 31 ChangeItem, 32 Any 32 Any, 33 Transformation 33 34 } 34 35 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/TransactionalPreprocessingData.cs
r10612 r10665 158 158 } 159 159 160 public void InTransaction(Action action ) {161 BeginTransaction( );160 public void InTransaction(Action action, DataPreprocessingChangedEventType type = DataPreprocessingChangedEventType.Any) { 161 BeginTransaction(type); 162 162 action(); 163 163 EndTransaction(); 164 164 } 165 165 166 public void BeginTransaction( ) {167 SaveSnapshot( DataPreprocessingChangedEventType.Any, -1, -1);166 public void BeginTransaction(DataPreprocessingChangedEventType type) { 167 SaveSnapshot(type, -1, -1); 168 168 transactionDepth++; 169 169 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/ITransactionalPreprocessingData.cs
r10612 r10665 30 30 bool IsUndoAvailable { get; } 31 31 void Undo(); 32 void InTransaction(Action action );33 void BeginTransaction( );32 void InTransaction(Action action, DataPreprocessingChangedEventType type = DataPreprocessingChangedEventType.Any); 33 void BeginTransaction(DataPreprocessingChangedEventType type); 34 34 void EndTransaction(); 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.