-
Notifications
You must be signed in to change notification settings - Fork 617
Open
Description
Remove static dependencies from Context class and inject services.
Acceptance Criteria:
- Context class redesigned to use DI
- All Context consumers updated
- Static references removed or minimized
- Proper lifetime management for Context
- Tests updated
- No breaking changes to external APIs
Technical Approach:
- Inject required managers into Context
- Provide Context through IServiceProvider
- Update all Context.AppXXX references
- Consider Context as scoped service
Risk Areas:
- Many places reference Context statically
- May need gradual migration approach
- Consider adapter pattern for legacy code
Files to Modify:
Libraries/ACATCore/Utility/Context.cs- All files that use Context (search for 'Context.App')
Epic: Dependency Injection Infrastructure
Estimated Effort: 5 days
Parent Feature: #190 - Dependency Injection Infrastructure
Reactions are currently unavailable