Skip to content

Commit 2c58377

Browse files
author
MPCoreDeveloper
committed
fully restructured the solution directory structure
1 parent 3444487 commit 2c58377

File tree

508 files changed

+1333
-1282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

508 files changed

+1333
-1282
lines changed

.editorconfig

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# All files
7+
[*]
8+
charset = utf-8
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
indent_style = space
12+
13+
# Code files
14+
[*.{cs,csx,vb,vbx}]
15+
indent_size = 4
16+
tab_width = 4
17+
18+
# XML project files
19+
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
20+
indent_size = 2
21+
22+
# XML config files
23+
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
24+
indent_size = 2
25+
26+
# JSON files
27+
[*.json]
28+
indent_size = 2
29+
30+
# YAML files
31+
[*.{yml,yaml}]
32+
indent_size = 2
33+
34+
# Markdown files
35+
[*.md]
36+
trim_trailing_whitespace = false
37+
38+
# Shell scripts
39+
[*.sh]
40+
end_of_line = lf
41+
42+
[*.{cmd,bat}]
43+
end_of_line = crlf
44+
45+
# C# files
46+
[*.cs]
47+
48+
#### Core EditorConfig Options ####
49+
50+
# Indentation and spacing
51+
indent_size = 4
52+
tab_width = 4
53+
54+
# New line preferences
55+
end_of_line = crlf
56+
57+
#### .NET Coding Conventions ####
58+
59+
# Organize usings
60+
dotnet_sort_system_directives_first = true
61+
dotnet_separate_import_directive_groups = false
62+
63+
# this. preferences
64+
dotnet_style_qualification_for_field = false:silent
65+
dotnet_style_qualification_for_property = false:silent
66+
dotnet_style_qualification_for_method = false:silent
67+
dotnet_style_qualification_for_event = false:silent
68+
69+
# Language keywords vs BCL types preferences
70+
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
71+
dotnet_style_predefined_type_for_member_access = true:silent
72+
73+
# Parentheses preferences
74+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
75+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
76+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
77+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
78+
79+
# Modifier preferences
80+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
81+
dotnet_style_readonly_field = true:suggestion
82+
83+
# Expression-level preferences
84+
dotnet_style_object_initializer = true:suggestion
85+
dotnet_style_collection_initializer = true:suggestion
86+
dotnet_style_explicit_tuple_names = true:suggestion
87+
dotnet_style_null_propagation = true:suggestion
88+
dotnet_style_coalesce_expression = true:suggestion
89+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
90+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
91+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
92+
dotnet_style_prefer_auto_properties = true:silent
93+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
94+
dotnet_style_prefer_conditional_expression_over_return = true:silent
95+
96+
#### C# Coding Conventions ####
97+
98+
# var preferences
99+
csharp_style_var_for_built_in_types = true:silent
100+
csharp_style_var_when_type_is_apparent = true:silent
101+
csharp_style_var_elsewhere = true:silent
102+
103+
# Expression-bodied members
104+
csharp_style_expression_bodied_methods = false:silent
105+
csharp_style_expression_bodied_constructors = false:silent
106+
csharp_style_expression_bodied_operators = false:silent
107+
csharp_style_expression_bodied_properties = true:silent
108+
csharp_style_expression_bodied_indexers = true:silent
109+
csharp_style_expression_bodied_accessors = true:silent
110+
111+
# Pattern matching preferences
112+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
113+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
114+
115+
# Null-checking preferences
116+
csharp_style_throw_expression = true:suggestion
117+
csharp_style_conditional_delegate_call = true:suggestion
118+
119+
# Modifier preferences
120+
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
121+
122+
# Expression-level preferences
123+
csharp_prefer_braces = true:silent
124+
csharp_style_deconstructed_variable_declaration = true:suggestion
125+
csharp_prefer_simple_default_expression = true:suggestion
126+
csharp_style_pattern_local_over_anonymous_function = true:suggestion
127+
csharp_style_inlined_variable_declaration = true:suggestion
128+
129+
#### C# Formatting Rules ####
130+
131+
# New line preferences
132+
csharp_new_line_before_open_brace = all
133+
csharp_new_line_before_else = true
134+
csharp_new_line_before_catch = true
135+
csharp_new_line_before_finally = true
136+
csharp_new_line_before_members_in_object_initializers = true
137+
csharp_new_line_before_members_in_anonymous_types = true
138+
csharp_new_line_between_query_expression_clauses = true
139+
140+
# Indentation preferences
141+
csharp_indent_case_contents = true
142+
csharp_indent_switch_labels = true
143+
csharp_indent_labels = flush_left
144+
145+
# Space preferences
146+
csharp_space_after_cast = false
147+
csharp_space_after_keywords_in_control_flow_statements = true
148+
csharp_space_between_method_call_parameter_list_parentheses = false
149+
csharp_space_between_method_declaration_parameter_list_parentheses = false
150+
csharp_space_between_parentheses = false
151+
csharp_space_before_colon_in_inheritance_clause = true
152+
csharp_space_after_colon_in_inheritance_clause = true
153+
csharp_space_around_binary_operators = before_and_after
154+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
155+
csharp_space_between_method_call_name_and_opening_parenthesis = false
156+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
157+
158+
# Wrapping preferences
159+
csharp_preserve_single_line_statements = true
160+
csharp_preserve_single_line_blocks = true
161+
162+
#### Naming conventions ####
163+
164+
# Naming rules
165+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
166+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
167+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
168+
169+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
170+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
171+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
172+
173+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
174+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
175+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
176+
177+
# Symbol specifications
178+
dotnet_naming_symbols.interface.applicable_kinds = interface
179+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
180+
dotnet_naming_symbols.interface.required_modifiers =
181+
182+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
183+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
184+
dotnet_naming_symbols.types.required_modifiers =
185+
186+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
187+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
188+
dotnet_naming_symbols.non_field_members.required_modifiers =
189+
190+
# Naming styles
191+
dotnet_naming_style.pascal_case.required_prefix =
192+
dotnet_naming_style.pascal_case.required_suffix =
193+
dotnet_naming_style.pascal_case.word_separator =
194+
dotnet_naming_style.pascal_case.capitalization = pascal_case
195+
196+
dotnet_naming_style.begins_with_i.required_prefix = I
197+
dotnet_naming_style.begins_with_i.required_suffix =
198+
dotnet_naming_style.begins_with_i.word_separator =
199+
dotnet_naming_style.begins_with_i.capitalization = pascal_case

