Changeset 7132 for trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3
- Timestamp:
- 12/06/11 12:49:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.Slave/3.3/WcfService.cs
r6983 r7132 42 42 if (instance == null) { 43 43 instance = new WcfService(); 44 ServiceLocator.Instance.Username = HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings.Default.SlaveUser;45 ServiceLocator.Instance.Password = HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings.Default.SlavePwd;44 HiveServiceLocator.Instance.Username = HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings.Default.SlaveUser; 45 HiveServiceLocator.Instance.Password = HeuristicLab.Clients.Hive.SlaveCore.Properties.Settings.Default.SlavePwd; 46 46 } 47 47 return instance; … … 161 161 public void CallHiveService(Action<IHiveService> call) { 162 162 try { 163 ServiceLocator.Instance.CallHiveService(call);163 HiveServiceLocator.Instance.CallHiveService(call); 164 164 } 165 165 catch (Exception ex) { … … 170 170 private T CallHiveService<T>(Func<IHiveService, T> call) { 171 171 try { 172 return ServiceLocator.Instance.CallHiveService(call);172 return HiveServiceLocator.Instance.CallHiveService(call); 173 173 } 174 174 catch (Exception ex) {
Note: See TracChangeset
for help on using the changeset viewer.