Exemplo n.º 1
0
        static ConversationalTestBase()
        {
            LitiumSetup.Setup(LitiumSectionGroup.Instance.Plugin.SolutionAssemblies.Concat(new[]
            {
                typeof(TestBase).Assembly,
                Assembly.GetCallingAssembly()
            }).Distinct());

            AppDomain.CurrentDomain.DomainUnload += (s, e) => LitiumSetup.Release();
        }
Exemplo n.º 2
0
 protected void Application_Start()
 {
     //HibernatingRhinos.Profiler.Appender.NHibernate.NHibernateProfiler.Initialize();
     LitiumSetup.Setup(LitiumSectionGroup.Instance.Plugin.SolutionAssemblies.Distinct());
     RegisterGlobalFilters(GlobalFilters.Filters);
     RegisterRoutes(RouteTable.Routes);
     ValueProviderFactories.Factories.Add(new JsonValueProviderFactory());
     AreaRegistration.RegisterAllAreas();
     //Thread.CurrentThread.CurrentCulture = new CultureInfo("uk-UA");
     //Thread.CurrentThread.CurrentUICulture = new CultureInfo("uk-UA");
 }
Exemplo n.º 3
0
 protected virtual void Application_End(object sender, EventArgs e)
 {
     LitiumSetup.Release();
 }