public ListTranslationProviderLanguageDirection(ListTranslationProvider provider, LanguagePair languages)
 {
     _provider          = provider;
     _languageDirection = languages;
     _options           = _provider.Options;
     _visitor           = new ListTranslationProviderElementVisitor(_options);
 }
        public NeurotolgeConfDialog(ListTranslationOptions options, Sdl.LanguagePlatform.Core.LanguagePair[] languagePairs)
        {
            string sSourceCulture = languagePairs[0].SourceCultureName.ToLower();
            string sTargetCulture = languagePairs[0].TargetCultureName.ToLower();

            Options = options;
            InitializeComponent();
            SendMessage(address_txtbox.Handle, EM_SETCUEBANNER, 0, "api.neurotolge.ee/v1.1");
            SendMessage(port_txtbox.Handle, EM_SETCUEBANNER, 0, "80");
            address_txtbox.Text = "api.neurotolge.ee/v1.1";
            port_txtbox.Text    = "80";
            Console.WriteLine(options);

            Options.serverAddress = address_txtbox.Text.Trim();
            Options.port          = port_txtbox.Text.Trim();
            Options.client        = textBoxClient.Text.Trim();
            Options.subject       = textBoxSubject.Text.Trim();
            Options.otherFeatures = textBoxOtherFeatures.Text.Trim();
        }
 public ListTranslationProvider(ListTranslationOptions options)
 {
     Options = options;
 }
 public ListTranslationProviderElementVisitor(ListTranslationOptions options)
 {
     _options = options;
 }