Skip to content

Commit e636da0

Browse files
committed
Add project files.
0 parents  commit e636da0

32 files changed

+4927
-0
lines changed

.editorconfig

+169
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
[*.cs]
2+
3+
# IDE0010: Add missing cases
4+
dotnet_diagnostic.ide0010.severity=none
5+
6+
# IDE0022: Use block body for methods
7+
csharp_style_expression_bodied_methods=true:silent
8+
9+
# IDE0066: Convert switch statement to expression
10+
csharp_style_prefer_switch_expression=true:silent
11+
12+
# CA1027: Mark enums with FlagsAttribute
13+
# **Note: Enums should not get this attribute unless they are intended to be combined
14+
dotnet_diagnostic.CA1027.severity = none
15+
16+
# CA1028: Enum Storage should be Int32
17+
# **Note: It should be the numeric type that usage dictates
18+
dotnet_diagnostic.ca1028.severity=none
19+
20+
# CA1034: Nested types should not be visible
21+
# **Note: That shouldn't happen often, but there are also few legitimate exceptions
22+
dotnet_diagnostic.ca1034.severity=none
23+
24+
# CA1054: Uri parameters should not be strings
25+
# **Note: Optional features that allows the user to skip manually converting to Uri
26+
dotnet_diagnostic.ca1054.severity=none
27+
28+
# CA2234: Pass system uri objects instead of strings
29+
# **Note: Manually converting to Uri isn't necessary
30+
dotnet_diagnostic.CA2234.severity = none
31+
32+
# CA5350: Do Not Use Weak Cryptographic Algorithms
33+
# **Note: Not intended for security relevant use
34+
dotnet_diagnostic.ca5350.severity=none
35+
36+
# CA5351: Do Not Use Broken Cryptographic Algorithms
37+
# **Note: Not intended for security relevant use
38+
dotnet_diagnostic.ca5351.severity=none
39+
40+
# CA5379: Do Not Use Weak Key Derivation Function Algorithm
41+
# **Note: Not intended for security relevant use
42+
dotnet_diagnostic.ca5379.severity=none
43+
44+
45+
[*.{asax,ascx,aspx,cs,cshtml,css,htm,html,js,jsx,master,razor,skin,ts,tsx,vb,xaml,xamlx,xoml}]
46+
indent_style=space
47+
indent_size=4
48+
tab_width=4
49+
50+
51+
[*.{appxmanifest,build,config,csproj,dbml,discomap,dtd,json,jsproj,lsproj,njsproj,nuspec,proj,props,resjson,resw,resx,StyleCop,targets,tasks,vbproj,xml,xsd}]
52+
indent_style=space
53+
indent_size=2
54+
tab_width=2
55+
56+
57+
[*]
58+
59+
# Microsoft .NET properties
60+
csharp_new_line_before_members_in_object_initializers=false
61+
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
62+
csharp_prefer_braces=false:none
63+
csharp_space_after_cast=false
64+
csharp_style_var_elsewhere=true:hint
65+
csharp_style_var_for_built_in_types=true:hint
66+
csharp_style_var_when_type_is_apparent=true:hint
67+
dotnet_style_predefined_type_for_locals_parameters_members=true:hint
68+
dotnet_style_predefined_type_for_member_access=true:hint
69+
dotnet_style_qualification_for_event=false:warning
70+
dotnet_style_qualification_for_field=false:warning
71+
dotnet_style_qualification_for_method=false:warning
72+
dotnet_style_qualification_for_property=false:warning
73+
dotnet_style_require_accessibility_modifiers=for_non_interface_members:hint
74+
75+
# ReSharper properties
76+
resharper_add_imports_to_deepest_scope=true
77+
resharper_align_linq_query=true
78+
resharper_align_multiline_argument=true
79+
resharper_align_multiline_calls_chain=true
80+
resharper_align_multiline_extends_list=true
81+
resharper_align_multiline_for_stmt=true
82+
resharper_align_multline_type_parameter_constrains=true
83+
resharper_align_multline_type_parameter_list=true
84+
resharper_blank_lines_after_block_statements=0
85+
resharper_blank_lines_around_single_line_auto_property=1
86+
resharper_blank_lines_around_single_line_property=1
87+
resharper_blank_lines_before_single_line_comment=1
88+
resharper_constructor_or_destructor_body=expression_body
89+
resharper_csharp_align_first_arg_by_paren=true
90+
resharper_csharp_align_multiline_parameter=true
91+
resharper_csharp_align_multiple_declaration=true
92+
resharper_csharp_empty_block_style=together_same_line
93+
resharper_csharp_insert_final_newline=true
94+
resharper_csharp_keep_blank_lines_in_code=1
95+
resharper_csharp_keep_blank_lines_in_declarations=0
96+
resharper_csharp_new_line_before_while=true
97+
resharper_csharp_stick_comment=false
98+
resharper_csharp_use_indent_from_vs=false
99+
resharper_csharp_wrap_lines=false
100+
resharper_indent_nested_fixed_stmt=true
101+
resharper_indent_nested_foreach_stmt=true
102+
resharper_indent_nested_for_stmt=true
103+
resharper_indent_nested_lock_stmt=true
104+
resharper_indent_nested_usings_stmt=true
105+
resharper_indent_nested_while_stmt=true
106+
resharper_local_function_body=expression_body
107+
resharper_method_or_operator_body=expression_body
108+
resharper_place_accessor_attribute_on_same_line=False
109+
resharper_place_field_attribute_on_same_line=False
110+
resharper_place_simple_embedded_statement_on_same_line=False
111+
resharper_space_after_cast=false
112+
resharper_space_between_attribute_sections=false
113+
resharper_space_within_single_line_array_initializer_braces=true
114+
resharper_xmldoc_attribute_indent=align_by_first_attribute
115+
resharper_xmldoc_attribute_style=on_single_line
116+
resharper_xmldoc_keep_user_linebreaks=false
117+
resharper_xmldoc_linebreaks_inside_tags_for_elements_longer_than=0
118+
resharper_xmldoc_max_line_length=80
119+
resharper_xmldoc_pi_attribute_style=on_single_line
120+
resharper_xmldoc_space_before_self_closing=false
121+
resharper_xmldoc_wrap_tags_and_pi=false
122+
123+
# ReSharper inspection severities
124+
resharper_arrange_attributes_highlighting=suggestion
125+
resharper_arrange_constructor_or_destructor_body_highlighting=suggestion
126+
resharper_arrange_local_function_body_highlighting=suggestion
127+
resharper_arrange_method_or_operator_body_highlighting=suggestion
128+
resharper_arrange_redundant_parentheses_highlighting=suggestion
129+
resharper_check_namespace_highlighting=none
130+
resharper_convert_to_compound_assignment_highlighting=suggestion
131+
resharper_empty_constructor_highlighting=suggestion
132+
resharper_empty_general_catch_clause_highlighting=suggestion
133+
resharper_for_can_be_converted_to_foreach_highlighting=hint
134+
resharper_identifier_typo_highlighting=none
135+
resharper_loop_can_be_partly_converted_to_query_highlighting=hint
136+
resharper_string_compare_is_culture_specific_1_highlighting=suggestion
137+
resharper_string_compare_is_culture_specific_2_highlighting=suggestion
138+
resharper_string_compare_is_culture_specific_3_highlighting=suggestion
139+
resharper_string_compare_is_culture_specific_4_highlighting=suggestion
140+
resharper_string_compare_is_culture_specific_5_highlighting=suggestion
141+
resharper_string_compare_is_culture_specific_6_highlighting=suggestion
142+
resharper_string_compare_to_is_culture_specific_highlighting=suggestion
143+
resharper_string_index_of_is_culture_specific_1_highlighting=suggestion
144+
resharper_string_index_of_is_culture_specific_2_highlighting=suggestion
145+
resharper_string_index_of_is_culture_specific_3_highlighting=suggestion
146+
resharper_string_last_index_of_is_culture_specific_1_highlighting=suggestion
147+
resharper_string_last_index_of_is_culture_specific_2_highlighting=suggestion
148+
resharper_string_last_index_of_is_culture_specific_3_highlighting=suggestion
149+
resharper_string_literal_typo_highlighting=none
150+
resharper_suspicious_type_conversion_global_highlighting=suggestion
151+
resharper_switch_statement_missing_some_cases_highlighting=none
152+
resharper_unused_member_global_highlighting=none
153+
resharper_unused_method_return_value_global_highlighting=none
154+
resharper_use_null_propagation_highlighting=warning
155+
resharper_use_null_propagation_when_possible_highlighting=suggestion
156+
resharper_vb_string_compare_is_culture_specific_1_highlighting=suggestion
157+
resharper_vb_string_compare_is_culture_specific_2_highlighting=suggestion
158+
resharper_vb_string_compare_is_culture_specific_3_highlighting=suggestion
159+
resharper_vb_string_compare_is_culture_specific_4_highlighting=suggestion
160+
resharper_vb_string_compare_is_culture_specific_5_highlighting=suggestion
161+
resharper_vb_string_compare_is_culture_specific_6_highlighting=suggestion
162+
resharper_vb_string_compare_to_is_culture_specific_highlighting=suggestion
163+
resharper_vb_string_index_of_is_culture_specific_1_highlighting=suggestion
164+
resharper_vb_string_index_of_is_culture_specific_2_highlighting=suggestion
165+
resharper_vb_string_index_of_is_culture_specific_3_highlighting=suggestion
166+
resharper_vb_string_last_index_of_is_culture_specific_1_highlighting=suggestion
167+
resharper_vb_string_last_index_of_is_culture_specific_2_highlighting=suggestion
168+
resharper_vb_string_last_index_of_is_culture_specific_3_highlighting=suggestion
169+

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
#* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.github/workflows/dotnet.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: build+test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup .NET Core
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 5.0.x
20+
- name: Restore dependencies
21+
run: dotnet restore
22+
- name: Build
23+
run: dotnet build --configuration Release --no-restore
24+
- name: Test
25+
run: dotnet test --no-build --configuration Release --verbosity normal

0 commit comments

Comments
 (0)