Skip to content

Commit aa5c7d6

Browse files
Version 9.6 (#17)
* refactoring * piplines * tests * Update README.md * readme --------- Co-authored-by: VladKovtun99 <goze23gooz@gmail.com>
1 parent 4367909 commit aa5c7d6

File tree

136 files changed

+14014
-2317
lines changed

Some content is hidden

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

136 files changed

+14014
-2317
lines changed

.editorconfig

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
root = true
2+
3+
# All files
4+
[*]
5+
charset = utf-8
6+
end_of_line = crlf
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
indent_style = space
10+
11+
# Code files
12+
[*.{cs,csx,vb,vbx}]
13+
indent_size = 4
14+
15+
# XML project files
16+
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
17+
indent_size = 2
18+
19+
# XML configuration files
20+
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
21+
indent_size = 2
22+
23+
# JSON files
24+
[*.{json,json5}]
25+
indent_size = 2
26+
27+
# YAML files
28+
[*.{yml,yaml}]
29+
indent_size = 2
30+
31+
# Markdown files
32+
[*.md]
33+
trim_trailing_whitespace = false
34+
35+
# Web files
36+
[*.{htm,html,js,ts,tsx,css,sass,scss,less,svg}]
37+
indent_size = 2
38+
39+
# Batch files
40+
[*.{cmd,bat}]
41+
end_of_line = crlf
42+
43+
# Bash files
44+
[*.sh]
45+
end_of_line = lf
46+
47+
###############################
48+
# .NET Coding Conventions #
49+
###############################
50+
51+
[*.{cs,vb}]
52+
53+
# Organize usings
54+
dotnet_sort_system_directives_first = true
55+
dotnet_separate_import_directive_groups = false
56+
57+
# this. preferences
58+
dotnet_style_qualification_for_field = false:suggestion
59+
dotnet_style_qualification_for_property = false:suggestion
60+
dotnet_style_qualification_for_method = false:suggestion
61+
dotnet_style_qualification_for_event = false:suggestion
62+
63+
# Language keywords vs BCL types preferences
64+
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
65+
dotnet_style_predefined_type_for_member_access = true:suggestion
66+
67+
# Parentheses preferences
68+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:suggestion
69+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:suggestion
70+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion
71+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:suggestion
72+
73+
# Modifier preferences
74+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
75+
dotnet_style_readonly_field = true:suggestion
76+
77+
# Expression-level preferences
78+
dotnet_style_object_initializer = true:suggestion
79+
dotnet_style_collection_initializer = true:suggestion
80+
dotnet_style_explicit_tuple_names = true:suggestion
81+
dotnet_style_null_propagation = true:suggestion
82+
dotnet_style_coalesce_expression = true:suggestion
83+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
84+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
85+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
86+
dotnet_style_prefer_auto_properties = true:suggestion
87+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
88+
dotnet_style_prefer_conditional_expression_over_return = true:silent
89+
90+
###############################
91+
# Naming Conventions #
92+
###############################
93+
94+
# Style Definitions
95+
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
96+
97+
# Use PascalCase for constant fields
98+
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
99+
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
100+
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
101+
dotnet_naming_symbols.constant_fields.applicable_kinds = field
102+
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
103+
dotnet_naming_symbols.constant_fields.required_modifiers = const
104+
105+
###############################
106+
# C# Coding Conventions #
107+
###############################
108+
109+
[*.cs]
110+
111+
# var preferences
112+
csharp_style_var_for_built_in_types = false:suggestion
113+
csharp_style_var_when_type_is_apparent = true:suggestion
114+
csharp_style_var_elsewhere = false:suggestion
115+
116+
# Expression-bodied members
117+
csharp_style_expression_bodied_methods = false:silent
118+
csharp_style_expression_bodied_constructors = false:silent
119+
csharp_style_expression_bodied_operators = false:silent
120+
csharp_style_expression_bodied_properties = true:suggestion
121+
csharp_style_expression_bodied_indexers = true:suggestion
122+
csharp_style_expression_bodied_accessors = true:suggestion
123+
124+
# Pattern matching preferences
125+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
126+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
127+
128+
# Null-checking preferences
129+
csharp_style_throw_expression = true:suggestion
130+
csharp_style_conditional_delegate_call = true:suggestion
131+
132+
# Modifier preferences
133+
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
134+
135+
# Expression-level preferences
136+
csharp_prefer_braces = true:silent
137+
csharp_style_deconstructed_variable_declaration = true:suggestion
138+
csharp_prefer_simple_using_statement = true:suggestion
139+
csharp_style_prefer_switch_expression = true:suggestion
140+
141+
###############################
142+
# C# Formatting Rules #
143+
###############################
144+
145+
# New line preferences
146+
csharp_new_line_before_open_brace = all
147+
csharp_new_line_before_else = true
148+
csharp_new_line_before_catch = true
149+
csharp_new_line_before_finally = true
150+
csharp_new_line_before_members_in_object_initializers = true
151+
csharp_new_line_before_members_in_anonymous_types = true
152+
csharp_new_line_between_query_expression_clauses = true
153+
154+
# Indentation preferences
155+
csharp_indent_case_contents = true
156+
csharp_indent_switch_labels = true
157+
csharp_indent_labels = flush_left
158+
159+
# Space preferences
160+
csharp_space_after_cast = false
161+
csharp_space_after_keywords_in_control_flow_statements = true
162+
csharp_space_between_method_call_parameter_list_parentheses = false
163+
csharp_space_between_method_declaration_parameter_list_parentheses = false
164+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
165+
csharp_space_between_method_call_name_and_opening_parenthesis = false
166+
csharp_space_after_comma = true
167+
csharp_space_after_dot = false
168+
csharp_space_after_semicolon_in_for_statement = true
169+
csharp_space_around_binary_operators = before_and_after
170+
csharp_space_around_declaration_statements = false
171+
csharp_space_before_open_square_brackets = false
172+
csharp_space_between_empty_square_brackets = false
173+
csharp_space_between_square_brackets = false
174+
175+
# Wrapping preferences
176+
csharp_preserve_single_line_statements = true
177+
csharp_preserve_single_line_blocks = true
178+
179+
###############################
180+
# VB Coding Conventions #
181+
###############################
182+
183+
[*.vb]
184+
# Modifier preferences
185+
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: '[BUG] '
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
## Describe the bug
11+
A clear and concise description of what the bug is.
12+
13+
## To Reproduce
14+
Steps to reproduce the behavior:
15+
1. Create a Result with '...'
16+
2. Call method '....'
17+
3. See error
18+
19+
## Expected behavior
20+
A clear and concise description of what you expected to happen.
21+
22+
## Code Sample
23+
```csharp
24+
// Minimal code example that reproduces the issue
25+
```
26+
27+
## Stack Trace
28+
```
29+
// If applicable, add the full stack trace here
30+
```
31+
32+
## Environment
33+
- **ManagedCode.Communication Version:** [e.g., 9.5.5]
34+
- **.NET Version:** [e.g., .NET 8, .NET 9]
35+
- **OS:** [e.g., Windows 11, Ubuntu 22.04, macOS 14]
36+
- **IDE:** [e.g., Visual Studio 2022, VS Code, Rider]
37+
38+
## Additional context
39+
Add any other context about the problem here.
40+
41+
## Screenshots
42+
If applicable, add screenshots to help explain your problem.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: '[FEATURE] '
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
## Is your feature request related to a problem? Please describe.
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
## Describe the solution you'd like
14+
A clear and concise description of what you want to happen.
15+
16+
## Describe alternatives you've considered
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
## Proposed API
20+
```csharp
21+
// Show how you envision using this feature
22+
public Result<T> ProposedMethod<T>(...)
23+
{
24+
// Example usage
25+
}
26+
```
27+
28+
## Use Case
29+
Describe specific scenarios where this feature would be beneficial.
30+
31+
## Additional context
32+
Add any other context, code samples, or screenshots about the feature request here.
33+
34+
## Are you willing to contribute?
35+
- [ ] Yes, I'd like to implement this feature
36+
- [ ] Yes, but I need guidance
37+
- [ ] No, but I'm available for testing
38+
- [ ] No

.github/dependabot.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for NuGet packages
4+
- package-ecosystem: "nuget"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "monday"
9+
time: "06:00"
10+
open-pull-requests-limit: 10
11+
reviewers:
12+
- "managedcode-team"
13+
assignees:
14+
- "managedcode-team"
15+
commit-message:
16+
prefix: "chore"
17+
include: "scope"
18+
labels:
19+
- "dependencies"
20+
- "nuget"
21+
22+
# Enable version updates for GitHub Actions
23+
- package-ecosystem: "github-actions"
24+
directory: "/"
25+
schedule:
26+
interval: "weekly"
27+
day: "monday"
28+
time: "06:00"
29+
open-pull-requests-limit: 5
30+
reviewers:
31+
- "managedcode-team"
32+
assignees:
33+
- "managedcode-team"
34+
commit-message:
35+
prefix: "chore"
36+
include: "scope"
37+
labels:
38+
- "dependencies"
39+
- "github-actions"

.github/pull_request_template.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
## Description
2+
<!-- Provide a brief description of the changes in this PR -->
3+
4+
## Type of Change
5+
<!-- Mark the relevant option with an "x" -->
6+
7+
- [ ] Bug fix (non-breaking change which fixes an issue)
8+
- [ ] New feature (non-breaking change which adds functionality)
9+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
10+
- [ ] Documentation update
11+
- [ ] Performance improvement
12+
- [ ] Code refactoring
13+
14+
## Changes Made
15+
<!-- List the specific changes made in this PR -->
16+
17+
-
18+
-
19+
-
20+
21+
## Testing
22+
<!-- Describe the tests you ran to verify your changes -->
23+
24+
- [ ] Unit tests pass
25+
- [ ] Integration tests pass
26+
- [ ] Manual testing completed
27+
28+
## Checklist
29+
<!-- Mark completed items with an "x" -->
30+
31+
- [ ] My code follows the style guidelines of this project
32+
- [ ] I have performed a self-review of my own code
33+
- [ ] I have commented my code, particularly in hard-to-understand areas
34+
- [ ] I have made corresponding changes to the documentation
35+
- [ ] My changes generate no new warnings
36+
- [ ] I have added tests that prove my fix is effective or that my feature works
37+
- [ ] New and existing unit tests pass locally with my changes
38+
- [ ] Any dependent changes have been merged and published
39+
40+
## Related Issues
41+
<!-- Link any related issues here -->
42+
43+
Closes #
44+
45+
## Screenshots (if applicable)
46+
<!-- Add screenshots to help explain your changes -->
47+
48+
## Additional Notes
49+
<!-- Any additional information that reviewers should know -->

0 commit comments

Comments
 (0)