misu – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | using System; |
2 | |||
3 | namespace Configuration |
||
4 | { |
||
5 | public class SerializationState |
||
6 | { |
||
7 | } |
||
8 | |||
9 | public class SerializationFailure : SerializationState |
||
10 | { |
||
11 | #region Public Enums, Properties and Fields |
||
12 | |||
13 | public bool Success { get; } = false; |
||
14 | |||
15 | public Exception Exception { get; set; } |
||
16 | |||
17 | #endregion |
||
18 | } |
||
19 | |||
20 | public class SerializationSuccess<T> : SerializationState |
||
21 | { |
||
22 | #region Public Enums, Properties and Fields |
||
23 | |||
24 | public bool Success { get; } = true; |
||
25 | |||
26 | public string Text { get; set; } |
||
27 | |||
28 | public T Result { get; set; } |
||
29 | |||
30 | #endregion |
||
31 | } |
||
32 | |||
33 | public class SerializationSuccess : SerializationState |
||
34 | { |
||
35 | #region Public Enums, Properties and Fields |
||
36 | |||
37 | public bool Success { get; } = true; |
||
38 | |||
39 | public string Text { get; set; } |
||
40 | |||
41 | #endregion |
||
42 | } |
||
43 | } |