-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dependency Injection support for Channel<T>
This commit adds a new functionality that enables Dependency Injection for Channel<T> in a concise way. It accomplishes this through the introduction of the `IChannelFactory` interface, the `ChannelFactory` class, and the `ServiceCollectionExtensions` static class. The changes also include the necessary test files and workflow files for pull requests, merges, and releases. The overall aim of this addition is to make interacting with Channels much more manageable and straightforward when using Dependency Injection.
- Loading branch information
1 parent
b01a286
commit f3d047f
Showing
17 changed files
with
818 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Merge Workflow | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
merge_job: | ||
name: Merge Job | ||
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | ||
uses: frankhaugen/Workflows/.github/workflows/dotnet-publish-preview.yml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Pull Request Workflow | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pull_request_job: | ||
name: Pull Request Job | ||
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' | ||
uses: frankhaugen/Workflows/.github/workflows/dotnet-pull-request.yml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Release Workflow | ||
|
||
on: | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release_job: | ||
name: Release Job | ||
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' | ||
uses: frankhaugen/Workflows/.github/workflows/dotnet-publish-release.yml@main | ||
secrets: inherit | ||
|
Oops, something went wrong.