Click or drag to resize

LogEventPublisherDetails Class

Information about the LogEventPublisher that published this message.
Inheritance Hierarchy
System.Object
  GSF.Diagnostics.LogEventPublisherDetails

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntax
public sealed class LogEventPublisherDetails : IEquatable<LogEventPublisherDetails>
View Source

The LogEventPublisherDetails type exposes the following members.

Constructors
 NameDescription
Public methodLogEventPublisherDetails Represents a single owner of a log message.
Top
Methods
 NameDescription
Public methodEquals(LogEventPublisherDetails) Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object) Determines whether the specified Object is equal to the current Object.
(Overrides Object.Equals(Object))
Public methodGetHashCode Serves as a hash function for a particular type.
(Overrides Object.GetHashCode())
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Returns a string that represents the current object.
(Overrides Object.ToString())
Top
Fields
 NameDescription
Public fieldEventName The event name of this log message.
Public fieldTypeData The PublisherTypeDefinition associated with LogPublisher that generated the message.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefault<T> Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
Since it is likely that a log file will have this data repeated a bunch, this class allows de-duplication of this data so it takes up less memory to store.
See Also