.gitattributes

Lines changed: 53 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# default for csharp files.
1111
# Note: This is only used by command line
1212
###############################################################################
13-
#*.cs diff=csharp
13+
*.cs diff=csharp
1414

1515
###############################################################################
1616
# Set the merge driver for project and solution files
@@ -22,27 +22,46 @@
2222
# these files as binary and thus will always conflict and require user
2323
# intervention with every merge. To do so, just uncomment the entries below
2424
###############################################################################
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
25+
*.sln text eol=crlf
26+
*.csproj text eol=crlf
27+
*.vbproj text eol=crlf
28+
*.vcxproj text eol=crlf
29+
*.vcproj text eol=crlf
30+
*.dbproj text eol=crlf
31+
*.fsproj text eol=crlf
32+
*.lsproj text eol=crlf
33+
*.wixproj text eol=crlf
34+
*.modelproj text eol=crlf
35+
*.sqlproj text eol=crlf
36+
*.wwaproj text eol=crlf
37+
38+
###############################################################################
39+
# Set proper line endings for specific file types
40+
###############################################################################
41+
*.cs text eol=crlf
42+
*.xaml text eol=crlf
43+
*.xml text eol=crlf
44+
*.config text eol=crlf
45+
*.props text eol=crlf
46+
*.targets text eol=crlf
47+
*.nuspec text eol=crlf
48+
49+
*.sh text eol=lf
50+
*.json text eol=lf
51+
*.yml text eol=lf
52+
*.yaml text eol=lf
53+
*.md text eol=lf
3754

3855
###############################################################################
3956
# behavior for image files
4057
#
4158
# image files are treated as binary by default.
4259
###############################################################################
43-
#*.jpg binary
44-
#*.png binary
45-
#*.gif binary
60+
*.jpg binary
61+
*.png binary
62+
*.gif binary
63+
*.ico binary
64+
*.svg text
4665

4766
###############################################################################
4867
# diff behavior for common document formats
@@ -51,13 +70,21 @@
5170
# is only available from the command line. Turn it on by uncommenting the
5271
# entries below.
5372
###############################################################################
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
73+
*.doc diff=astextplain
74+
*.DOC diff=astextplain
75+
*.docx diff=astextplain
76+
*.DOCX diff=astextplain
77+
*.dot diff=astextplain
78+
*.DOT diff=astextplain
79+
*.pdf diff=astextplain
80+
*.PDF diff=astextplain
81+
*.rtf diff=astextplain
82+
*.RTF diff=astextplain
83+
84+
###############################################################################
85+
# Binary files
86+
###############################################################################
87+
*.dll binary
88+
*.exe binary
89+
*.db binary
90+
*.dat binary

0 commit comments

Comments
 (0)