예제 #1
0
        public TInterface GetService <TInterface>()
        {
            var type = typeof(TInterface);

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