Skip to content

Commit 1bfcfef

Browse files
committed
Removing header text
Top LICENSE file still applies. Will clean up files as needed. Started by cleaning up assemblyinfo files. Adding some additional information.
1 parent fd2c73c commit 1bfcfef

File tree

3 files changed

+14
-52
lines changed

3 files changed

+14
-52
lines changed

WinNUT_V2/.editorconfig

+11-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ root = true
66
# All files
77
[*]
88
indent_style = space
9-
file_header_template = WinNUT-Client is a NUT windows client for monitoring your ups hooked up to your favorite linux server.\nCopyright (C) 2019-2021 Gawindx (Decaux Nicolas)\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the\nGNU General Public License as published by the Free Software Foundation, either version 3 of the\nLicense, or any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\neven the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nGeneral Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program.\nIf not, see https://www.gnu.org/licenses/.\n
109
# Code files
1110
[*.{cs,csx,vb,vbx}]
1211
indent_size = 4
@@ -67,14 +66,16 @@ tab_width = 4
6766
end_of_line = crlf
6867
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
6968
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
69+
dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion
70+
dotnet_code_quality_unused_parameters = all:suggestion
7071
###############################
7172
# C# Coding Conventions #
7273
###############################
7374
[*.cs]
7475
# var preferences
75-
csharp_style_var_for_built_in_types = true:silent
76-
csharp_style_var_when_type_is_apparent = true:silent
77-
csharp_style_var_elsewhere = true:silent
76+
csharp_style_var_for_built_in_types = false:silent
77+
csharp_style_var_when_type_is_apparent = false:silent
78+
csharp_style_var_elsewhere = false:silent
7879
# Expression-bodied members
7980
csharp_style_expression_bodied_methods = false:silent
8081
csharp_style_expression_bodied_constructors = false:silent
@@ -149,6 +150,12 @@ csharp_style_prefer_readonly_struct_member = true:suggestion
149150
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
150151
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
151152
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
153+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
154+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
155+
csharp_style_prefer_switch_expression = true:suggestion
156+
csharp_style_prefer_pattern_matching = true:silent
157+
csharp_style_prefer_not_pattern = true:suggestion
158+
csharp_style_prefer_extended_property_pattern = true:suggestion
152159
###############################
153160
# VB Coding Conventions #
154161
###############################

WinNUT_V2/SharedAssemblyInfo.vb

+1-27
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,10 @@
1-
' WinNUT-Client is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
2-
' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
3-
'
4-
' This program is free software: you can redistribute it and/or modify it under the terms of the
5-
' GNU General Public License as published by the Free Software Foundation, either version 3 of the
6-
' License, or any later version.
7-
'
8-
' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
9-
1+
Imports System.Reflection
102
Imports System.Resources
11-
Imports System.Reflection
12-
13-
' Les informations générales relatives à un assembly dépendent de
14-
' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
15-
' associées à un assembly.
16-
17-
' Vérifiez les valeurs des attributs de l'assembly
183

194
<Assembly: AssemblyCompany("NUTDotNet")>
205
<Assembly: AssemblyProduct("WinNUT Client")>
216
<Assembly: AssemblyCopyright("NUTDotNet contributors © 2019-2024")>
227
<Assembly: AssemblyTrademark("https://github.com/nutdotnet/WinNUT-Client")>
238

24-
' Les informations de version pour un assembly se composent des quatre valeurs suivantes :
25-
'
26-
' Version principale
27-
' Version secondaire
28-
' Numéro de build
29-
' Révision
30-
'
31-
' Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
32-
' en utilisant '*', comme indiqué ci-dessous :
33-
' <Assembly: AssemblyVersion("1.0.*")>
34-
359
<Assembly: AssemblyVersion("2.3.*")>
3610
<Assembly: NeutralResourcesLanguage("en-US")>
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,7 @@
1-
Imports System.Resources
2-
' WinNUT-Client is a NUT windows client for monitoring your ups hooked up to your favorite linux server.
3-
' Copyright (C) 2019-2021 Gawindx (Decaux Nicolas)
4-
'
5-
' This program is free software: you can redistribute it and/or modify it under the terms of the
6-
' GNU General Public License as published by the Free Software Foundation, either version 3 of the
7-
' License, or any later version.
8-
'
9-
' This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
10-
11-
Imports System.Reflection
1+
Imports System.Reflection
122
Imports System.Runtime.InteropServices
133

14-
' Les informations générales relatives à un assembly dépendent de
15-
' l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
16-
' associées à un assembly.
17-
18-
' Vérifiez les valeurs des attributs de l'assembly
19-
204
<Assembly: AssemblyTitle("WinNUT Client")>
21-
<Assembly: AssemblyDescription("")>
22-
5+
<Assembly: AssemblyDescription("WinForms-based client for monitoring your Uninterruptible Power Supply (UPS) connected to a Network UPS Tools (NUT) server.")>
236
<Assembly: ComVisible(False)>
24-
25-
'Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
267
<Assembly: Guid("00424259-e020-4e5c-a70a-5660aa21cb0b")>

0 commit comments

Comments
 (0)