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

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