RequestEventArgs.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // **********************************************************************************
  2. // CassiniDev - http://cassinidev.codeplex.com
  3. //
  4. // Copyright (c) 2010 Sky Sanders. All rights reserved.
  5. //
  6. // This source code is subject to terms and conditions of the Microsoft Public
  7. // License (Ms-PL). A copy of the license can be found in the license.txt file
  8. // included in this distribution.
  9. //
  10. // You must not remove this notice, or any other, from this software.
  11. //
  12. // **********************************************************************************
  13. #region
  14. using System;
  15. using CassiniDev.ServerLog;
  16. #endregion
  17. namespace CassiniDev
  18. {
  19. public class RequestEventArgs : EventArgs
  20. {
  21. private readonly Guid _id;
  22. private readonly LogInfo _requestLog;
  23. private readonly LogInfo _responseLog;
  24. public RequestEventArgs(Guid id, LogInfo requestLog, LogInfo responseLog)
  25. {
  26. _requestLog = requestLog;
  27. _responseLog = responseLog;
  28. _id = id;
  29. }
  30. public Guid Id
  31. {
  32. get { return _id; }
  33. }
  34. public LogInfo RequestLog
  35. {
  36. get { return _requestLog; }
  37. }
  38. public LogInfo ResponseLog
  39. {
  40. get { return _responseLog; }
  41. }
  42. }
  43. }