Click or drag to resize

IDiagnosticItem Interface

A DiagnosticsItem contains a message, additional information and potentially also list the values that vary in the message string.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface IDiagnosticItem

The IDiagnosticItem type exposes the following members.

Properties
  NameDescription
Public propertyAdditionalInfo
Additional information about diagnostics item. Could be time of simulation when message was produced.
Public propertyDiagnostics
The diagnostics that the item belongs to.

This is automatically set when item is added to diagnostics object.

Public propertyHint
Diagnostics hint
Public propertyLocation
Location of message
Public propertyMessage
Diagnostics message. Including values from Values
Public propertyMessageID
ID of error in item.

Each kind of error will have an id which does not change between computers. The Message change, if localized messages exist for the system language.

Public propertyMessageNoValues
Diagnostics message with value placeholders instead of actual values.
Public propertyValues
List of values associated with this item
Top
Methods
  NameDescription
Public methodHasHint
Returns true if this item has an associated hint. The hint can be accessed throught the Hint property.
Top
See Also