StylePriorityPage.aspx.cs
gendarme 2 violations | ||||
37 | AvoidVisibleFieldsRule - This type contains visible instance fields. A field should be an implementation detail and encapsulated within a property or method. Solution: Use a property or method instead. Confidence: Total | |||
54 | DoNotHardcodePathsRule - This string looks like a path that may become invalid if the code is executed on a different operating system. Solution: Use System.IO.Path and System.Environment to generate paths instead of hardcoding them. Confidence: Normal |
Sources/WebApplication/UI/StylePriorityPage.aspx.cs
gendarme 2 violations | ||||
37 | AvoidVisibleFieldsRule - This type contains visible instance fields. A field should be an implementation detail and encapsulated within a property or method. Solution: Use a property or method instead. Confidence: Total | |||
54 | DoNotHardcodePathsRule - This string looks like a path that may become invalid if the code is executed on a different operating system. Solution: Use System.IO.Path and System.Environment to generate paths instead of hardcoding them. Confidence: Normal |
File: StylePriorityPage.aspx.cs Lines 28 to 62 | |||||||
28 | |||||||
29 | |||||||
30 | |||||||
31 | |||||||
32 | |||||||
33 | |||||||
34 | |||||||
35 | |||||||
36 | |||||||
37
|
|||||||
38 | |||||||
39 | |||||||
40 | |||||||
41 | |||||||
42 | |||||||
43 | |||||||
44 | |||||||
45 | |||||||
46 | |||||||
47 | |||||||
48 | |||||||
49 | |||||||
50 | |||||||
51 | |||||||
52 | |||||||
53 | |||||||
54
|
|||||||
55 | |||||||
56 | |||||||
57 | |||||||
58 | |||||||
59 | |||||||
60 | |||||||
61 | |||||||
62 | |||||||