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