Add validation and comments to OpenBehavior entity.#1078
Add validation and comments to OpenBehavior entity.#1078jbogard merged 3 commits intoLuckyPennySoftware:masterfrom
Conversation
…e and some refactor with summaries.
|
Waiting for #1072 to proceed. |
|
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
…actor-open-behavior-entity Update branch with current master.
|
Thank you for your response. This PR is all set and waiting for your review. @jbogard |
|
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
|
This PR is not stale. Waiting for review. @jbogard |
|
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
|
This PR is not stale. Waiting for review. @jbogard |
|
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
|
This PR is not stale. Waiting for review. @jbogard @zachpainter77 |
|
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
|
This PR is not stale. Waiting for review. @jbogard |
Updated [MediatR](https://github.com/jbogard/MediatR) from 12.3.0 to 12.5.0. <details> <summary>Release notes</summary> _Sourced from [MediatR's releases](https://github.com/jbogard/MediatR/releases)._ ## 12.5.0 ## What's Changed * Open behavior multiple registration extensions by @Emopusta in LuckyPennySoftware/MediatR#1065 * Remove duplicate `Nullable` property from `MediatR.Contracts` by @jithu7432 in LuckyPennySoftware/MediatR#1061 * Timeout behavior support by @zachpainter77 in LuckyPennySoftware/MediatR#1058 * GitHub Actions upload-artifacts@v2 deprecated moving to v4 by @jithu7432 in LuckyPennySoftware/MediatR#1072 * update MinVer from 4.3.0 to 6.0.0 by @adamralph in LuckyPennySoftware/MediatR#1102 * Update setup-dotnet package version. by @Emopusta in LuckyPennySoftware/MediatR#1086 * Add test for multiple open behavior registration feature. by @Emopusta in LuckyPennySoftware/MediatR#1077 * Add validation and comments to OpenBehavior entity. by @Emopusta in LuckyPennySoftware/MediatR#1078 * Passing CancellationToken to the call chain by @podobaas in LuckyPennySoftware/MediatR#1100 ## New Contributors * @Emopusta made their first contribution in LuckyPennySoftware/MediatR#1065 * @jithu7432 made their first contribution in LuckyPennySoftware/MediatR#1061 * @podobaas made their first contribution in LuckyPennySoftware/MediatR#1100 **Full Changelog**: LuckyPennySoftware/MediatR@v12.4.1...v12.5.0 ## 12.4.1 ## What's Changed * Make Auto Registration of Generic Handlers OPT-IN by @zachpainter77 in LuckyPennySoftware/MediatR#1057 **Full Changelog**: LuckyPennySoftware/MediatR@v12.4.0...v12.4.1 ## 12.4.0 ## What's Changed * Add Support For Generic Handlers With Multiple Generic Type Parameters by @zachpainter77 in LuckyPennySoftware/MediatR#1048 **Full Changelog**: LuckyPennySoftware/MediatR@v12.3.0...v12.4.0 Commits viewable in [compare view](LuckyPennySoftware/MediatR@v12.3.0...v12.5.0). </details> You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Updated [MediatR](https://github.com/jbogard/MediatR) from 12.3.0 to 12.5.0. <details> <summary>Release notes</summary> _Sourced from [MediatR's releases](https://github.com/jbogard/MediatR/releases)._ ## 12.5.0 ## What's Changed * Open behavior multiple registration extensions by @Emopusta in LuckyPennySoftware/MediatR#1065 * Remove duplicate `Nullable` property from `MediatR.Contracts` by @jithu7432 in LuckyPennySoftware/MediatR#1061 * Timeout behavior support by @zachpainter77 in LuckyPennySoftware/MediatR#1058 * GitHub Actions upload-artifacts@v2 deprecated moving to v4 by @jithu7432 in LuckyPennySoftware/MediatR#1072 * update MinVer from 4.3.0 to 6.0.0 by @adamralph in LuckyPennySoftware/MediatR#1102 * Update setup-dotnet package version. by @Emopusta in LuckyPennySoftware/MediatR#1086 * Add test for multiple open behavior registration feature. by @Emopusta in LuckyPennySoftware/MediatR#1077 * Add validation and comments to OpenBehavior entity. by @Emopusta in LuckyPennySoftware/MediatR#1078 * Passing CancellationToken to the call chain by @podobaas in LuckyPennySoftware/MediatR#1100 ## New Contributors * @Emopusta made their first contribution in LuckyPennySoftware/MediatR#1065 * @jithu7432 made their first contribution in LuckyPennySoftware/MediatR#1061 * @podobaas made their first contribution in LuckyPennySoftware/MediatR#1100 **Full Changelog**: LuckyPennySoftware/MediatR@v12.4.1...v12.5.0 ## 12.4.1 ## What's Changed * Make Auto Registration of Generic Handlers OPT-IN by @zachpainter77 in LuckyPennySoftware/MediatR#1057 **Full Changelog**: LuckyPennySoftware/MediatR@v12.4.0...v12.4.1 ## 12.4.0 ## What's Changed * Add Support For Generic Handlers With Multiple Generic Type Parameters by @zachpainter77 in LuckyPennySoftware/MediatR#1048 **Full Changelog**: LuckyPennySoftware/MediatR@v12.3.0...v12.4.0 Commits viewable in [compare view](LuckyPennySoftware/MediatR@v12.3.0...v12.5.0). </details> You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Added a validation method
ValidatePipelineBehaviorTypeto ensure the provided type implements theIPipelineBehavior<,>interface. AnInvalidOperationExceptionis thrown if the type does not implement the required interface. Also, this method ensures that a valid openBehaviorType is provided, throwing anArgumentNullExceptionif the type is null.Added comprehensive XML comments for the class, properties, and methods to improve code readability and maintainability.