Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/10 10:31:40 (14 years ago)
Author:
gkronber
Message:

Copied refactored plugin infrastructure from branch and merged changeset r2586:2589 from branch into the trunk. #799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Security.Core/3.2/ServiceLocator.cs

    r1724 r2591  
    1010namespace HeuristicLab.Security.Core {
    1111  class ServiceLocator {
    12     private static DiscoveryService discoveryService =
    13       new DiscoveryService();
    14 
    1512    private static ISessionFactory sessionFactory = null;
    1613
     
    2320      if (sessionFactory == null) {
    2421        sessionFactory =
    25           discoveryService.GetInstances<ISessionFactory>()[0];
     22          ApplicationManager.Manager.GetInstances<ISessionFactory>().First();
    2623
    2724        sessionFactory.DbConnectionType =
Note: See TracChangeset for help on using the changeset viewer.