Пример #1
0
 private void LocalResolutionMethod(NomadAllModulesLoadedMessage obj)
 {
     // resolving object that provides implementation of ISimpleCommunicationService
     _simpleCommunicationService = _serviceLocator.Resolve <ISimpleCommunicationService>();
     //performing operation on interface
     _simpleCommunicationService.Execute();
 }
 private void LocalResolutionMethod(NomadAllModulesLoadedMessage obj)
 {
     // resolving object that provides implementation of ISimpleCommunicationService
     _simpleCommunicationService = _serviceLocator.Resolve<ISimpleCommunicationService>();
     //performing operation on interface
     _simpleCommunicationService.Execute();
 }