mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Change autowire UDA to be a class instead of enum
This commit is contained in:
parent
ec5cad2bbf
commit
14d504a752
|
@ -2,7 +2,7 @@ module poodinis.autowire;
|
|||
|
||||
public import poodinis.container;
|
||||
|
||||
enum Autowire;
|
||||
class Autowire{};
|
||||
|
||||
public void autowire(Type)(Container container, Type instance) {
|
||||
import std.stdio;
|
||||
|
|
Loading…
Reference in a new issue