PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Log­Event­Data Structure / Log­Event­Data Methods

LogEventData Methods

The LogEventData type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreate(Object)
Creates a new LogEventData and uses the default LogEventMetadata for the run-time type of the specified object.
Public methodStatic memberCreate(Object, LogEventMetadata)
Creates a new LogEventData and specifies a LogEventMetadata.
Public methodStatic memberCreate<T>(T)
Creates a new LogEventData and uses the default LogEventMetadata for the build-time type of the specified object. This overload is faster than the non-generic one.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object).)
Public methodEquals(LogEventData)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode().)
Public methodToDictionary
Returns a dictionary containing all properties contained in the current LogEventData.
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueType.ToString().)
Public methodVisitProperties<TVisitorState>
Invokes an action for each property in the current LogEventData.
Public methodWithAdditionalProperty<T>
Returns a LogEventData that augments the current one with an additional property, but does not change the expression model.
See Also