EntryWrittenEventArgs.cs 522 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // System.Diagnostics.EntryWrittenEventArgs.cs
  3. //
  4. // Authors:
  5. // Jonathan Pryor ([email protected])
  6. //
  7. // (C) 2002
  8. //
  9. using System;
  10. using System.Diagnostics;
  11. using System.Runtime.InteropServices;
  12. namespace System.Diagnostics {
  13. public class EntryWrittenEventArgs : EventArgs {
  14. private EventLogEntry entry;
  15. public EntryWrittenEventArgs () : this (null)
  16. {
  17. }
  18. public EntryWrittenEventArgs (EventLogEntry entry)
  19. {
  20. this.entry = entry;
  21. }
  22. public EventLogEntry Entry {
  23. get {return entry;}
  24. }
  25. }
  26. }