Winify – Blame information for rev 30
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
30 | office | 1 | using System.Collections.Generic; |
2 | using System.Xml.Schema; |
||
3 | using Horizon.Utilities.Serialization; |
||
4 | |||
5 | namespace Winify.Utilities.Serialization |
||
6 | { |
||
7 | public class SerializationSuccess<T> : SerializationState |
||
8 | { |
||
9 | #region Public Enums, Properties and Fields |
||
10 | |||
11 | public T Result { get; } |
||
12 | |||
13 | public List<ValidationEventArgs> ValidationEventArgs { get; } |
||
14 | |||
15 | #endregion |
||
16 | |||
17 | #region Constructors, Destructors and Finalizers |
||
18 | |||
19 | public SerializationSuccess() |
||
20 | { |
||
21 | } |
||
22 | |||
23 | public SerializationSuccess(T result) : this() |
||
24 | { |
||
25 | Result = result; |
||
26 | } |
||
27 | |||
28 | public SerializationSuccess(T result, |
||
29 | List<ValidationEventArgs> validationEventArgs) : this(result) |
||
30 | { |
||
31 | ValidationEventArgs = validationEventArgs; |
||
32 | } |
||
33 | |||
34 | #endregion |
||
35 | } |
||
36 | } |