You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this library is to generate factories automatically, based on an interface.
For example, the idea would be to implement the following interface automatically.
The initial implementation would be a simple service locator, that gets IService from the container. The design may change along the way to support more complex scenarios.
Registration of factory interfaces should be simple, like:
services.AddSingleton<IService,Implementation>();// Register the services
services.AddFactory<IFactory>();// Register the factory
Design notes:
Generating "code" at compile-time could be a good way of implementing this
The text was updated successfully, but these errors were encountered:
The goal of this library is to generate factories automatically, based on an interface.
For example, the idea would be to implement the following interface automatically.
The initial implementation would be a simple service locator, that gets
IService
from the container. The design may change along the way to support more complex scenarios.Registration of factory interfaces should be simple, like:
Design notes:
The text was updated successfully, but these errors were encountered: