Skip to content

Commit 5725a9a

Browse files
committed
添加项目文件。
0 parents  commit 5725a9a

1,326 files changed

Lines changed: 500821 additions & 0 deletions

File tree

Some content is hidden

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

.config/dotnet-tools.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"paket": {
6+
"version": "8.0.0",
7+
"commands": [
8+
"paket"
9+
]
10+
},
11+
"fsharp.formatting.commandtool": {
12+
"version": "11.5.1",
13+
"commands": [
14+
"fsdocs"
15+
]
16+
}
17+
}
18+
}

.editorconfig

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
tab_width = 4
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
# Microsoft .NET properties
11+
csharp_new_line_before_members_in_object_initializers = false
12+
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
13+
csharp_style_var_elsewhere = true:suggestion
14+
csharp_style_var_for_built_in_types = true:suggestion
15+
csharp_style_var_when_type_is_apparent = true:suggestion
16+
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
17+
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:none
18+
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
19+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
20+
dotnet_style_predefined_type_for_member_access = true:suggestion
21+
dotnet_style_qualification_for_event = false:suggestion
22+
dotnet_style_qualification_for_field = false:suggestion
23+
dotnet_style_qualification_for_method = false:suggestion
24+
dotnet_style_qualification_for_property = false:suggestion
25+
file_header_template = <copyright file="{fileName}" company="Math.NET">\nMath.NET Numerics, part of the Math.NET Project\nhttps://numerics.mathdotnet.com\nhttps://github.com/mathnet/mathnet-numerics\n\nCopyright (c) 2009-$CURRENT_YEAR$ Math.NET\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the "Software"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n</copyright>
26+
27+
# ReSharper properties
28+
resharper_cpp_insert_final_newline = true
29+
resharper_csharp_insert_final_newline = true
30+
resharper_csharp_wrap_before_binary_opsign = true
31+
resharper_csharp_wrap_lines = false
32+
resharper_css_insert_final_newline = false
33+
resharper_default_private_modifier = implicit
34+
resharper_html_insert_final_newline = false
35+
resharper_js_insert_final_newline = false
36+
resharper_place_attribute_on_same_line = false
37+
resharper_protobuf_insert_final_newline = true
38+
resharper_resx_insert_final_newline = false
39+
resharper_vb_insert_final_newline = true
40+
resharper_xmldoc_insert_final_newline = true
41+
resharper_xml_insert_final_newline = true
42+
43+
# ReSharper inspection severities
44+
resharper_arrange_redundant_parentheses_highlighting = hint
45+
resharper_arrange_this_qualifier_highlighting = hint
46+
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
47+
resharper_built_in_type_reference_style_highlighting = hint
48+
resharper_redundant_base_qualifier_highlighting = warning
49+
resharper_suggest_var_or_type_built_in_types_highlighting = hint
50+
resharper_suggest_var_or_type_elsewhere_highlighting = hint
51+
resharper_suggest_var_or_type_simple_types_highlighting = hint
52+
csharp_indent_labels = one_less_than_current
53+
csharp_using_directive_placement = outside_namespace:silent
54+
csharp_prefer_simple_using_statement = true:suggestion
55+
csharp_prefer_braces = true:silent
56+
csharp_style_namespace_declarations = block_scoped:silent
57+
csharp_style_expression_bodied_methods = false:silent
58+
csharp_style_expression_bodied_constructors = false:silent
59+
csharp_style_expression_bodied_operators = false:silent
60+
csharp_style_expression_bodied_properties = true:silent
61+
csharp_style_expression_bodied_indexers = true:silent
62+
csharp_style_expression_bodied_accessors = true:silent
63+
csharp_style_expression_bodied_lambdas = true:silent
64+
csharp_style_expression_bodied_local_functions = false:silent
65+
csharp_style_throw_expression = true:suggestion
66+
csharp_style_prefer_null_check_over_type_check = true:suggestion
67+
csharp_prefer_simple_default_expression = true:suggestion
68+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
69+
csharp_space_around_binary_operators = before_and_after
70+
csharp_style_prefer_index_operator = true:suggestion
71+
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
72+
csharp_style_prefer_range_operator = true:suggestion
73+
csharp_style_prefer_tuple_swap = true:suggestion
74+
csharp_style_inlined_variable_declaration = true:suggestion
75+
csharp_style_deconstructed_variable_declaration = true:suggestion
76+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
77+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
78+
csharp_prefer_static_local_function = true:suggestion
79+
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
80+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
81+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
82+
csharp_style_conditional_delegate_call = true:suggestion
83+
csharp_style_prefer_pattern_matching = true:silent
84+
csharp_style_prefer_switch_expression = true:suggestion
85+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
86+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
87+
csharp_style_prefer_not_pattern = true:suggestion
88+
csharp_style_prefer_extended_property_pattern = true:suggestion
89+
90+
[*.md]
91+
trim_trailing_whitespace = false
92+
93+
[*.{asax,ascx,aspx,axaml,cs,css,js,jsx,master,paml,skin,ts,tsx,vb,xaml,xamlx,xoml}]
94+
indent_style = space
95+
indent_size = 4
96+
tab_width = 4
97+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
98+
dotnet_style_coalesce_expression = true:suggestion
99+
dotnet_style_null_propagation = true:suggestion
100+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
101+
dotnet_style_prefer_auto_properties = true:silent
102+
dotnet_style_object_initializer = true:suggestion
103+
dotnet_style_collection_initializer = true:suggestion
104+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
105+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
106+
dotnet_style_prefer_conditional_expression_over_return = true:silent
107+
dotnet_style_explicit_tuple_names = true:suggestion
108+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
109+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
110+
dotnet_style_prefer_compound_assignment = true:suggestion
111+
dotnet_style_prefer_simplified_interpolation = true:suggestion
112+
dotnet_style_namespace_match_folder = true:suggestion
113+
114+
[*.{json,resjson}]
115+
indent_style = space
116+
indent_size = 2
117+
tab_width = 2
118+
119+
[*.{cs,vb}]
120+
#### Naming styles ####
121+
122+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
123+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
124+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
125+
126+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
127+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
128+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
129+
130+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
131+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
132+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
133+
134+
dotnet_naming_symbols.interface.applicable_kinds = interface
135+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
136+
dotnet_naming_symbols.interface.required_modifiers =
137+
138+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
139+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
140+
dotnet_naming_symbols.types.required_modifiers =
141+
142+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
143+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
144+
dotnet_naming_symbols.non_field_members.required_modifiers =
145+
146+
dotnet_naming_style.begins_with_i.required_prefix = I
147+
dotnet_naming_style.begins_with_i.required_suffix =
148+
dotnet_naming_style.begins_with_i.word_separator =
149+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
150+
dotnet_naming_style.pascal_case.required_prefix =
151+
dotnet_naming_style.pascal_case.required_suffix =
152+
dotnet_naming_style.pascal_case.word_separator =
153+
dotnet_naming_style.pascal_case.capitalization = pascal_case
154+
155+
dotnet_style_readonly_field = true:suggestion
156+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
157+
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
158+
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
159+
dotnet_code_quality_unused_parameters = all:suggestion
160+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent

