Advertisement
Guest User

Untitled

a guest
Aug 30th, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public class MethodResult<T>
  2. {
  3. public bool Success { get; set; }
  4. public T Result { get; set; }
  5.  
  6. public readonly List<Error> Errors = new List<Error>();
  7.  
  8. public bool HasErrors
  9. {
  10. get
  11. {
  12. return Errors.Count != 0;
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement