Mercurial > pub > bltoolkit
annotate Source/Data/OperationExceptionEventArgs.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
rev | line source |
---|---|
0 | 1 namespace BLToolkit.Data |
2 { | |
3 public delegate void OperationExceptionEventHandler(object sender, OperationExceptionEventArgs ea); | |
4 | |
5 public class OperationExceptionEventArgs : OperationTypeEventArgs | |
6 { | |
7 private readonly DataException _exception; | |
8 public DataException Exception | |
9 { | |
10 get { return _exception; } | |
11 } | |
12 | |
13 public OperationExceptionEventArgs(OperationType operation, DataException exception) | |
14 : base (operation) | |
15 { | |
16 _exception = exception; | |
17 } | |
18 } | |
19 } |