© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
33 replies
Dropps

AppBuilder class

hello there iam currently trying to think of a solution so i can make myself a AppBuilder without needing to reference all projects directly

basicly i have a Program.cs from a wpf app in Project B but in project A i want to be able to say something like
cs 
builder.AddSingleton<LoggerForProjectA>();
cs 
builder.AddSingleton<LoggerForProjectA>();

how could that be done?
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

Class
C#CC# / help
3y ago
UML class diagram. Class relationships.
C#CC# / help
3y ago
ConnectionStrings passed from class to class
C#CC# / help
2y ago
❔ Class with Func<> and class initializers
C#CC# / help
3y ago