Skip to content

Commit 9b3b958

Browse files
authored
Delete code except Client (#3506)
* Delete OSS code * Fix readme * Update readme * Update codeql * Update readme * Add url
1 parent eeefbe4 commit 9b3b958

File tree

1,993 files changed

+153
-901366
lines changed

Some content is hidden

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

1,993 files changed

+153
-901366
lines changed

.dockerignore

Lines changed: 0 additions & 39 deletions
This file was deleted.

.editorconfig

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,55 @@ generated_code = true
2020
[*.cs]
2121
charset = utf-8
2222
file_header_template = -------------------------------------------------------------------------------------------------\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License (MIT). See LICENSE in the repo root for license information.\n-------------------------------------------------------------------------------------------------
23+
csharp_using_directive_placement = outside_namespace:silent
24+
csharp_prefer_simple_using_statement = true:suggestion
25+
csharp_prefer_braces = when_multiline:error
26+
csharp_style_namespace_declarations = file_scoped:error
27+
csharp_style_prefer_method_group_conversion = true:silent
28+
csharp_style_prefer_top_level_statements = true:silent
29+
csharp_style_prefer_primary_constructors = true:suggestion
30+
csharp_prefer_system_threading_lock = true:suggestion
31+
csharp_style_expression_bodied_methods = true:silent
32+
csharp_style_expression_bodied_constructors = true:silent
33+
csharp_style_expression_bodied_operators = true:silent
34+
csharp_style_expression_bodied_properties = true:suggestion
35+
csharp_style_expression_bodied_indexers = true:suggestion
36+
csharp_style_expression_bodied_accessors = true:suggestion
37+
csharp_style_expression_bodied_lambdas = true:silent
38+
csharp_style_expression_bodied_local_functions = false:silent
39+
csharp_style_throw_expression = true:suggestion
40+
csharp_style_prefer_null_check_over_type_check = true:suggestion
41+
csharp_prefer_simple_default_expression = true:suggestion
42+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
43+
csharp_style_prefer_index_operator = true:suggestion
44+
csharp_style_prefer_range_operator = true:suggestion
45+
csharp_style_implicit_object_creation_when_type_is_apparent = false:suggestion
46+
csharp_style_prefer_tuple_swap = true:suggestion
47+
csharp_style_prefer_utf8_string_literals = true:suggestion
48+
csharp_indent_labels = no_change
49+
csharp_style_inlined_variable_declaration = true:suggestion
50+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
51+
csharp_style_deconstructed_variable_declaration = true:suggestion
52+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
53+
csharp_prefer_static_local_function = true:suggestion
54+
csharp_prefer_static_anonymous_function = true:suggestion
55+
csharp_style_prefer_readonly_struct = true:suggestion
56+
csharp_style_prefer_readonly_struct_member = true:suggestion
57+
csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
58+
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
59+
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
60+
csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
61+
csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
62+
csharp_style_conditional_delegate_call = true:suggestion
63+
csharp_style_prefer_pattern_matching = true:silent
64+
csharp_style_prefer_switch_expression = true:suggestion
65+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
66+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
67+
csharp_style_prefer_not_pattern = true:suggestion
68+
csharp_style_prefer_extended_property_pattern = true:suggestion
69+
csharp_style_var_for_built_in_types = false:suggestion
70+
csharp_style_var_when_type_is_apparent = true:suggestion
71+
csharp_style_var_elsewhere = false:suggestion
2372

2473
# Xml project files
2574
[*.{csproj,dcproj}]
@@ -54,3 +103,85 @@ end_of_line = lf
54103
[*.{cmd,bat}]
55104
charset = utf-8
56105
end_of_line = crlf
106+
107+
[*.{cs,vb}]
108+
#### Naming styles ####
109+
110+
# Naming rules
111+
112+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
113+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
114+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
115+
116+
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
117+
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
118+
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
119+
120+
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
121+
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
122+
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
123+
124+
# Symbol specifications
125+
126+
dotnet_naming_symbols.interface.applicable_kinds = interface
127+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
128+
dotnet_naming_symbols.interface.required_modifiers =
129+
130+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
131+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
132+
dotnet_naming_symbols.types.required_modifiers =
133+
134+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
135+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
136+
dotnet_naming_symbols.non_field_members.required_modifiers =
137+
138+
# Naming styles
139+
140+
dotnet_naming_style.begins_with_i.required_prefix = I
141+
dotnet_naming_style.begins_with_i.required_suffix =
142+
dotnet_naming_style.begins_with_i.word_separator =
143+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
144+
145+
dotnet_naming_style.pascal_case.required_prefix =
146+
dotnet_naming_style.pascal_case.required_suffix =
147+
dotnet_naming_style.pascal_case.word_separator =
148+
dotnet_naming_style.pascal_case.capitalization = pascal_case
149+
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+
dotnet_style_coalesce_expression = true:suggestion
155+
dotnet_style_null_propagation = true:suggestion
156+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
157+
dotnet_style_prefer_auto_properties = true:error
158+
dotnet_style_object_initializer = true:suggestion
159+
dotnet_style_collection_initializer = true:suggestion
160+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
161+
dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
162+
dotnet_style_prefer_conditional_expression_over_return = false:silent
163+
dotnet_style_explicit_tuple_names = true:suggestion
164+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
165+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
166+
dotnet_style_prefer_compound_assignment = true:suggestion
167+
dotnet_style_prefer_simplified_interpolation = true:suggestion
168+
dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion
169+
dotnet_style_namespace_match_folder = true:suggestion
170+
dotnet_style_operator_placement_when_wrapping = beginning_of_line
171+
tab_width = 4
172+
end_of_line = crlf
173+
dotnet_style_readonly_field = true:suggestion
174+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
175+
dotnet_style_predefined_type_for_member_access = true:suggestion
176+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:error
177+
dotnet_style_allow_multiple_blank_lines_experimental = true:silent
178+
dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
179+
dotnet_code_quality_unused_parameters = all:suggestion
180+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
181+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
182+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
183+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
184+
dotnet_style_qualification_for_field = false:error
185+
dotnet_style_qualification_for_property = false:error
186+
dotnet_style_qualification_for_method = false:error
187+
dotnet_style_qualification_for_event = false:error

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ jobs:
4949
- name: dotnet build
5050
run: |
5151
dotnet build Microsoft.Health.Dicom.sln -c Release -p:ContinuousIntegrationBuild=true -warnaserror
52-
dotnet build converter/dicom-cast/Microsoft.Health.DicomCast.sln -c Release -p:ContinuousIntegrationBuild=true -warnaserror
53-
dotnet build tools/Microsoft.Health.Dicom.Tools.sln -c Release -p:ContinuousIntegrationBuild=true -warnaserror
5452
if: ${{ matrix.language == 'csharp' }}
5553

5654
- name: Perform CodeQL Analysis

CONTRIBUTING.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

CredScanSuppressions.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)