Click or drag to resize

IDiagnostics Methods

The IDiagnostics type exposes the following members.

Methods
  NameDescription
Public methodAddChild
Add a child diagnostics to the diagnostics tree. Sets the parent of the child.
Public methodAppend
Append errors, warnings and hints from input diagnostics to this diagnostics
Public methodClear
Clear diagnostics, all errors, warnings and hints.
Public methodClearIssuesRecursive
Remove Errors, hints, and warnings from the diagnostics and all child diagnostics
Public methodError
Add an error DiagnosticItem
Public methodHint
Add a hint DiagnosticItem
Public methodInfo(String)
Add a information messaeg
Public methodInfo(IDiagnosticItem)
Add a information DiagnosticItem
Public methodIsParent
Return true of diagnostics is parent or parent's parent
Public methodRuntimeError(IDiagnosticItem)
Add an error DiagnosticItem, and throw an exception
Public methodRuntimeError(IDiagnosticItem, Exception)
Add an error DiagnosticItem, and throw an exception
Public methodWarning
Add a warning DiagnosticItem
Top
Extension Methods
  NameDescription
Public Extension MethodError
Add an error to the diagnostics item.
(Defined by GenericExtensions.)
Public Extension MethodExceptionToError
Add an error DiagnosticItem, and throw an exception
(Defined by GenericExtensions.)
Public Extension MethodRuntimeError
Add an error DiagnosticItem, and throw an exception
(Defined by GenericExtensions.)
Public Extension MethodWarning
Add a warning message
(Defined by GenericExtensions.)
Top
See Also