public TranslateController()
        {
            var service = (string)Settings.Default["DataServer"]; // the validated address of the service
            var facades = new GetFacades(service);

            _translateServiceFacade = facades.GetTranslateServiceFacade();

            _settingsServiceFacade = facades.GetSettingsServiceFacade();
        }
 public TranslateController(TranslateServiceFacade translateServiceFacade,
                            SettingsServiceFacade settingsServiceFacade)
 {
     _translateServiceFacade = translateServiceFacade;
     _settingsServiceFacade  = settingsServiceFacade;
 }
 public DemoController(DemoServiceFacade demoServiceFacade, SettingsServiceFacade settingsServiceFacade)
 {
     _demoServiceFacade     = demoServiceFacade;
     _settingsServiceFacade = settingsServiceFacade;
 }
 public SamplesController(SamplesServiceFacade samplesService,
                          SettingsServiceFacade settingsServiceFacade)
 {
     _samplesService        = samplesService;
     _settingsServiceFacade = settingsServiceFacade;
 }
Exemple #5
0
 public SettingsController(SettingsServiceFacade settingsServiceFacade)
 {
     _settingsServiceFacade = settingsServiceFacade;
 }