© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
nohopestage

❔ Need help implementing a toolbox

What's a good way to implement something like this? Currently I have some services, all of which implement
IConfigurationService
IConfigurationService
. I create a collection of services and register it as a dependency that
ConfigurationViewModel
ConfigurationViewModel
requires.
ConfigurationView
ConfigurationView
has an
ItemsControl
ItemsControl
that binds to that collection.
DI code:
https://pastebin.com/FgsA8pC1
And here's what a configuration service looks like:
https://pastebin.com/zR3pGBW3
Also, I need some services that can't enable/disable things. Instead, they would perform an irreversible action, so the old methods would no longer be suitable.
image_22.png
Pastebin
DI - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Configuration service - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

toolbox
C#CC# / help
12mo ago
I need help implementing recursion in a general way
C#CC# / help
15mo ago
❔ Need help implementing a couple features in a text based adventure game
C#CC# / help
4y ago
✅ Need help implementing support for quoting with single quotes
C#CC# / help
9mo ago