.gitattributes

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
* text=auto
2+
3+
*.cs text diff=csharp
4+
*.msbuild text
5+
*.config text
6+
*.conf text
7+
*.cscfg text
8+
*.csdef text
9+
*.xml text
10+
*.js text
11+
*.ps1 text
12+
13+
*.DotSettings text eol=lf
14+
*.sh text eol=lf
15+
16+
*.csproj text merge=union
17+
*.fsproj text merge=union
18+
*.sln text eol=crlf merge=union
19+
20+
*.jpg binary
21+
*.png binary
22+
*.gif binary
23+
24+
*.doc diff=astextplain
25+
*.DOC diff=astextplain
26+
*.docx diff=astextplain
27+
*.DOCX diff=astextplain
28+
*.pdf diff=astextplain
29+
*.PDF diff=astextplain

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "nuget" # See documentation for possible values
4+
directory: "/" # Location of package manifests
5+
schedule:
6+
interval: "weekly"

.gitignore

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Build Directories
2+
bin/
3+
obj/
4+
out/
5+
output/
6+
tmp/
7+
8+
# User-specific Files
9+
*.user
10+
*.suo
11+
*.sln.docstates
12+
*.userprefs
13+
.vagrant
14+
.vs
15+
.vscode
16+
.idea
17+
.ionide
18+
19+
# Test & Analysis Results
20+
[Tt]est[Rr]esult*/
21+
[Bb]uild[Ll]og.*
22+
*.VisualState.xml
23+
TestResult.xml
24+
TestResults.xml
25+
coverage.*
26+
BenchmarkDotNet.Artifacts
27+
*.dotCover
28+
*.psess
29+
*.vsp
30+
*.vspx
31+
*.lnt
32+
*.svclog
33+
*.log
34+
35+
# Caches
36+
_ReSharper*
37+
_TeamCity*
38+
*.[Rr]e[Ss]harper
39+
*.ide/
40+
*.[Cc]ache
41+
*.ncb
42+
*.sdf
43+
*.aps
44+
*.opensdf
45+
*.opendb
46+
*.cachefile
47+
*.swp
48+
49+
# Upgrades
50+
_UpgradeReport_Files/
51+
Backup*/
52+
UpgradeLog*.XML
53+
UpgradeLog*.htm
54+
*.bak
55+
*.orig
56+
57+
# OS
58+
$RECYCLE.BIN/
59+
.DS_Store
60+
Thumbs.db
61+
ehthumbs.db
62+
Desktop.ini
63+
64+
65+
packages/*
66+
!packages/.gitattributes
67+
!packages/TaskParallelLibrary
68+
!packages/FSharp.Core
69+
packages
70+
paket-files
71+
.fake
72+
.fsdocs
73+
/build.fsx.lock
74+
docs/License.md
75+
docs/License-*.md
76+
docs/Contributing.md
77+
docs/Contributors.md
78+
docs/ReleaseNotes.md
79+
docs/ReleaseNotes-*.md

.mailmap

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Alexander Täschner <taschnataschna@uni-muenster.de>
2+
Anders Gustafsson <anders@cureos.com>
3+
Andriy Bratiychuk <basic2003@list.ru>
4+
Gauthier Segay <gauthier.segay@gmail.com> <gauthier@t420s.local>
5+
manyue <manyue.mo@gmail.com> <manyue@someemail.com>
6+
manyue <manyue.mo@gmail.com> <Mo@DDBNXBB1.(none)>
7+
Paul Varkey <paul.varkey@gmail.com>
8+
Phil Cleveland <pdoh00@gmail.com>
9+
Thomas Ibel <tibel@users.noreply.github.com> <tibel@codeplex.fake>
10+
grovesNL <josh@joshgroves.com> <josh@joshgrgoves.com>
11+
Ioannis Kaliakatsos <john@kaliakatsos.net>
12+
Jong Hyun Kim <diluculo@gmail.com>
13+
Erik Ovegård <erik@ovegard.se>
14+
Erik Ovegård <erik.ovegard@stormgeo.com>
15+
Florian Wechsung <f.wechsung@gmail.com>

0 commit comments

Comments
 (0)