LogHighlighterResult Class
Represents a highlighted portion of text in a log message.
public class LogHighlighterResult : IEquatable<LogHighlighterResult>- Implements
Constructors
| Name | Description |
|---|---|
| LogHighlighterResult(LogHighlighterResult) | |
| LogHighlighterResult(int, int, int) | Represents a highlighted portion of text in a log message. |
LogHighlighterResult overloads
LogHighlighterResult(LogHighlighterResult)
LogHighlighterResult.csprotected LogHighlighterResult(LogHighlighterResult original)Parameters
originalLogHighlighterResult
No documentation is available.
LogHighlighterResult(int, int, int)
LogHighlighterResult.csRepresents a highlighted portion of text in a log message.
Parameters
Indexint- The zero-based starting index of the highlighted text.
Lengthint- The length of the highlighted text.
Priorityint- The priority of this highlight. When two highlights overlap, the one with the higher priority is rendered and the other is dropped, even when the dropped one starts earlier. Ties are broken on the lowest
Index, then on the longestLength.
Properties
| Name | Description |
|---|---|
| Index | The zero-based starting index of the highlighted text. |
| Length | The length of the highlighted text. |
| Link | Gets or initializes the URL to link to when the highlighted text is clicked. |
| Priority | The priority of this highlight. When two highlights overlap, the one with the higher priority is rendered and the other is dropped, even when the dropped one starts earlier. Ties are broken on the lowest Index, then on the longest Length. |
| ReplacementText | Gets or initializes the replacement text to display instead of the original text. |
| Title | Gets or initializes the tooltip text to show when hovering over the highlighted text. |
Length
LogHighlighterResult.csPriority
LogHighlighterResult.csReplacementText
LogHighlighterResult.csMethods
| Name | Description |
|---|---|
| Deconstruct(int, int, int) | |
| Equals(LogHighlighterResult?) | |
| Equals(object?) | |
| GetHashCode() | |
| PrintMembers(StringBuilder) | |
| ToString() |
Deconstruct(int, int, int)
Equals overloads
Equals(LogHighlighterResult?)
public virtual bool Equals(LogHighlighterResult? other)No documentation is available.
Equals(object?)
GetHashCode()
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)No documentation is available.
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(LogHighlighterResult?, LogHighlighterResult?) | |
| operator !=(LogHighlighterResult?, LogHighlighterResult?) |
operator ==(LogHighlighterResult?, LogHighlighterResult?)
public static bool operator ==(LogHighlighterResult? left, LogHighlighterResult? right)No documentation is available.
operator !=(LogHighlighterResult?, LogHighlighterResult?)
public static bool operator !=(LogHighlighterResult? left, LogHighlighterResult? right)No documentation is available.