- Timestamp:
- 12/04/08 17:28:52 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/HeuristicLab.Hive.Server.ADODataAccess.csproj
r858 r910 65 65 <ItemGroup> 66 66 <Compile Include="ClientAdapter.cs" /> 67 <Compile Include="ClientGroupAdapter.cs" /> 67 68 <Compile Include="dsHiveServer.cs"> 68 69 <DependentUpon>dsHiveServer.xsd</DependentUpon> … … 84 85 <Compile Include="ResourceAdapter.cs" /> 85 86 <Compile Include="UserAdapter.cs" /> 87 <Compile Include="UserGroupAdapter.cs" /> 86 88 </ItemGroup> 87 89 <ItemGroup> -
trunk/sources/HeuristicLab.Hive.Server.Core/ServiceLocator.cs
r899 r910 32 32 private static IClientAdapter clientAdapter = null; 33 33 34 private static IClientGroupAdapter clientGroupAdapter = null; 35 34 36 private static IUserAdapter userAdapter = null; 37 38 private static IUserGroupAdapter userGroupAdapter = null; 35 39 36 40 /// <summary> … … 47 51 48 52 /// <summary> 53 /// Gets the client group database adapter 54 /// </summary> 55 /// <returns></returns> 56 internal static IClientGroupAdapter GetClientGroupAdapter() { 57 if (clientGroupAdapter == null) { 58 clientGroupAdapter = discoveryService.GetInstances<IClientGroupAdapter>()[0]; 59 } 60 61 return clientGroupAdapter; 62 } 63 64 /// <summary> 49 65 /// Gets the user database adapter 50 66 /// </summary> … … 57 73 return userAdapter; 58 74 } 75 76 /// <summary> 77 /// Gets the user group database adapter 78 /// </summary> 79 /// <returns></returns> 80 internal static IUserGroupAdapter GetUserGroupAdapter() { 81 if (userGroupAdapter == null) { 82 userGroupAdapter = discoveryService.GetInstances<IUserGroupAdapter>()[0]; 83 } 84 85 return userGroupAdapter; 86 } 59 87 }
Note: See TracChangeset
for help on using the changeset viewer.