LogStackMessages Class

Represents an immutable list of stack messages.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public class LogStackMessages : IEquatable<LogStackMessages>
Inheritance
Object    LogStackMessages
Implements
IEquatableLogStackMessages

Constructors

LogStackMessages(ListLogStackMessages) Appends stack messages together.
LogStackMessages(ListKeyValuePairString, String) Appends stack messages together.
LogStackMessages(Stream) Loads stack messages from the stream.
LogStackMessages(String) Creates a new stack message from the provided list of key/value pairs.
LogStackMessages(String, String) Creates a new stack message from the provided key and value.

Properties

Count Gets the number of Key/Value pairs.
ItemInt32 Gets the KeyValue for the provided index.
ItemString Gets the first match of the provided in this dictionary. Returns null if none can be found.

Methods

Equals(LogStackMessages) Indicates whether the current object is equal to another object of the same type.
Equals(Object) Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Save Saves this instance to the provided stream
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Union(LogStackMessages) returns the union of this instance and the specified New messages replace existing messages.
Union(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.
Union(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.

Fields

Empty An empty stack message.

See Also