コード例 #1
0
        public TInterface GetService <TInterface>()
        {
            var type = typeof(TInterface);

            return(IzumiDirectLocator.GetService <TInterface>());
        }
コード例 #2
0
ファイル: SignController.cs プロジェクト: IzumiSagiris/nico
 public SignController()
 {
     studentService = IzumiDirectLocator.GetService <IStudentInterFace>();
 }
コード例 #3
0
 public HomeController()
 {
     _service    = IzumiDirectLocator.GetService <IzumiInterFace>();
     _serviceTwo = IzumiDirectLocator.GetService <IzumiInterFace>(new object [] { 2.0, 3.0 });
 }