Click or drag to resize

TypeInfo Class

Contains methods for debugging and diagnostics.
Inheritance Hierarchy
SystemObject
  InnerDrive.CoreTypeInfo

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax
C#
public static class TypeInfo

The TypeInfo type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAddExceptionData(Exception, IDbCommand) Adds information about an Object to an Exception that is being thrown.
Public methodStatic memberAddExceptionData(Object, Exception) Adds information about an Object to an Exception that is being thrown.
Public methodStatic memberAddExceptionData(Object, Exception, IDbCommand) Adds information about an Object to an Exception that is being thrown.
Public methodStatic memberReflectDbCommand Returns trace information about a pending SQL command.
Public methodStatic memberReflectFields Returns a sorted list of fields with their current values.
Public methodStatic memberReflectMethods Returns a sorted list of the methods in an Object.
Public methodStatic memberReflectProperties Returns a sorted list of the properties of an Object.
Public methodStatic memberTraceCompare Compares the properties of two objects, and if the property values are different, traces the difference to any trace listeners.
Public methodStatic memberTraceDbCommand Displays trace information about a pending SQL command.
Public methodStatic memberTraceFields Outputs information about an Object's fields to any active trace listeners.
Public methodStatic memberTraceMethods Outputs information about an Object's methods to any active trace listeners.
Public methodStatic memberTraceObject Outputs information about an Object to any active trace listeners
Public methodStatic memberTraceProperties Outputs information about an Object's properties to any active trace listeners.
Top
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.

See Also