コード例 #1
0
 public override void Install(InstallationHelper helper)
 {
     helper.Register(Component.For <RaygunClientExecutor>());
     helper.Register(Component.For <UnahandledExceptionRaygunRelayer>());
     helper.Register(Component.For <RaygunLog4NetAppenderInstaller>());
     helper.Register(Component.For <EnterpriseTesterRaygunMessageBuilderFactory>());
 }
コード例 #2
0
 public override void Install(InstallationHelper helper)
 {
     helper.Register(Component.For<RaygunClientExecutor>());
     helper.Register(Component.For<UnahandledExceptionRaygunRelayer>());
     helper.Register(Component.For<RaygunLog4NetAppenderInstaller>());
     helper.Register(Component.For<EnterpriseTesterRaygunMessageBuilderFactory>());
 }
コード例 #3
0
        public ActionResult PostInstall(InstallationModel model)
        {
            if (!ModelState.IsValid)
            {
                return(View(model));
            }
            InstallationHelper.Install <ApplicationDbContext>(model);

            return(RedirectToAction("Index", "Home"));
        }