public TInterface GetService <TInterface>()
        {
            var type = typeof(TInterface);

            return(IzumiDirectLocator.GetService <TInterface>());
        }
Esempio n. 2
0
 public SignController()
 {
     studentService = IzumiDirectLocator.GetService <IStudentInterFace>();
 }
Esempio n. 3
0
 public HomeController()
 {
     _service    = IzumiDirectLocator.GetService <IzumiInterFace>();
     _serviceTwo = IzumiDirectLocator.GetService <IzumiInterFace>(new object [] { 2.0, 3.0 });
 }