Sage Modeling and Simulation Library

DiagnosticAids Methods

The DiagnosticAids type exposes the following members.

Methods


  Name Description
Public method Static member Diagnostics
Determines, for a specific key, whether diagnostic tracing is turned on. The on/off setting is determined by the presence of an entry in the diagnostics section of the App.config where the key appears and the value is 'true'. See below:

Public method Static member DumpDictionary
Returns a string containing the contents of a dictionary.
Public method Static member DumpMaterial
Provides a human-readable string with the contents of a material.
Public method Static member DumpPostMortems
In a debug build, post-mortems of a task graph can be dumped, describing which vertices and edges fired. This method performs that activity. The post mortems are retrieved from the model through the GetPostMortems(){ ... } API.
Public method Static member GraphToSimpleString
Takes an edge, and returns a string that represents structural details about its child edges.
Public method Static member GraphToString
Takes an edge, and returns a string that represents structural details about its child edges.
Public method Static member ReportOnTaskValidity
Returns a string that indicates, in human-readable form, the validity state of the specified task.