Class ProjectIssue
ProjectAuditor Issue found in the current project
Inherited Members
Namespace: Unity.ProjectAuditor .Editor
Assembly: solution.dll
Syntax
[Serializable]
public class ProjectIssue
Fields
Name | Description |
---|---|
depth | Depth in display tree. 0 by default. |
was |
Determines whether the issue was fixed. Only used for diagnostics |
Properties
Name | Description |
---|---|
category | This issue's category |
custom |
Custom properties |
description | Project issue description |
descriptor | Optional descriptor. Only used for diagnostics |
filename | Name of the file that contains this issue |
line | Line in the file that contains this issue |
location | Location of the item or diagnostic |
log |
Log level |
relative |
Relative path of the file that contains this issue |
severity | Diagnostics-specific severity |
Methods
Name | Description |
---|---|
Get |
Check whether a custom property is a boolean type and whether its value is true |
Get |
Check whether a custom property is a double type and return its value |
Get |
Check whether a custom property is a float type and return its value |
Get |
Check whether a custom property is an integer type and return its value |
Get |
Check whether a custom property is a long type and return its value |
Get |
Check whether a custom property is a ulong type and return its value |
Get |
Get a custom property string given an enum |
Get |
Gets the number of custom properties this issue has |
Is |
Checks whether this issue is a diagnostic |
Is |
Checks whether this issue is major or critical |
Is |
Checks whether this issue is valid |
Set |
Set a custom property |