diff options
author | Andreas N <andreas@mono-cvs.ximian.com> | 2003-07-06 03:16:07 +0400 |
---|---|---|
committer | Andreas N <andreas@mono-cvs.ximian.com> | 2003-07-06 03:16:07 +0400 |
commit | e1a881b8f8050e148a99af9a4c78cebdc6362ffb (patch) | |
tree | b5057de20a7619c9cb4b917636050c45bad8d757 /mcs/class/System/System.Diagnostics/EventLogEntry.cs | |
parent | 55dfaa78bb92f744e29d35f819b1f943bcb01869 (diff) |
2003-07-05 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* InstanceDataCollectionCollection.cs: Corrected wrong signature
* EventLog.cs: Missing attributes added, redirected some class members
* EventLogEntry.cs: Missing attributes added
* EventLogInstaller.cs: Made internal
svn path=/trunk/mcs/; revision=15968
Diffstat (limited to 'mcs/class/System/System.Diagnostics/EventLogEntry.cs')
-rw-r--r-- | mcs/class/System/System.Diagnostics/EventLogEntry.cs | 164 |
1 files changed, 93 insertions, 71 deletions
diff --git a/mcs/class/System/System.Diagnostics/EventLogEntry.cs b/mcs/class/System/System.Diagnostics/EventLogEntry.cs index 32fb4533254..824cd57b4d2 100644 --- a/mcs/class/System/System.Diagnostics/EventLogEntry.cs +++ b/mcs/class/System/System.Diagnostics/EventLogEntry.cs @@ -3,8 +3,10 @@ // // Authors: // Jonathan Pryor (jonpryor@vt.edu) +// Andreas Nahr (ClassDevelopment@A-SoftTech.com) // // (C) 2002 +// (C) 2003 Andreas Nahr // using System; @@ -16,6 +18,7 @@ namespace System.Diagnostics { [Serializable] [MonoTODO("Just stubbed out")] + [ToolboxItem (""), DesignTimeVisible (false), DesignerCategory ("Category")] public sealed class EventLogEntry : Component, ISerializable { [MonoTODO] @@ -23,77 +26,96 @@ namespace System.Diagnostics { { } -// [MonoTODO] -// public string Categery { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public short CategoryNumber { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public byte[] Data { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public EventLogEntryType EntryType { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public int EventID { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public int Index { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public string Machineame { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public string Message { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public string[] ReplacementStrings { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public string Source { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public DateTime TimeGenerated { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public DateTime TimeWritten { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public string UserName { -// get {throw new NotImplementedException ();} -// } -// -// [MonoTODO] -// public bool Equals(EventLogEntry otherEntry) -// { -// throw new NotImplementedException (); -// } -// + [MonoTODO] + [MonitoringDescription ("The category of this event entry.")] + public string Category { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("An ID for the category of this event entry.")] + public short CategoryNumber { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("Binary data associated with this event entry.")] + public byte[] Data { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("The type of this event entry.")] + public EventLogEntryType EntryType { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("An ID number for this event entry.")] + public int EventID { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("Sequence numer of this event entry.")] + public int Index { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("The Computer on which this event entry occured.")] + public string MachineName { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + #if (NET_1_0) + [Editor ("System.ComponentModel.Design.BinaryEditor, System.Design, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + #endif + #if (NET_1_1) + [Editor ("System.ComponentModel.Design.BinaryEditor, System.Design, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + #endif + [MonitoringDescription ("The message of this event entry.")] + public string Message { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("Application strings for this event entry.")] + public string[] ReplacementStrings { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("The source application of this event entry.")] + public string Source { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("Generation time of this event entry.")] + public DateTime TimeGenerated { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("The time at which this event entry was written to the logfile.")] + public DateTime TimeWritten { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + [MonitoringDescription ("The name of a user associated with this event entry.")] + public string UserName { + get {throw new NotImplementedException ();} + } + + [MonoTODO] + public bool Equals(EventLogEntry otherEntry) + { + throw new NotImplementedException (); + } + [MonoTODO] void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) |