TypeInfo Class

Contains methods for debugging and diagnostics.

Definition

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.2.9017.0
C#
public static class TypeInfo
Inheritance
Object    TypeInfo

Remarks

Important: The TypeInfo class Trace... methods are only available in TRACE builds. Do not rely on the presence of these methods in RELEASE builds, or in DEBUG builds that do not also set the TRACE precompiler option.

Public methods accept null values for most parameters, but may return no useful information in those cases.

Methods

AddExceptionData(Exception, IDbCommand) Adds information about an Object to an Exception that is being thrown.
AddExceptionData(Object, Exception) Adds information about an Object to an Exception that is being thrown.
AddExceptionData(Object, Exception, IDbCommand) Adds information about an Object to an Exception that is being thrown.
ReflectDbCommand Returns trace information about a pending SQL command.
ReflectFields Returns a sorted list of fields with their current values.
ReflectMethods Returns a sorted list of the methods in an Object.
ReflectProperties Returns a sorted list of the properties of an Object.
TraceCompare Compares the properties of two objects, and if the property values are different, traces the difference to any trace listeners.
TraceDbCommand Displays trace information about a pending SQL command.
TraceFields Outputs information about an Object's fields to any active trace listeners.
TraceMethods Outputs information about an Object's methods to any active trace listeners.
TraceObject Outputs information about an Object to any active trace listeners
TraceProperties Outputs information about an Object's properties to any active trace listeners.

See Also