Click or drag to resize

LogStackMessages Class

Represents an immutable list of stack messages.
Inheritance Hierarchy
SystemObject
  GSF.DiagnosticsLogStackMessages

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public class LogStackMessages : IEquatable<LogStackMessages>
View Source

The LogStackMessages type exposes the following members.

Constructors
 NameDescription
Public methodLogStackMessages(ListLogStackMessages) Appends stack messages together.
Public methodLogStackMessages(ListKeyValuePairString, String) Appends stack messages together.
Public methodLogStackMessages(Stream) Loads stack messages from the stream.
Public methodLogStackMessages(String) Creates a new stack message from the provided list of key/value pairs.
Public methodLogStackMessages(String, String) Creates a new stack message from the provided key and value.
Top
Properties
 NameDescription
Public propertyCount Gets the number of Key/Value pairs.
Public propertyItemInt32 Gets the KeyValue for the provided index.
Public propertyItemString Gets the first match of the provided in this dictionary. Returns null if none can be found.
Top
Methods
 NameDescription
Public methodEquals(LogStackMessages) 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 ObjectEquals(Object))
Protected methodFinalizeAllows 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.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSave Saves this instance to the provided stream
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodUnion(LogStackMessages) returns the union of this instance and the specified New messages replace existing messages.
Public methodUnion(String) returns the union of this instance and the specified list of key/value pairs. If the keys already exists. The new one replaces the existing one.
Public methodUnion(String, String) returns the union of this instance and the specified key/value. If the key already exists. The new one replaces the existing one.
Top
Fields
 NameDescription
Public fieldStatic memberEmpty An empty stack 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 MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also