Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

57 lines
1.8 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="EntryWrittenEventArgs.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Diagnostics {
using System.Diagnostics;
using System;
using System.ComponentModel;
/// <devdoc>
/// <para>
/// Provides data for the <see cref='System.Diagnostics.EventLog.EntryWritten'/> event.
/// </para>
/// </devdoc>
public class EntryWrittenEventArgs : EventArgs {
private EventLogEntry entry;
/// <devdoc>
/// <para>
/// The default constructor, which
/// initializes a new instance of the <see cref='System.Diagnostics.EntryWrittenEventArgs'/> class without
/// specifying a value for <see cref='System.Diagnostics.EntryWrittenEventArgs.Entry'/>.
///
/// </para>
/// </devdoc>
public EntryWrittenEventArgs() {
}
/// <devdoc>
/// <para>
/// Initializes a new instance of the <see cref='System.Diagnostics.EntryWrittenEventArgs'/> class with the
/// specified event log entry.
/// </para>
/// </devdoc>
public EntryWrittenEventArgs(EventLogEntry entry) {
this.entry = entry;
}
/// <devdoc>
/// <para>
/// Represents
/// an event log entry.
///
/// </para>
/// </devdoc>
public EventLogEntry Entry {
get {
return this.entry;
}
}
}
}