From 1545970e7fce209c9598d0d98c8014c1b7c204d4 Mon Sep 17 00:00:00 2001
From: Elan Hasson <234704+ElanHasson@users.noreply.github.com>
Date: Sun, 7 Aug 2022 02:03:06 -0400
Subject: [PATCH] Initial Template Commit
---
.editorconfig | 458 ++++++++++++++++++
.gitattributes | 43 ++
.github/CODE_OF_CONDUCT.md | 76 +++
.github/CONTRIBUTING.md | 16 +
.github/FUNDING.yml | 13 +
.github/ISSUE_TEMPLATE/BUG_REPORT.yml | 30 ++
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml | 11 +
.github/PULL_REQUEST_TEMPLATE.md | 6 +
.github/SECURITY.md | 9 +
.github/dependabot.yml | 19 +
.github/release-drafter.yml | 52 ++
.github/workflows/build.yml | 96 ++++
.github/workflows/codeql-analysis.yml | 68 +++
.github/workflows/release-drafter.yml | 25 +
.gitignore | 354 ++++++++++++++
Directory.Build.props | 33 ++
Directory.Build.targets | 15 +
Images/Banner.png | 3 +
Images/Hero.png | 3 +
Images/Icon.png | 3 +
Key.snk | Bin 0 -> 596 bytes
LICENSE => LICENSE.md | 2 +-
Orleans.StorageProviderInterceptors.sln | 102 ++++
README.md | 12 +-
Source/Directory.Build.props | 29 ++
.../Class1.cs | 8 +
...Orleans.StorageProviderInterceptors.csproj | 13 +
.../Properties/AssemblyInfo.cs | 1 +
Tests/.editorconfig | 40 ++
Tests/Directory.Build.props | 17 +
.../Class1Test.cs | 15 +
...ns.StorageProviderInterceptors.Test.csproj | 11 +
.../Properties/AssemblyInfo.cs | 1 +
build.cake | 87 ++++
dotnet-tools.json | 12 +
global.json | 6 +
36 files changed, 1686 insertions(+), 3 deletions(-)
create mode 100644 .editorconfig
create mode 100644 .gitattributes
create mode 100644 .github/CODE_OF_CONDUCT.md
create mode 100644 .github/CONTRIBUTING.md
create mode 100644 .github/FUNDING.yml
create mode 100644 .github/ISSUE_TEMPLATE/BUG_REPORT.yml
create mode 100644 .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
create mode 100644 .github/PULL_REQUEST_TEMPLATE.md
create mode 100644 .github/SECURITY.md
create mode 100644 .github/dependabot.yml
create mode 100644 .github/release-drafter.yml
create mode 100644 .github/workflows/build.yml
create mode 100644 .github/workflows/codeql-analysis.yml
create mode 100644 .github/workflows/release-drafter.yml
create mode 100644 .gitignore
create mode 100644 Directory.Build.props
create mode 100644 Directory.Build.targets
create mode 100644 Images/Banner.png
create mode 100644 Images/Hero.png
create mode 100644 Images/Icon.png
create mode 100644 Key.snk
rename LICENSE => LICENSE.md (97%)
create mode 100644 Orleans.StorageProviderInterceptors.sln
create mode 100644 Source/Directory.Build.props
create mode 100644 Source/Orleans.StorageProviderInterceptors/Class1.cs
create mode 100644 Source/Orleans.StorageProviderInterceptors/Orleans.StorageProviderInterceptors.csproj
create mode 100644 Source/Orleans.StorageProviderInterceptors/Properties/AssemblyInfo.cs
create mode 100644 Tests/.editorconfig
create mode 100644 Tests/Directory.Build.props
create mode 100644 Tests/Orleans.StorageProviderInterceptors.Test/Class1Test.cs
create mode 100644 Tests/Orleans.StorageProviderInterceptors.Test/Orleans.StorageProviderInterceptors.Test.csproj
create mode 100644 Tests/Orleans.StorageProviderInterceptors.Test/Properties/AssemblyInfo.cs
create mode 100644 build.cake
create mode 100644 dotnet-tools.json
create mode 100644 global.json
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..04c55b9
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,458 @@
+# Version: 4.0.0 (Using https://semver.org/)
+# Updated: 2021-10-12
+# See https://github.com/RehanSaeed/EditorConfig/releases for release notes.
+# See https://github.com/RehanSaeed/EditorConfig for updates to this file.
+# See http://EditorConfig.org for more information about .editorconfig files.
+
+##########################################
+# Common Settings
+##########################################
+
+# This file is the top-most EditorConfig file
+root = true
+
+# All Files
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+##########################################
+# File Extension Settings
+##########################################
+
+# Visual Studio Solution Files
+[*.sln]
+indent_style = tab
+
+# Visual Studio XML Project Files
+[*.{csproj,vbproj,vcxproj.filters,proj,projitems,shproj}]
+indent_size = 2
+
+# XML Configuration Files
+[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}]
+indent_size = 2
+
+# JSON Files
+[*.{json,json5,webmanifest}]
+indent_size = 2
+
+# YAML Files
+[*.{yml,yaml}]
+indent_size = 2
+
+# Markdown Files
+[*.md]
+trim_trailing_whitespace = false
+
+# Web Files
+[*.{htm,html,js,jsm,ts,tsx,css,sass,scss,less,pcss,svg,vue}]
+indent_size = 2
+
+# Batch Files
+[*.{cmd,bat}]
+end_of_line = crlf
+
+# Bash Files
+[*.sh]
+end_of_line = lf
+
+# Makefiles
+[Makefile]
+indent_style = tab
+
+##########################################
+# Default .NET Code Style Severities
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/configuration-options#scope
+##########################################
+
+[*.{cs,csx,cake,vb,vbx}]
+# Default Severity for all .NET Code Style rules below
+dotnet_analyzer_diagnostic.severity = warning
+
+##########################################
+# Language Rules
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/language-rules
+##########################################
+
+# .NET Style Rules
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/language-rules#net-style-rules
+[*.{cs,csx,cake,vb,vbx}]
+# "this." and "Me." qualifiers
+dotnet_style_qualification_for_field = true:warning
+dotnet_style_qualification_for_property = true:warning
+dotnet_style_qualification_for_method = true:warning
+dotnet_style_qualification_for_event = true:warning
+# Language keywords instead of framework type names for type references
+dotnet_style_predefined_type_for_locals_parameters_members = true:warning
+dotnet_style_predefined_type_for_member_access = true:warning
+# Modifier preferences
+dotnet_style_require_accessibility_modifiers = always:warning
+csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:warning
+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:warning
+dotnet_style_readonly_field = true:warning
+# Parentheses preferences
+dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:warning
+dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:warning
+dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:warning
+dotnet_style_parentheses_in_other_operators = never_if_unnecessary:warning
+# Expression-level preferences
+dotnet_style_object_initializer = true:warning
+dotnet_style_collection_initializer = true:warning
+dotnet_style_explicit_tuple_names = true:warning
+dotnet_style_prefer_inferred_tuple_names = true:warning
+dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
+dotnet_style_prefer_auto_properties = true:warning
+dotnet_style_prefer_conditional_expression_over_assignment = false:suggestion
+dotnet_diagnostic.IDE0045.severity = suggestion
+dotnet_style_prefer_conditional_expression_over_return = false:suggestion
+dotnet_diagnostic.IDE0046.severity = suggestion
+dotnet_style_prefer_compound_assignment = true:warning
+dotnet_style_prefer_simplified_interpolation = true:warning
+dotnet_style_prefer_simplified_boolean_expressions = true:warning
+# Null-checking preferences
+dotnet_style_coalesce_expression = true:warning
+dotnet_style_null_propagation = true:warning
+dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
+# File header preferences
+# file_header_template = \nĀ© Elan Hasson\n
+# If you use StyleCop, you'll need to disable SA1636: File header copyright text should match.
+# dotnet_diagnostic.SA1636.severity = none
+# Undocumented
+dotnet_style_operator_placement_when_wrapping = end_of_line:warning
+csharp_style_prefer_null_check_over_type_check = true:warning
+dotnet_style_namespace_match_folder = true:suggestion
+dotnet_diagnostic.IDE0130.severity = suggestion
+
+# C# Style Rules
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/language-rules#c-style-rules
+[*.{cs,csx,cake}]
+# 'var' preferences
+csharp_style_var_for_built_in_types = true:warning
+csharp_style_var_when_type_is_apparent = true:warning
+csharp_style_var_elsewhere = true:warning
+# Expression-bodied members
+csharp_style_expression_bodied_methods = true:warning
+csharp_style_expression_bodied_constructors = true:warning
+csharp_style_expression_bodied_operators = true:warning
+csharp_style_expression_bodied_properties = true:warning
+csharp_style_expression_bodied_indexers = true:warning
+csharp_style_expression_bodied_accessors = true:warning
+csharp_style_expression_bodied_lambdas = true:warning
+csharp_style_expression_bodied_local_functions = true:warning
+# Pattern matching preferences
+csharp_style_pattern_matching_over_is_with_cast_check = true:warning
+csharp_style_pattern_matching_over_as_with_null_check = true:warning
+csharp_style_prefer_switch_expression = true:warning
+csharp_style_prefer_pattern_matching = true:warning
+csharp_style_prefer_not_pattern = true:warning
+# Expression-level preferences
+csharp_style_inlined_variable_declaration = true:warning
+csharp_prefer_simple_default_expression = true:warning
+csharp_style_pattern_local_over_anonymous_function = true:warning
+csharp_style_deconstructed_variable_declaration = true:warning
+csharp_style_prefer_index_operator = true:warning
+csharp_style_prefer_range_operator = true:warning
+csharp_style_implicit_object_creation_when_type_is_apparent = true:warning
+# "Null" checking preferences
+csharp_style_throw_expression = true:warning
+csharp_style_conditional_delegate_call = true:warning
+# Code block preferences
+csharp_prefer_braces = true:warning
+csharp_prefer_simple_using_statement = true:suggestion
+dotnet_diagnostic.IDE0063.severity = suggestion
+# 'using' directive preferences
+csharp_using_directive_placement = inside_namespace:warning
+# Modifier preferences
+csharp_prefer_static_local_function = true:warning
+# Undocumented
+csharp_style_namespace_declarations = file_scoped:warning
+
+##########################################
+# Unnecessary Code Rules
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/unnecessary-code-rules
+##########################################
+
+# .NET Unnecessary code rules
+[*.{cs,csx,cake,vb,vbx}]
+dotnet_code_quality_unused_parameters = all:warning
+dotnet_remove_unnecessary_suppression_exclusions = none:warning
+
+# C# Unnecessary code rules
+[*.{cs,csx,cake}]
+csharp_style_unused_value_expression_statement_preference = discard_variable:suggestion
+dotnet_diagnostic.IDE0058.severity = suggestion
+csharp_style_unused_value_assignment_preference = discard_variable:suggestion
+dotnet_diagnostic.IDE0059.severity = suggestion
+
+##########################################
+# Formatting Rules
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules
+##########################################
+
+# .NET formatting rules
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#net-formatting-rules
+[*.{cs,csx,cake,vb,vbx}]
+# Organize using directives
+dotnet_sort_system_directives_first = true
+dotnet_separate_import_directive_groups = false
+
+# C# formatting rules
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/formatting-rules#c-formatting-rules
+[*.{cs,csx,cake}]
+# Newline options
+# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#new-line-options
+csharp_new_line_before_open_brace = all
+csharp_new_line_before_else = true
+csharp_new_line_before_catch = true
+csharp_new_line_before_finally = true
+csharp_new_line_before_members_in_object_initializers = true
+csharp_new_line_before_members_in_anonymous_types = true
+csharp_new_line_between_query_expression_clauses = true
+# Indentation options
+# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#indentation-options
+csharp_indent_case_contents = true
+csharp_indent_switch_labels = true
+csharp_indent_labels = no_change
+csharp_indent_block_contents = true
+csharp_indent_braces = false
+csharp_indent_case_contents_when_block = false
+# Spacing options
+# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#spacing-options
+csharp_space_after_cast = false
+csharp_space_after_keywords_in_control_flow_statements = true
+csharp_space_between_parentheses = false
+csharp_space_before_colon_in_inheritance_clause = true
+csharp_space_after_colon_in_inheritance_clause = true
+csharp_space_around_binary_operators = before_and_after
+csharp_space_between_method_declaration_parameter_list_parentheses = false
+csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
+csharp_space_between_method_declaration_name_and_open_parenthesis = false
+csharp_space_between_method_call_parameter_list_parentheses = false
+csharp_space_between_method_call_empty_parameter_list_parentheses = false
+csharp_space_between_method_call_name_and_opening_parenthesis = false
+csharp_space_after_comma = true
+csharp_space_before_comma = false
+csharp_space_after_dot = false
+csharp_space_before_dot = false
+csharp_space_after_semicolon_in_for_statement = true
+csharp_space_before_semicolon_in_for_statement = false
+csharp_space_around_declaration_statements = false
+csharp_space_before_open_square_brackets = false
+csharp_space_between_empty_square_brackets = false
+csharp_space_between_square_brackets = false
+# Wrap options
+# https://docs.microsoft.com/visualstudio/ide/editorconfig-formatting-conventions#wrap-options
+csharp_preserve_single_line_statements = false
+csharp_preserve_single_line_blocks = true
+
+##########################################
+# .NET Naming Rules
+# https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/naming-rules
+##########################################
+
+[*.{cs,csx,cake,vb,vbx}]
+
+##########################################
+# Styles
+##########################################
+
+# camel_case_style - Define the camelCase style
+dotnet_naming_style.camel_case_style.capitalization = camel_case
+# pascal_case_style - Define the PascalCase style
+dotnet_naming_style.pascal_case_style.capitalization = pascal_case
+# first_upper_style - The first character must start with an upper-case character
+dotnet_naming_style.first_upper_style.capitalization = first_word_upper
+# prefix_interface_with_i_style - Interfaces must be PascalCase and the first character of an interface must be an 'I'
+dotnet_naming_style.prefix_interface_with_i_style.capitalization = pascal_case
+dotnet_naming_style.prefix_interface_with_i_style.required_prefix = I
+# prefix_type_parameters_with_t_style - Generic Type Parameters must be PascalCase and the first character must be a 'T'
+dotnet_naming_style.prefix_type_parameters_with_t_style.capitalization = pascal_case
+dotnet_naming_style.prefix_type_parameters_with_t_style.required_prefix = T
+# disallowed_style - Anything that has this style applied is marked as disallowed
+dotnet_naming_style.disallowed_style.capitalization = pascal_case
+dotnet_naming_style.disallowed_style.required_prefix = ____RULE_VIOLATION____
+dotnet_naming_style.disallowed_style.required_suffix = ____RULE_VIOLATION____
+# internal_error_style - This style should never occur... if it does, it indicates a bug in file or in the parser using the file
+dotnet_naming_style.internal_error_style.capitalization = pascal_case
+dotnet_naming_style.internal_error_style.required_prefix = ____INTERNAL_ERROR____
+dotnet_naming_style.internal_error_style.required_suffix = ____INTERNAL_ERROR____
+
+##########################################
+# .NET Design Guideline Field Naming Rules
+# Naming rules for fields follow the .NET Framework design guidelines
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/index
+##########################################
+
+# All public/protected/protected_internal constant fields must be PascalCase
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
+dotnet_naming_symbols.public_protected_constant_fields_group.applicable_accessibilities = public, protected, protected_internal
+dotnet_naming_symbols.public_protected_constant_fields_group.required_modifiers = const
+dotnet_naming_symbols.public_protected_constant_fields_group.applicable_kinds = field
+dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.symbols = public_protected_constant_fields_group
+dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.style = pascal_case_style
+dotnet_naming_rule.public_protected_constant_fields_must_be_pascal_case_rule.severity = warning
+
+# All public/protected/protected_internal static readonly fields must be PascalCase
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
+dotnet_naming_symbols.public_protected_static_readonly_fields_group.applicable_accessibilities = public, protected, protected_internal
+dotnet_naming_symbols.public_protected_static_readonly_fields_group.required_modifiers = static, readonly
+dotnet_naming_symbols.public_protected_static_readonly_fields_group.applicable_kinds = field
+dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.symbols = public_protected_static_readonly_fields_group
+dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style
+dotnet_naming_rule.public_protected_static_readonly_fields_must_be_pascal_case_rule.severity = warning
+
+# No other public/protected/protected_internal fields are allowed
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/field
+dotnet_naming_symbols.other_public_protected_fields_group.applicable_accessibilities = public, protected, protected_internal
+dotnet_naming_symbols.other_public_protected_fields_group.applicable_kinds = field
+dotnet_naming_rule.other_public_protected_fields_disallowed_rule.symbols = other_public_protected_fields_group
+dotnet_naming_rule.other_public_protected_fields_disallowed_rule.style = disallowed_style
+dotnet_naming_rule.other_public_protected_fields_disallowed_rule.severity = error
+
+##########################################
+# StyleCop Field Naming Rules
+# Naming rules for fields follow the StyleCop analyzers
+# This does not override any rules using disallowed_style above
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers
+##########################################
+
+# All constant fields must be PascalCase
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1303.md
+dotnet_naming_symbols.stylecop_constant_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected, private
+dotnet_naming_symbols.stylecop_constant_fields_group.required_modifiers = const
+dotnet_naming_symbols.stylecop_constant_fields_group.applicable_kinds = field
+dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.symbols = stylecop_constant_fields_group
+dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.style = pascal_case_style
+dotnet_naming_rule.stylecop_constant_fields_must_be_pascal_case_rule.severity = warning
+
+# All static readonly fields must be PascalCase
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1311.md
+dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected, private
+dotnet_naming_symbols.stylecop_static_readonly_fields_group.required_modifiers = static, readonly
+dotnet_naming_symbols.stylecop_static_readonly_fields_group.applicable_kinds = field
+dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.symbols = stylecop_static_readonly_fields_group
+dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.style = pascal_case_style
+dotnet_naming_rule.stylecop_static_readonly_fields_must_be_pascal_case_rule.severity = warning
+
+# No non-private instance fields are allowed
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1401.md
+dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_accessibilities = public, internal, protected_internal, protected, private_protected
+dotnet_naming_symbols.stylecop_fields_must_be_private_group.applicable_kinds = field
+dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.symbols = stylecop_fields_must_be_private_group
+dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.style = disallowed_style
+dotnet_naming_rule.stylecop_instance_fields_must_be_private_rule.severity = error
+
+# Private fields must be camelCase
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1306.md
+dotnet_naming_symbols.stylecop_private_fields_group.applicable_accessibilities = private
+dotnet_naming_symbols.stylecop_private_fields_group.applicable_kinds = field
+dotnet_naming_rule.stylecop_private_fields_must_be_camel_case_rule.symbols = stylecop_private_fields_group
+dotnet_naming_rule.stylecop_private_fields_must_be_camel_case_rule.style = camel_case_style
+dotnet_naming_rule.stylecop_private_fields_must_be_camel_case_rule.severity = warning
+
+# Local variables must be camelCase
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1312.md
+dotnet_naming_symbols.stylecop_local_fields_group.applicable_accessibilities = local
+dotnet_naming_symbols.stylecop_local_fields_group.applicable_kinds = local
+dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.symbols = stylecop_local_fields_group
+dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.style = camel_case_style
+dotnet_naming_rule.stylecop_local_fields_must_be_camel_case_rule.severity = silent
+
+# This rule should never fire. However, it's included for at least two purposes:
+# First, it helps to understand, reason about, and root-case certain types of issues, such as bugs in .editorconfig parsers.
+# Second, it helps to raise immediate awareness if a new field type is added (as occurred recently in C#).
+dotnet_naming_symbols.sanity_check_uncovered_field_case_group.applicable_accessibilities = *
+dotnet_naming_symbols.sanity_check_uncovered_field_case_group.applicable_kinds = field
+dotnet_naming_rule.sanity_check_uncovered_field_case_rule.symbols = sanity_check_uncovered_field_case_group
+dotnet_naming_rule.sanity_check_uncovered_field_case_rule.style = internal_error_style
+dotnet_naming_rule.sanity_check_uncovered_field_case_rule.severity = error
+
+
+##########################################
+# Other Naming Rules
+##########################################
+
+# All of the following must be PascalCase:
+# - Namespaces
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-namespaces
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1300.md
+# - Classes and Enumerations
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1300.md
+# - Delegates
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces#names-of-common-types
+# - Constructors, Properties, Events, Methods
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-type-members
+dotnet_naming_symbols.element_group.applicable_kinds = namespace, class, enum, struct, delegate, event, method, property
+dotnet_naming_rule.element_rule.symbols = element_group
+dotnet_naming_rule.element_rule.style = pascal_case_style
+dotnet_naming_rule.element_rule.severity = warning
+
+# Interfaces use PascalCase and are prefixed with uppercase 'I'
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
+dotnet_naming_symbols.interface_group.applicable_kinds = interface
+dotnet_naming_rule.interface_rule.symbols = interface_group
+dotnet_naming_rule.interface_rule.style = prefix_interface_with_i_style
+dotnet_naming_rule.interface_rule.severity = warning
+
+# Generics Type Parameters use PascalCase and are prefixed with uppercase 'T'
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/names-of-classes-structs-and-interfaces
+dotnet_naming_symbols.type_parameter_group.applicable_kinds = type_parameter
+dotnet_naming_rule.type_parameter_rule.symbols = type_parameter_group
+dotnet_naming_rule.type_parameter_rule.style = prefix_type_parameters_with_t_style
+dotnet_naming_rule.type_parameter_rule.severity = warning
+
+# Function parameters use camelCase
+# https://docs.microsoft.com/dotnet/standard/design-guidelines/naming-parameters
+dotnet_naming_symbols.parameters_group.applicable_kinds = parameter
+dotnet_naming_rule.parameters_rule.symbols = parameters_group
+dotnet_naming_rule.parameters_rule.style = camel_case_style
+dotnet_naming_rule.parameters_rule.severity = warning
+
+##########################################
+# StyleCop
+##########################################
+
+[*.cs]
+# SA1633: A C# code file is missing a standard file header.
+# Justification: Comments turned off
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1633.md
+dotnet_diagnostic.SA1633.severity = none
+
+##########################################
+# License
+##########################################
+# The following applies as to the .editorconfig file ONLY, and is
+# included below for reference, per the requirements of the license
+# corresponding to this .editorconfig file.
+# See: https://github.com/RehanSaeed/EditorConfig
+#
+# MIT License
+#
+# Copyright (c) 2017-2019 Muhammad Rehan Saeed
+# Copyright (c) 2019 Henry Gabryjelski
+#
+# Permission is hereby granted, free of charge, to any
+# person obtaining a copy of this software and associated
+# documentation files (the "Software"), to deal in the
+# Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute,
+# sublicense, and/or sell copies of the Software, and to permit
+# persons to whom the Software is furnished to do so, subject
+# to the following conditions:
+#
+# The above copyright notice and this permission notice shall be
+# included in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+##########################################
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..ca9b040
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,43 @@
+###############################
+# Git Line Endings #
+###############################
+
+# Set default behavior to automatically normalize line endings.
+* text=auto
+
+# Force batch scripts to always use CRLF line endings so that if a repo is accessed
+# in Windows via a file share from Linux, the scripts will work.
+*.{cmd,[cC][mM][dD]} text eol=crlf
+*.{bat,[bB][aA][tT]} text eol=crlf
+
+# Force bash scripts to always use LF line endings so that if a repo is accessed
+# in Unix via a file share from Windows, the scripts will work.
+*.sh text eol=lf
+
+###############################
+# Git Large File System (LFS) #
+###############################
+
+# Archives
+*.7z filter=lfs diff=lfs merge=lfs -text
+*.br filter=lfs diff=lfs merge=lfs -text
+*.gz filter=lfs diff=lfs merge=lfs -text
+*.tar filter=lfs diff=lfs merge=lfs -text
+*.zip filter=lfs diff=lfs merge=lfs -text
+
+# Documents
+*.pdf filter=lfs diff=lfs merge=lfs -text
+
+# Images
+*.gif filter=lfs diff=lfs merge=lfs -text
+*.ico filter=lfs diff=lfs merge=lfs -text
+*.jpg filter=lfs diff=lfs merge=lfs -text
+*.png filter=lfs diff=lfs merge=lfs -text
+*.psd filter=lfs diff=lfs merge=lfs -text
+*.webp filter=lfs diff=lfs merge=lfs -text
+
+# Fonts
+*.woff2 filter=lfs diff=lfs merge=lfs -text
+
+# Other
+*.exe filter=lfs diff=lfs merge=lfs -text
diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..9bc2d5e
--- /dev/null
+++ b/.github/CODE_OF_CONDUCT.md
@@ -0,0 +1,76 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as
+contributors and maintainers pledge to making participation in our project and
+our community a harassment-free experience for everyone, regardless of age, body
+size, disability, ethnicity, sex characteristics, gender identity and expression,
+level of experience, education, socio-economic status, nationality, personal
+appearance, race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behaviour that contributes to creating a positive environment
+include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+Examples of unacceptable behaviour by participants include:
+
+* The use of sexualized language or imagery and unwelcome sexual attention or
+ advances
+* Trolling, insulting/derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or electronic
+ address, without explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable
+behaviour and are expected to take appropriate and fair corrective action in
+response to any instances of unacceptable behaviour.
+
+Project maintainers have the right and responsibility to remove, edit, or
+reject comments, commits, code, wiki edits, issues, and other contributions
+that are not aligned to this Code of Conduct, or to ban temporarily or
+permanently any contributor for other behaviours that they deem inappropriate,
+threatening, offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies both within project spaces and in public spaces
+when an individual is representing the project or its community. Examples of
+representing a project or community include using an official project e-mail
+address, posting via an official social media account, or acting as an appointed
+representative at an online or offline event. Representation of a project may be
+further defined and clarified by project maintainers.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behaviour may be
+reported by contacting [@ElanHasson]. All
+complaints will be reviewed and investigated and will result in a response that
+is deemed necessary and appropriate to the circumstances. The project team is
+obligated to maintain confidentiality with regard to the reporter of an incident.
+Further details of specific enforcement policies may be posted separately.
+
+Project maintainers who do not follow or enforce the Code of Conduct in good
+faith may face temporary or permanent repercussions as determined by other
+members of the project's leadership.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
+available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
+
+[homepage]: https://www.contributor-covenant.org
+
+For answers to common questions about this code of conduct, see
+https://www.contributor-covenant.org/faq
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
new file mode 100644
index 0000000..69c4a32
--- /dev/null
+++ b/.github/CONTRIBUTING.md
@@ -0,0 +1,16 @@
+# All contributions, however small are valued!
+
+# Steps to contribute
+
+ If you want to make a small change, go ahead and raise a pull request, otherwise follow these steps:
+
+1. View the [Issues](https://github.com/ElanHasson/Orleans.StorageProviderInterceptors/issues) page to see a To-Do list of things to be implemented.
+2. Raise an issue or comment on an existing issue with what you want to contribute if one does not already exist.
+3. When you get the go ahead, follow the coding guidelines and raise a pull request.
+4. Include a link to the issue in your pull request.
+
+# Coding Guidelines
+
+- Projects use StyleCop and .editorconfig to produce style warnings. Please fix all warnings in any code you submit.
+- Write unit tests for any code written.
+
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
new file mode 100644
index 0000000..d80add1
--- /dev/null
+++ b/.github/FUNDING.yml
@@ -0,0 +1,13 @@
+# These are supported funding model platforms
+
+github: [ElanHasson]# Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
+patreon: # Replace with a single Patreon username
+open_collective: # Replace with a single Open Collective username
+ko_fi: # Replace with a single Ko-fi username
+tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
+community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+liberapay: # Replace with a single Liberapay username
+issuehunt: # Replace with a single IssueHunt username
+otechie: # Replace with a single Otechie username
+lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
+custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml
new file mode 100644
index 0000000..8a6e63d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml
@@ -0,0 +1,30 @@
+name: "Bug Report"
+description: "Create a report to help us improve"
+labels: [bug]
+body:
+ - type: textarea
+ id: describe-the-bug
+ attributes:
+ label: "Describe the bug"
+ description: "A clear and concise description of what the bug is."
+ validations:
+ required: true
+ - type: textarea
+ id: steps-to-reproduce
+ attributes:
+ label: "Steps to reproduce"
+ description: "A link to some code to reproduce the bug can speed up a fix. Alternatively, show steps to reproduce the behaviour."
+ placeholder: |
+ 1. Go to '...'
+ 2. Click on '....'
+ 3. Scroll down to '....'
+ 4. See error
+ validations:
+ required: true
+ - type: textarea
+ id: expected-behaviour
+ attributes:
+ label: "Expected behaviour"
+ description: "A clear and concise description of what you expected to happen."
+ validations:
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
new file mode 100644
index 0000000..3812e65
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
@@ -0,0 +1,11 @@
+name: "Feature Request"
+description: "Suggest an idea for this project"
+labels: [enhancement]
+body:
+ - type: textarea
+ id: describe-the-bug
+ attributes:
+ label: "Describe the feature"
+ description: "A clear and concise description of what the feature is."
+ validations:
+ required: true
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 0000000..4df110e
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,6 @@
+
diff --git a/.github/SECURITY.md b/.github/SECURITY.md
new file mode 100644
index 0000000..cb57e30
--- /dev/null
+++ b/.github/SECURITY.md
@@ -0,0 +1,9 @@
+# Security Policy
+
+## Supported Versions
+
+This project supports only the latest version with security updates. However, we'll do our best to help and answer questions about older versions.
+
+## Reporting a Vulnerability
+
+Contact [@ElanHasson] to report a security vulnerability. You will be thanked!
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..fc593c4
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,19 @@
+# Please see the documentation for all configuration options:
+# https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+ - package-ecosystem: "nuget"
+ directory: "/"
+ labels:
+ - "dependencies"
+ open-pull-requests-limit: 10
+ schedule:
+ interval: "daily"
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ labels:
+ - "dependencies"
+ open-pull-requests-limit: 10
+ schedule:
+ interval: "daily"
diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
new file mode 100644
index 0000000..2b05372
--- /dev/null
+++ b/.github/release-drafter.yml
@@ -0,0 +1,52 @@
+# release-drafter automatically creates a draft release for you each time you complete a PR in the main branch.
+# It uses GitHub labels to categorize changes (See categories) and draft the release.
+# release-drafter also generates a version for your release based on GitHub labels. You can add a label of 'major',
+# 'minor' or 'patch' to determine which number in the version to increment.
+# You may need to add these labels yourself.
+# See https://github.com/release-drafter/release-drafter
+name-template: "$RESOLVED_VERSION"
+tag-template: "$RESOLVED_VERSION"
+change-template: "- $TITLE by @$AUTHOR (#$NUMBER)"
+no-changes-template: "- No changes"
+categories:
+ - title: "š Documentation"
+ labels:
+ - "documentation"
+ - title: "š New Features"
+ labels:
+ - "enhancement"
+ - title: "š Bug Fixes"
+ labels:
+ - "bug"
+ - title: "š§° Maintenance"
+ labels:
+ - "maintenance"
+version-resolver:
+ major:
+ labels:
+ - "major"
+ minor:
+ labels:
+ - "minor"
+ patch:
+ labels:
+ - "patch"
+ default: patch
+template: |
+ $CHANGES
+
+ ## šØš¼āš» Contributors
+
+ $CONTRIBUTORS
+autolabeler:
+ - label: "documentation"
+ files:
+ - "**/*.md"
+ - label: "enhancement"
+ files:
+ - "Source/**/*"
+ - label: "maintenance"
+ files:
+ - ".github/**/*"
+ - "Images/**/*"
+ - "Tests/**/*"
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..cc7c810
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,96 @@
+name: Build
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ release:
+ types:
+ - published
+ workflow_dispatch:
+
+env:
+ # Disable the .NET logo in the console output.
+ DOTNET_NOLOGO: true
+ # Disable the .NET first time experience to skip caching NuGet packages and speed up the build.
+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+ # Disable sending .NET CLI telemetry to Microsoft.
+ DOTNET_CLI_TELEMETRY_OPTOUT: true
+ # Set the build number in MinVer.
+ MINVERBUILDMETADATA: build.${{github.run_number}}
+
+jobs:
+ build:
+ name: Build-${{matrix.os}}
+ runs-on: ${{matrix.os}}
+ strategy:
+ matrix:
+ os: [ubuntu-latest]
+ steps:
+ - name: "Checkout"
+ uses: actions/checkout@v3.0.2
+ with:
+ lfs: true
+ fetch-depth: 0
+ - name: "Install .NET Core SDK"
+ uses: actions/setup-dotnet@v2.1.0
+ - name: "Dotnet Tool Restore"
+ run: dotnet tool restore
+ shell: pwsh
+ - name: "Dotnet Cake Build"
+ run: dotnet cake --target=Build
+ shell: pwsh
+ - name: "Dotnet Cake Test"
+ run: dotnet cake --target=Test
+ shell: pwsh
+ - name: "Dotnet Cake Pack"
+ run: dotnet cake --target=Pack
+ shell: pwsh
+ - name: "Publish Artifacts"
+ uses: actions/upload-artifact@v3.1.0
+ with:
+ name: ${{matrix.os}}
+ path: "./Artifacts"
+
+ push-github-packages:
+ name: "Push GitHub Packages"
+ needs: build
+ if: github.ref == 'refs/heads/main' || github.event_name == 'release'
+ environment:
+ name: "GitHub Packages"
+ url: https://github.com/ElanHasson/Orleans.StorageProviderInterceptors/packages
+ permissions:
+ packages: write
+ runs-on: windows-latest
+ steps:
+ - name: "Download Artifact"
+ uses: actions/download-artifact@v3.0.0
+ with:
+ name: "windows-latest"
+ - name: "Dotnet NuGet Add Source"
+ run: dotnet nuget add source https://nuget.pkg.github.com/ElanHasson/index.json --name GitHub --username ElanHasson --password ${{secrets.GH_TOKEN}}
+ shell: pwsh
+ - name: "Dotnet NuGet Push"
+ run: dotnet nuget push .\*.nupkg --api-key ${{ github.token }} --source GitHub --skip-duplicate
+ shell: pwsh
+
+ push-nuget:
+ name: "Push NuGet Packages"
+ needs: build
+ if: github.event_name == 'release'
+ environment:
+ name: "NuGet"
+ url: https://www.nuget.org/packages/Orleans.StorageProviderInterceptors
+ runs-on: windows-latest
+ steps:
+ - name: "Download Artifact"
+ uses: actions/download-artifact@v3.0.0
+ with:
+ name: "windows-latest"
+ - name: "Dotnet NuGet Push"
+ run: |
+ Get-ChildItem .\ -Filter *.nupkg |
+ Where-Object { !$_.Name.Contains('preview') } |
+ ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} }
+ shell: pwsh
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..8f59977
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,68 @@
+# CodeQL Code Scanning
+# Analyses your code for security vulnerabilities and coding errors.
+# For most projects, this workflow file will not need changing; you simply need
+# to commit it to your repository. You may wish to alter this file to override
+# the set of languages analyzed, or to provide custom queries or build logic.
+# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning
+name: "CodeQL"
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ # The branches below must be a subset of the branches above
+ branches: [main]
+ schedule:
+ - cron: "0 8 * * 4"
+ workflow_dispatch:
+
+jobs:
+ analyze:
+ name: Analyze
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ language: ["csharp"]
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: ${{ matrix.language }}
+ # If you wish to specify custom queries, you can do so here or in a config file.
+ # By default, queries listed here will override any specified in a config file.
+ # Prefix the list here with "+" to use these queries and those in the config file.
+
+ # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
+ # queries: security-extended,security-and-quality
+
+
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
+ # If this step fails, then you should remove it and run the build manually (see below)
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v2
+
+ # ā¹ļø Command-line programs to run using the OS shell.
+ # š See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
+
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
+
+ # - run: |
+ # echo "Run, Build Application using script"
+ # ./location_of_script_within_repo/buildscript.sh
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2
diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml
new file mode 100644
index 0000000..9999e19
--- /dev/null
+++ b/.github/workflows/release-drafter.yml
@@ -0,0 +1,25 @@
+name: Release Drafter
+
+on:
+ push:
+ branches:
+ - main
+ pull_request_target:
+ types:
+ - edited
+ - opened
+ - reopened
+ - synchronize
+ workflow_dispatch:
+
+jobs:
+ update_release_draft:
+ permissions:
+ contents: write
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - name: "Draft Release"
+ uses: release-drafter/release-drafter@v5.20.0
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c82e97e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,354 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# JustCode is a .NET coding add-in
+.JustCode
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
+
+Artifacts/
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 0000000..022685d
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,33 @@
+
+
+
+ latest
+ true
+ latest
+ AllEnabledByDefault
+ enable
+ enable
+ true
+
+
+
+ Elan Hasson
+ Elan Hasson
+ Copyright Ā© Elan Hasson. All rights Reserved
+ true
+ MIT
+ https://github.com/ElanHasson/Orleans.StorageProviderInterceptors
+ Icon.png
+ README.md
+ https://github.com/ElanHasson/Orleans.StorageProviderInterceptors.git
+ git
+ https://github.com/ElanHasson/Orleans.StorageProviderInterceptors/releases
+
+
+
+
+
+
+
+
+
diff --git a/Directory.Build.targets b/Directory.Build.targets
new file mode 100644
index 0000000..a4d2eef
--- /dev/null
+++ b/Directory.Build.targets
@@ -0,0 +1,15 @@
+
+
+
+
+ preview
+
+
+ normal
+
+
+
+
diff --git a/Images/Banner.png b/Images/Banner.png
new file mode 100644
index 0000000..a09396e
--- /dev/null
+++ b/Images/Banner.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:66ca9fb26f248ad9c57eb3a1ab4a21d259ae11e016fd03ccfd6c2e3719f2f414
+size 6594
diff --git a/Images/Hero.png b/Images/Hero.png
new file mode 100644
index 0000000..0f0cdfd
--- /dev/null
+++ b/Images/Hero.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc5b249e74cd4aef00a6c73b89307b8bbf5378547fba318f60d50a8c3a359cc2
+size 11830
diff --git a/Images/Icon.png b/Images/Icon.png
new file mode 100644
index 0000000..b8e9c0e
--- /dev/null
+++ b/Images/Icon.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3e3ac33bd734f420441c8b8fd4cd23181e5507ff484acb822fb256c034072a97
+size 3949
diff --git a/Key.snk b/Key.snk
new file mode 100644
index 0000000000000000000000000000000000000000..2ff0c617026894c8b769d6c74caf2a969ec15120
GIT binary patch
literal 596
zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097VAn|0)P}v?TXg@LbV;ub$<#fkQ=iGa7@Rm>BK=PpQ^2C^g7CKs94#
zb~FX*HN)p~pLFRXs~`uIiBc9GLIuLtWa}CHnm%1ybp4vc+N3WNh^lsc7z{0fwtwp1
zj3#UdvMAd$LXj4~fIk@u)$LvJ^+vss=Kn@9yb-Kv05k^F{?vwQ%qE<9>8%H_AptF|
zsQsOoCBDz~+`P0%K*5L8>u+geW+17?-=jhGTHo{_&jB-WfYQlY8eNmucXv!3A4ywe
z5L%m{-J#{QJ$W}eVqA*DEDbuwex>^AKmr~W^Q^ua4%&Jm)Uh$(b5n$)nAtBle*snC
ztuy*~Av5Cn8_ma33smh{bci2^am|XHuc`UZ3};hQ@-W_Tv($SeQ-r6zN-Y&?{l`L$
z)C{Pd8CN`k$VxV%xWPWb)a`|s?sTN=kw@fs9ULTxxW|%G-g4Oz1GFPzpm;=&A94Yj
zcy^7WSO5U~3=*kSY{LW-{sU>z3(6iPpBrbam&Ev77Q+*`YN0y)&=vjJi%Sz)lH=jj
i!VVHs`rVG31Wu<*$`F|BaxCT`td#K-7Ah=O$;A=MsT%13
literal 0
HcmV?d00001
diff --git a/LICENSE b/LICENSE.md
similarity index 97%
rename from LICENSE
rename to LICENSE.md
index 8c7cf10..6c67674 100644
--- a/LICENSE
+++ b/LICENSE.md
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2022 Elan Hasson
+Copyright (c) 2020 Elan Hasson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/Orleans.StorageProviderInterceptors.sln b/Orleans.StorageProviderInterceptors.sln
new file mode 100644
index 0000000..f8f9190
--- /dev/null
+++ b/Orleans.StorageProviderInterceptors.sln
@@ -0,0 +1,102 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31423.177
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{719809C2-A551-4C4A-9EFD-B10FB5E35BC0}"
+ ProjectSection(SolutionItems) = preProject
+ Source\Directory.Build.props = Source\Directory.Build.props
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F20E2797-D1E3-4321-91BB-FAE54954D2A0}"
+ ProjectSection(SolutionItems) = preProject
+ .editorconfig = .editorconfig
+ .gitattributes = .gitattributes
+ .gitignore = .gitignore
+ build.cake = build.cake
+ Directory.Build.props = Directory.Build.props
+ Directory.Build.targets = Directory.Build.targets
+ dotnet-tools.json = dotnet-tools.json
+ global.json = global.json
+ Key.snk = Key.snk
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentation", "{7EDFA103-DB69-4C88-9DE4-97ADBF8253A1}"
+ ProjectSection(SolutionItems) = preProject
+ LICENSE.md = LICENSE.md
+ README.md = README.md
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{E1B24F25-B8A4-46EE-B7EB-7803DCFC543F}"
+ ProjectSection(SolutionItems) = preProject
+ Tests\.editorconfig = Tests\.editorconfig
+ Tests\Directory.Build.props = Tests\Directory.Build.props
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Images", "Images", "{26F71F5B-2940-4FB0-9681-A76060CBCEF9}"
+ ProjectSection(SolutionItems) = preProject
+ Images\Banner.png = Images\Banner.png
+ Images\Hero.png = Images\Hero.png
+ Images\Icon.png = Images\Icon.png
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ISSUE_TEMPLATE", "ISSUE_TEMPLATE", "{566DF0E2-1288-4083-9B55-4C8B69BB1432}"
+ ProjectSection(SolutionItems) = preProject
+ .github\ISSUE_TEMPLATE\BUG_REPORT.yml = .github\ISSUE_TEMPLATE\BUG_REPORT.yml
+ .github\ISSUE_TEMPLATE\FEATURE_REQUEST.yml = .github\ISSUE_TEMPLATE\FEATURE_REQUEST.yml
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{0555C737-CE4B-4C78-87AB-6296E1E32D01}"
+ ProjectSection(SolutionItems) = preProject
+ .github\CODE_OF_CONDUCT.md = .github\CODE_OF_CONDUCT.md
+ .github\CONTRIBUTING.md = .github\CONTRIBUTING.md
+ .github\PULL_REQUEST_TEMPLATE.md = .github\PULL_REQUEST_TEMPLATE.md
+ .github\SECURITY.md = .github\SECURITY.md
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{EFE1E5ED-D337-4874-82EC-D9FA0BC7D3AB}"
+ ProjectSection(SolutionItems) = preProject
+ .github\dependabot.yml = .github\dependabot.yml
+ .github\release-drafter.yml = .github\release-drafter.yml
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{841C67EF-BBB2-4730-8E29-22FF3FD54306}"
+ ProjectSection(SolutionItems) = preProject
+ .github\workflows\build.yml = .github\workflows\build.yml
+ .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
+ .github\workflows\release-drafter.yml = .github\workflows\release-drafter.yml
+ EndProjectSection
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Orleans.StorageProviderInterceptors.Test", "Tests\Orleans.StorageProviderInterceptors.Test\Orleans.StorageProviderInterceptors.Test.csproj", "{18C56725-2604-4BA5-89F3-40B2DC2DD81F}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Orleans.StorageProviderInterceptors", "Source\Orleans.StorageProviderInterceptors\Orleans.StorageProviderInterceptors.csproj", "{B3B4B0E9-9012-4EED-B3B1-95892F19DC44}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {18C56725-2604-4BA5-89F3-40B2DC2DD81F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {18C56725-2604-4BA5-89F3-40B2DC2DD81F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {18C56725-2604-4BA5-89F3-40B2DC2DD81F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {18C56725-2604-4BA5-89F3-40B2DC2DD81F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B3B4B0E9-9012-4EED-B3B1-95892F19DC44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B3B4B0E9-9012-4EED-B3B1-95892F19DC44}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B3B4B0E9-9012-4EED-B3B1-95892F19DC44}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B3B4B0E9-9012-4EED-B3B1-95892F19DC44}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {566DF0E2-1288-4083-9B55-4C8B69BB1432} = {0555C737-CE4B-4C78-87AB-6296E1E32D01}
+ {0555C737-CE4B-4C78-87AB-6296E1E32D01} = {7EDFA103-DB69-4C88-9DE4-97ADBF8253A1}
+ {EFE1E5ED-D337-4874-82EC-D9FA0BC7D3AB} = {F20E2797-D1E3-4321-91BB-FAE54954D2A0}
+ {841C67EF-BBB2-4730-8E29-22FF3FD54306} = {EFE1E5ED-D337-4874-82EC-D9FA0BC7D3AB}
+ {18C56725-2604-4BA5-89F3-40B2DC2DD81F} = {E1B24F25-B8A4-46EE-B7EB-7803DCFC543F}
+ {B3B4B0E9-9012-4EED-B3B1-95892F19DC44} = {719809C2-A551-4C4A-9EFD-B10FB5E35BC0}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {73F36209-F8D6-4066-8951-D97729F773CF}
+ EndGlobalSection
+EndGlobal
diff --git a/README.md b/README.md
index ab8f54c..1ae56cf 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,10 @@
-# Orleans.StorageProviderinterceptors
-An interceptor library for Orleans Storage Providers allowing to intercept storage provider operations for transparent encryption, model state validation, and even select a different storage provider at runtime..
+![Banner](Images/Banner.png)
+
+# Orleans.StorageProviderInterceptors
+
+[![Orleans.StorageProviderInterceptors NuGet Package](https://img.shields.io/nuget/v/Orleans.StorageProviderInterceptors.svg)](https://www.nuget.org/packages/Orleans.StorageProviderInterceptors/) [![Orleans.StorageProviderInterceptors NuGet Package Downloads](https://img.shields.io/nuget/dt/Orleans.StorageProviderInterceptors)](https://www.nuget.org/packages/Orleans.StorageProviderInterceptors) [![GitHub Actions Status](https://github.com/ElanHasson/Orleans.StorageProviderInterceptors/workflows/Build/badge.svg?branch=main)](https://github.com/ElanHasson/Orleans.StorageProviderInterceptors/actions)
+
+[![GitHub Actions Build History](https://buildstats.info/github/chart/ElanHasson/Orleans.StorageProviderInterceptors?branch=main&includeBuildsFromPullRequest=false)](https://github.com/ElanHasson/Orleans.StorageProviderInterceptors/actions)
+
+
+An interceptor library for Orleans Storage Providers allowing to intercept storage provider operations for transparent encryption, model state validation, and even select a different storage provider at runtime..Project Description
diff --git a/Source/Directory.Build.props b/Source/Directory.Build.props
new file mode 100644
index 0000000..3ad75ae
--- /dev/null
+++ b/Source/Directory.Build.props
@@ -0,0 +1,29 @@
+
+
+
+
+
+ true
+ snupkg
+
+
+
+
+
+ true
+
+ true
+
+ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Source/Orleans.StorageProviderInterceptors/Class1.cs b/Source/Orleans.StorageProviderInterceptors/Class1.cs
new file mode 100644
index 0000000..11c206a
--- /dev/null
+++ b/Source/Orleans.StorageProviderInterceptors/Class1.cs
@@ -0,0 +1,8 @@
+namespace Orleans.StorageProviderInterceptors;
+
+///
+/// Some class.
+///
+public class Class1
+{
+}
diff --git a/Source/Orleans.StorageProviderInterceptors/Orleans.StorageProviderInterceptors.csproj b/Source/Orleans.StorageProviderInterceptors/Orleans.StorageProviderInterceptors.csproj
new file mode 100644
index 0000000..fe8acac
--- /dev/null
+++ b/Source/Orleans.StorageProviderInterceptors/Orleans.StorageProviderInterceptors.csproj
@@ -0,0 +1,13 @@
+
+
+
+ net6.0
+
+
+
+ Orleans.StorageProviderInterceptors
+ An interceptor library for Orleans Storage Providers allowing to intercept storage provider operations for transparent encryption, model state validation, and even select a different storage provider at runtime..Project Description
+ orleans;storage provider
+
+
+
diff --git a/Source/Orleans.StorageProviderInterceptors/Properties/AssemblyInfo.cs b/Source/Orleans.StorageProviderInterceptors/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..c0d560e
--- /dev/null
+++ b/Source/Orleans.StorageProviderInterceptors/Properties/AssemblyInfo.cs
@@ -0,0 +1 @@
+[assembly: CLSCompliant(true)]
diff --git a/Tests/.editorconfig b/Tests/.editorconfig
new file mode 100644
index 0000000..480d4bd
--- /dev/null
+++ b/Tests/.editorconfig
@@ -0,0 +1,40 @@
+##########################################
+# StyleCop
+##########################################
+
+[*]
+# SA0001: XML comment analysis is disabled due to project configuration
+# Justification: Comments turned off
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA0001.md
+dotnet_diagnostic.SA0001.severity = none
+
+[*.cs]
+# SA1600: A C# code element is missing a documentation header.
+# Justification: Comments turned off
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1600.md
+dotnet_diagnostic.SA1600.severity = none
+
+# SA1601: A C# partial element is missing a documentation header.
+# Justification: Comments turned off
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1601.md
+dotnet_diagnostic.SA1601.severity = none
+
+# SA1602: An item within a C# enumeration is missing an XML documentation header.
+# Justification: Comments turned off
+# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1602.md
+dotnet_diagnostic.SA1602.severity = none
+
+##########################################
+# Custom
+##########################################
+
+[*.cs]
+# CA1062: Validate arguments of public methods
+# Justification: xUnit Theory method parameters don't need to be validated
+# https://docs.microsoft.com/en-us/visualstudio/code-quality/ca1062
+dotnet_diagnostic.CA1062.severity = none
+
+# CA1707: Identifiers should not contain underscores
+# Justification: Test method names contain underscores
+# https://docs.microsoft.com/en-us/visualstudio/code-quality/ca1707
+dotnet_diagnostic.CA1707.severity = none
diff --git a/Tests/Directory.Build.props b/Tests/Directory.Build.props
new file mode 100644
index 0000000..8a77ef9
--- /dev/null
+++ b/Tests/Directory.Build.props
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
+
+
+
diff --git a/Tests/Orleans.StorageProviderInterceptors.Test/Class1Test.cs b/Tests/Orleans.StorageProviderInterceptors.Test/Class1Test.cs
new file mode 100644
index 0000000..72f9aa1
--- /dev/null
+++ b/Tests/Orleans.StorageProviderInterceptors.Test/Class1Test.cs
@@ -0,0 +1,15 @@
+namespace Orleans.StorageProviderInterceptors.Test;
+
+using Orleans.StorageProviderInterceptors;
+using Xunit;
+
+public class Class1Test
+{
+ [Fact]
+ public void Given_When_Then()
+ {
+ var class1 = new Class1();
+
+ Assert.NotNull(class1);
+ }
+}
diff --git a/Tests/Orleans.StorageProviderInterceptors.Test/Orleans.StorageProviderInterceptors.Test.csproj b/Tests/Orleans.StorageProviderInterceptors.Test/Orleans.StorageProviderInterceptors.Test.csproj
new file mode 100644
index 0000000..59b8862
--- /dev/null
+++ b/Tests/Orleans.StorageProviderInterceptors.Test/Orleans.StorageProviderInterceptors.Test.csproj
@@ -0,0 +1,11 @@
+
+
+
+ net6.0
+
+
+
+
+
+
+
diff --git a/Tests/Orleans.StorageProviderInterceptors.Test/Properties/AssemblyInfo.cs b/Tests/Orleans.StorageProviderInterceptors.Test/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..c0d560e
--- /dev/null
+++ b/Tests/Orleans.StorageProviderInterceptors.Test/Properties/AssemblyInfo.cs
@@ -0,0 +1 @@
+[assembly: CLSCompliant(true)]
diff --git a/build.cake b/build.cake
new file mode 100644
index 0000000..60a6d9c
--- /dev/null
+++ b/build.cake
@@ -0,0 +1,87 @@
+var target = Argument("Target", "Default");
+var configuration =
+ HasArgument("Configuration") ? Argument("Configuration") :
+ EnvironmentVariable("Configuration", "Release");
+
+var ArtifactsDirectory = Directory("./Artifacts");
+
+Task("Clean")
+ .Description("Cleans the Artifacts, bin and obj directories.")
+ .Does(() =>
+ {
+ CleanDirectory(ArtifactsDirectory);
+ DeleteDirectories(GetDirectories("**/bin"), new DeleteDirectorySettings() { Force = true, Recursive = true });
+ DeleteDirectories(GetDirectories("**/obj"), new DeleteDirectorySettings() { Force = true, Recursive = true });
+ });
+
+Task("Restore")
+ .Description("Restores NuGet packages.")
+ .IsDependentOn("Clean")
+ .Does(() =>
+ {
+ DotNetRestore();
+ });
+
+Task("Build")
+ .Description("Builds the solution.")
+ .IsDependentOn("Restore")
+ .Does(() =>
+ {
+ DotNetBuild(
+ ".",
+ new DotNetBuildSettings()
+ {
+ Configuration = configuration,
+ NoRestore = true,
+ });
+ });
+
+Task("Test")
+ .Description("Runs unit tests and outputs test results to the Artifacts directory.")
+ .DoesForEach(GetFiles("./Tests/**/*.csproj"), project =>
+ {
+ DotNetTest(
+ project.ToString(),
+ new DotNetTestSettings()
+ {
+ Blame = true,
+ Collectors = new string[] { "Code Coverage", "XPlat Code Coverage" },
+ Configuration = configuration,
+ Loggers = new string[]
+ {
+ $"trx;LogFileName={project.GetFilenameWithoutExtension()}.trx",
+ $"html;LogFileName={project.GetFilenameWithoutExtension()}.html",
+ },
+ NoBuild = true,
+ NoRestore = true,
+ ResultsDirectory = ArtifactsDirectory,
+ });
+ });
+
+Task("Pack")
+ .Description("Creates NuGet packages and outputs them to the Artifacts directory.")
+ .Does(() =>
+ {
+ DotNetPack(
+ ".",
+ new DotNetPackSettings()
+ {
+ Configuration = configuration,
+ IncludeSymbols = true,
+ MSBuildSettings = new DotNetMSBuildSettings()
+ {
+ ContinuousIntegrationBuild = !BuildSystem.IsLocalBuild,
+ },
+ NoBuild = true,
+ NoRestore = true,
+ OutputDirectory = ArtifactsDirectory,
+ });
+ });
+
+Task("Default")
+ .Description("Cleans, restores NuGet packages, builds the solution, runs unit tests and then creates NuGet packages.")
+ .IsDependentOn("Build")
+ .IsDependentOn("Test")
+ .IsDependentOn("Pack");
+
+RunTarget(target);
diff --git a/dotnet-tools.json b/dotnet-tools.json
new file mode 100644
index 0000000..c8bb929
--- /dev/null
+++ b/dotnet-tools.json
@@ -0,0 +1,12 @@
+{
+ "version": 1,
+ "isRoot": true,
+ "tools": {
+ "cake.tool": {
+ "version": "2.2.0",
+ "commands": [
+ "dotnet-cake"
+ ]
+ }
+ }
+}
diff --git a/global.json b/global.json
new file mode 100644
index 0000000..6430c8b
--- /dev/null
+++ b/global.json
@@ -0,0 +1,6 @@
+{
+ "sdk": {
+ "rollForward": "latestMajor",
+ "version": "6.0.300"
+ }
+}