Click or drag to resize
Galactic API

Event Class

Event contains the data necessary to log events for an application or service.
Inheritance Hierarchy
SystemObject
  Galactic.EventLogEvent

Namespace:  Galactic.EventLog
Assembly:  Galactic.EventLog (in Galactic.EventLog.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public class Event : IComparable<Event>, 
	IComparable<DateTime>

The Event type exposes the following members.

Constructors
  NameDescription
Public methodEvent
Constructs an Event given its source, date, severity, category, and details about the event.
Top
Properties
  NameDescription
Public propertyCategory
A category that describes the nature of the event.
Public propertyDate
The date and time that the event occurred.
Public propertyDetails
A detailed description of the event.
Public propertySeverity
The severity of the event.
Public propertySource
An identifier for the application or service from which the event originated.
Top
Methods
  NameDescription
Public methodCompareTo(DateTime)
Compares this Event to a DateTime based upon the date of the event.
Public methodCompareTo(Event)
Compares this Event to another based upon the date of the event.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetSeverityLevel
Gets the severity level, provided its name.
Public methodStatic memberGetSeverityLevelString
Gets a string representation of a provided severity level.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also