예제 #1
0
 public static T Get <T>(params IParameter[] parameters)
 {
     try
     {
         return(kernel.Get <T>(parameters));
     }
     catch (Exception ex)
     {
         Seri.LogException(ex);
         throw;
     }
 }
예제 #2
0
 static NinjectCore()
 {
     try
     {
         kernel = new StandardKernel(new NinjectPluginModule());
     }
     catch (Exception ex)
     {
         Seri.LogException(ex);
         throw;
     }
 }