- Timestamp:
- 01/05/10 10:31:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Security.Core/3.2/ServiceLocator.cs
r1724 r2591 10 10 namespace HeuristicLab.Security.Core { 11 11 class ServiceLocator { 12 private static DiscoveryService discoveryService =13 new DiscoveryService();14 15 12 private static ISessionFactory sessionFactory = null; 16 13 … … 23 20 if (sessionFactory == null) { 24 21 sessionFactory = 25 discoveryService.GetInstances<ISessionFactory>()[0];22 ApplicationManager.Manager.GetInstances<ISessionFactory>().First(); 26 23 27 24 sessionFactory.DbConnectionType =
Note: See TracChangeset
for help on using the changeset viewer.