Diagnostics Methods |
The Diagnostics type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddChild |
Add a child diagnostics to the diagnostics tree. Sets the parent of the child.
|
![]() | Append |
Append errors, warnings and hints from input diagnostics to
this diagnostics, and add stack items
|
![]() | Clear |
Clear diagnostics, as well errors as warnings as hints as stack.
|
![]() | ClearIssuesRecursive |
Remove all issues from this Diagnostics and all child Diagnostics
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Error |
Add an error DiagnosticItem
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Hint |
Add a hint DiagnosticItem
|
![]() | IsParent |
Return true if diagnostics is the parent of this diagnostics.
It checks the parent recursively to the root.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RuntimeError(IDiagnosticItem) |
Create an error DiagnosticItem and throw an exception
|
![]() | RuntimeError(IDiagnosticItem, Exception) |
Create an error DiagnosticItem and throw an exception
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Warning |
Add a warning DiagnosticItem
|
Name | Description | |
---|---|---|
![]() | Error |
Add an error to the diagnostics item.
(Defined by GenericExtensions.) |
![]() | ExceptionToError |
Add an error DiagnosticItem, and throw an exception
(Defined by GenericExtensions.) |
![]() | RuntimeError |
Add an error DiagnosticItem, and throw an exception
(Defined by GenericExtensions.) |
![]() | Warning |
Add a warning message
(Defined by GenericExtensions.) |