Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable additional StyleCop rules to ensure code consistency and readability #236

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,10 @@ dotnet_diagnostic.SA1412.severity = warning
dotnet_diagnostic.SA1501.severity = none
dotnet_diagnostic.SA1503.severity = none
dotnet_diagnostic.SA1504.severity = none
dotnet_diagnostic.SA1516.severity = none
dotnet_diagnostic.SA1512.severity = warning
dotnet_diagnostic.SA1513.severity = warning
dotnet_diagnostic.SA1515.severity = warning
dotnet_diagnostic.SA1516.severity = warning
dotnet_diagnostic.SA1600.severity = none
dotnet_diagnostic.SA1601.severity = none
dotnet_diagnostic.SA1602.severity = none
Expand Down
8 changes: 8 additions & 0 deletions src/ILICheck.Web/XtfLog/Xtf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,19 @@ public class LogError
{
[XmlAttribute("TID")]
public string Tid { get; set; }

public string Message { get; set; }

public string Type { get; set; }

public string ObjTag { get; set; }

public string DataSource { get; set; }

public int? Line { get; set; }

public Geometry Geometry { get; set; }

public string TechDetails { get; set; }
}

Expand All @@ -61,6 +68,7 @@ public class Geometry
public class Coord
{
public decimal C1 { get; set; }

public decimal C2 { get; set; }
}
}