Exemple #1
0
        public void IOC()
        {
            Injecter.Register <MyClass1>();

            Console.WriteLine(Injecter.Resolve <MyClass1>().Value);
        }
Exemple #2
0
 public object Resolve(Type type)
 {
     return(_injecter.Resolve(type));
 }