Use Tuple for injecting Interface with Implemented class

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
backend

Research direction

Start by inspecting the BatchSingleton API and its current overloads to understand how interface and implementation names are supplied. Done should support the tuple and tuple-array usage shown in the issue, but no files or tests are identified in the payload.

Written by the indexing model from the issue text.

Description

feature
Usage
service.BatchSingleton(new[] {
            ("I*Service", "*Service"),
            ("I*Schema", "*Schema"),
            ("I*Type", "*Type"),
});

service.BatchSingleton(filter: ("I*Service", "*Service"))
Dominant language
C#
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DrSensor/BatchDI

All issues in DrSensor/BatchDI

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.