Skip to content

Idea: Refactor statics and singletons to be more DI-friendly #2

Description

@eoware

To simplify use in projects that use DI (like asp.net core web apps) and to make it easier to inject mock implementations for testing, etc., AutomationFactory (and a service refactored from Program in #1) could be made singletons with injectable constructors with no static methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions