ardalis / ardalis/SmartEnum

Use IDistributed Cache inside

Open
#91 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

If I wanted to use an IDistributedCache in a method how would I get this.
I just cant work out how to use this inside a method as I cant do a constructor injection of DI

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. First clarify whether a code change or usage guidance is wanted, then inspect the repository's dependency-injection setup and any IDistributedCache references; done is a reproducible answer or an agreed implementation scope.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.