Added Literals Project

parent 7015984e

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Literals", "Literals\Literals.csproj", "{902ABA9A-E884-4367-8D7F-49505F7E089A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{902ABA9A-E884-4367-8D7F-49505F7E089A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{902ABA9A-E884-4367-8D7F-49505F7E089A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{902ABA9A-E884-4367-8D7F-49505F7E089A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{902ABA9A-E884-4367-8D7F-49505F7E089A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4109BE71-2EF4-4A75-A44C-3698FA6CBE43}
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_LanguageService" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://api.microsofttranslator.com/V1/soap.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_LanguageService"
contract="TranslatorService.LanguageService" name="BasicHttpBinding_LanguageService" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Literals
{
public enum CodigoIdioma
{
}
}
\ No newline at end of file
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Literals.TranslatorService {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://api.microsofttranslator.com/v1/soap.svc", ConfigurationName="TranslatorService.LanguageService")]
public interface LanguageService {
[System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguages", ReplyAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguagesRespon" +
"se")]
string[] GetLanguages(string appId);
[System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguages", ReplyAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguagesRespon" +
"se")]
System.Threading.Tasks.Task<string[]> GetLanguagesAsync(string appId);
[System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNames", ReplyAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNamesRe" +
"sponse")]
string[] GetLanguageNames(string appId, string locale);
[System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNames", ReplyAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNamesRe" +
"sponse")]
System.Threading.Tasks.Task<string[]> GetLanguageNamesAsync(string appId, string locale);
[System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Detect", ReplyAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/DetectResponse")]
string Detect(string appId, string text);
[System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Detect", ReplyAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/DetectResponse")]
System.Threading.Tasks.Task<string> DetectAsync(string appId, string text);
[System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Translate", ReplyAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/TranslateResponse")]
string Translate(string appId, string text, string from, string to);
[System.ServiceModel.OperationContractAttribute(Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Translate", ReplyAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/TranslateResponse")]
System.Threading.Tasks.Task<string> TranslateAsync(string appId, string text, string from, string to);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface LanguageServiceChannel : Literals.TranslatorService.LanguageService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class LanguageServiceClient : System.ServiceModel.ClientBase<Literals.TranslatorService.LanguageService>, Literals.TranslatorService.LanguageService {
public LanguageServiceClient() {
}
public LanguageServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public LanguageServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public LanguageServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public LanguageServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public string[] GetLanguages(string appId) {
return base.Channel.GetLanguages(appId);
}
public System.Threading.Tasks.Task<string[]> GetLanguagesAsync(string appId) {
return base.Channel.GetLanguagesAsync(appId);
}
public string[] GetLanguageNames(string appId, string locale) {
return base.Channel.GetLanguageNames(appId, locale);
}
public System.Threading.Tasks.Task<string[]> GetLanguageNamesAsync(string appId, string locale) {
return base.Channel.GetLanguageNamesAsync(appId, locale);
}
public string Detect(string appId, string text) {
return base.Channel.Detect(appId, text);
}
public System.Threading.Tasks.Task<string> DetectAsync(string appId, string text) {
return base.Channel.DetectAsync(appId, text);
}
public string Translate(string appId, string text, string from, string to) {
return base.Channel.Translate(appId, text, from, to);
}
public System.Threading.Tasks.Task<string> TranslateAsync(string appId, string text, string from, string to) {
return base.Channel.TranslateAsync(appId, text, from, to);
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="df48f357-ea79-46fe-8223-d8419e3408a0" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
<ClientOptions>
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
<EnableDataBinding>true</EnableDataBinding>
<ExcludedTypes />
<ImportXmlTypes>false</ImportXmlTypes>
<GenerateInternalTypes>false</GenerateInternalTypes>
<GenerateMessageContracts>false</GenerateMessageContracts>
<NamespaceMappings />
<CollectionMappings />
<GenerateSerializableTypes>true</GenerateSerializableTypes>
<Serializer>Auto</Serializer>
<UseSerializerForFaults>true</UseSerializerForFaults>
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
<ReferencedAssemblies />
<ReferencedDataContractTypes />
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
<MetadataSource Address="http://api.microsofttranslator.com/V1/SOAP.svc" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="SoapService.wsdl" MetadataType="Wsdl" ID="59c4147b-496c-40c7-8241-6ea2e6debe90" SourceId="1" SourceUrl="http://api.microsofttranslator.com/V1/soap.svc?wsdl" />
<MetadataFile FileName="soap.wsdl" MetadataType="Wsdl" ID="25eb0f16-3b1d-4b69-a1d9-a12e380f4d63" SourceId="1" SourceUrl="http://api.microsofttranslator.com/V1/soap.svc?wsdl=wsdl0" />
<MetadataFile FileName="soap.xsd" MetadataType="Schema" ID="ffe011a5-79a2-40dd-9406-e5572e9886e9" SourceId="1" SourceUrl="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd2" />
<MetadataFile FileName="SoapService1.wsdl" MetadataType="Wsdl" ID="060588f0-4303-4bfc-b935-fce5c246f102" SourceId="1" SourceUrl="http://api.microsofttranslator.com/V1/SOAP.svc" />
<MetadataFile FileName="soap1.xsd" MetadataType="Schema" ID="75f27b0a-0647-43b9-8485-f2a685ef55ce" SourceId="1" SourceUrl="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd1" />
<MetadataFile FileName="soap2.xsd" MetadataType="Schema" ID="cbcf44d2-efff-4ef6-b7bf-2cdf4905d99e" SourceId="1" SourceUrl="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd0" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://api.microsofttranslator.com/v1/soap.svc" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://tempuri.org/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SoapService" targetNamespace="http://api.microsofttranslator.com/v1/soap.svc" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://tempuri.org/" location="http://api.microsofttranslator.com/V1/soap.svc?wsdl=wsdl0" />
<wsdl:types>
<xsd:schema targetNamespace="http://api.microsofttranslator.com/v1/soap.svc/Imports">
<xsd:import schemaLocation="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd0" namespace="http://api.microsofttranslator.com/v1/soap.svc" />
<xsd:import schemaLocation="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xsd:import schemaLocation="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="LanguageService_GetLanguages_InputMessage">
<wsdl:part name="parameters" element="tns:GetLanguages" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguages_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLanguagesResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguageNames_InputMessage">
<wsdl:part name="parameters" element="tns:GetLanguageNames" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguageNames_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLanguageNamesResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_Detect_InputMessage">
<wsdl:part name="parameters" element="tns:Detect" />
</wsdl:message>
<wsdl:message name="LanguageService_Detect_OutputMessage">
<wsdl:part name="parameters" element="tns:DetectResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_Translate_InputMessage">
<wsdl:part name="parameters" element="tns:Translate" />
</wsdl:message>
<wsdl:message name="LanguageService_Translate_OutputMessage">
<wsdl:part name="parameters" element="tns:TranslateResponse" />
</wsdl:message>
<wsdl:portType name="LanguageService">
<wsdl:operation name="GetLanguages">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguages" message="tns:LanguageService_GetLanguages_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguagesResponse" message="tns:LanguageService_GetLanguages_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetLanguageNames">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNames" message="tns:LanguageService_GetLanguageNames_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNamesResponse" message="tns:LanguageService_GetLanguageNames_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="Detect">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Detect" message="tns:LanguageService_Detect_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/DetectResponse" message="tns:LanguageService_Detect_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="Translate">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Translate" message="tns:LanguageService_Translate_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/TranslateResponse" message="tns:LanguageService_Translate_OutputMessage" />
</wsdl:operation>
</wsdl:portType>
<wsdl:service name="SoapService">
<wsdl:port name="BasicHttpBinding_LanguageService" binding="i0:BasicHttpBinding_LanguageService">
<soap:address location="http://api.microsofttranslator.com/V1/soap.svc" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://api.microsofttranslator.com/v1/soap.svc" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://tempuri.org/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SoapService" targetNamespace="http://api.microsofttranslator.com/v1/soap.svc" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://tempuri.org/" location="http://api.microsofttranslator.com/V1/soap.svc?wsdl=wsdl0" />
<wsdl:types>
<xsd:schema targetNamespace="http://api.microsofttranslator.com/v1/soap.svc/Imports">
<xsd:import schemaLocation="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd0" namespace="http://api.microsofttranslator.com/v1/soap.svc" />
<xsd:import schemaLocation="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xsd:import schemaLocation="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="LanguageService_GetLanguages_InputMessage">
<wsdl:part name="parameters" element="tns:GetLanguages" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguages_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLanguagesResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguageNames_InputMessage">
<wsdl:part name="parameters" element="tns:GetLanguageNames" />
</wsdl:message>
<wsdl:message name="LanguageService_GetLanguageNames_OutputMessage">
<wsdl:part name="parameters" element="tns:GetLanguageNamesResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_Detect_InputMessage">
<wsdl:part name="parameters" element="tns:Detect" />
</wsdl:message>
<wsdl:message name="LanguageService_Detect_OutputMessage">
<wsdl:part name="parameters" element="tns:DetectResponse" />
</wsdl:message>
<wsdl:message name="LanguageService_Translate_InputMessage">
<wsdl:part name="parameters" element="tns:Translate" />
</wsdl:message>
<wsdl:message name="LanguageService_Translate_OutputMessage">
<wsdl:part name="parameters" element="tns:TranslateResponse" />
</wsdl:message>
<wsdl:portType name="LanguageService">
<wsdl:operation name="GetLanguages">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguages" message="tns:LanguageService_GetLanguages_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguagesResponse" message="tns:LanguageService_GetLanguages_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetLanguageNames">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNames" message="tns:LanguageService_GetLanguageNames_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNamesResponse" message="tns:LanguageService_GetLanguageNames_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="Detect">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Detect" message="tns:LanguageService_Detect_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/DetectResponse" message="tns:LanguageService_Detect_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="Translate">
<wsdl:input wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Translate" message="tns:LanguageService_Translate_InputMessage" />
<wsdl:output wsaw:Action="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/TranslateResponse" message="tns:LanguageService_Translate_OutputMessage" />
</wsdl:operation>
</wsdl:portType>
<wsdl:service name="SoapService">
<wsdl:port name="BasicHttpBinding_LanguageService" binding="i0:BasicHttpBinding_LanguageService">
<soap:address location="http://api.microsofttranslator.com/V1/soap.svc" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings>
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;BasicHttpBinding_LanguageService&quot; /&gt;" bindingType="basicHttpBinding" name="BasicHttpBinding_LanguageService" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://api.microsofttranslator.com/V1/soap.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_LanguageService&quot; contract=&quot;TranslatorService.LanguageService&quot; name=&quot;BasicHttpBinding_LanguageService&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://api.microsofttranslator.com/V1/soap.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_LanguageService&quot; contract=&quot;TranslatorService.LanguageService&quot; name=&quot;BasicHttpBinding_LanguageService&quot; /&gt;" contractName="TranslatorService.LanguageService" name="BasicHttpBinding_LanguageService" />
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://api.microsofttranslator.com/V1/soap.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_LanguageService&quot; contract=&quot;TranslatorService.LanguageService&quot; name=&quot;BasicHttpBinding_LanguageService1&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://api.microsofttranslator.com/V1/soap.svc&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_LanguageService&quot; contract=&quot;TranslatorService.LanguageService&quot; name=&quot;BasicHttpBinding_LanguageService1&quot; /&gt;" contractName="TranslatorService.LanguageService" name="BasicHttpBinding_LanguageService1" />
</endpoints>
</configurationSnapshot>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://api.microsofttranslator.com/v1/soap.svc" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://api.microsofttranslator.com/v1/soap.svc" location="http://api.microsofttranslator.com/V1/soap.svc?wsdl" />
<wsdl:types />
<wsdl:binding name="BasicHttpBinding_LanguageService" type="i0:LanguageService">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="GetLanguages">
<soap:operation soapAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguages" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetLanguageNames">
<soap:operation soapAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/GetLanguageNames" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Detect">
<soap:operation soapAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Detect" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Translate">
<soap:operation soapAction="http://api.microsofttranslator.com/v1/soap.svc/LanguageService/Translate" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="ArrayOfstring">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://api.microsofttranslator.com/v1/soap.svc" elementFormDefault="qualified" targetNamespace="http://api.microsofttranslator.com/v1/soap.svc" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="http://api.microsofttranslator.com/V1/soap.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<xs:element name="GetLanguages">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguagesResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetLanguagesResult" nillable="true" type="q1:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguageNames">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="locale" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetLanguageNamesResponse">
<xs:complexType>
<xs:sequence>
<xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="GetLanguageNamesResult" nillable="true" type="q2:ArrayOfstring" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Detect">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="text" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DetectResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="DetectResult" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Translate">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="appId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="text" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="from" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="to" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TranslateResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="TranslateResult" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Literals
{
public enum Idiomas
{
Ingles=3,
Americano=57,
Frances=5,
Español =1,
Mexicano=4,
Colombiano=9,
Peruano=25,
Portugues=2,
Catalan=6,
Italiano=12
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{902ABA9A-E884-4367-8D7F-49505F7E089A}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Literals</RootNamespace>
<AssemblyName>Literals</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="DarrenLee.Translator">
<HintPath>bin\DarrenLee.Translator.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CodigoIdioma.cs" />
<Compile Include="Idiomas.cs" />
<Compile Include="MainMenu.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainMenu.Designer.cs">
<DependentUpon>MainMenu.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="MainMenu.resx">
<DependentUpon>MainMenu.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
namespace Literals
{
partial class MainMenu
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.BotonAdd = new System.Windows.Forms.Button();
this.ComboboxIdioma = new System.Windows.Forms.ComboBox();
this.panel1 = new System.Windows.Forms.Panel();
this.txtLiteral = new System.Windows.Forms.TextBox();
this.BotonTraduce = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.txtNombreTabla = new System.Windows.Forms.TextBox();
this.txtLitValue = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// BotonAdd
//
this.BotonAdd.Location = new System.Drawing.Point(256, 111);
this.BotonAdd.Name = "BotonAdd";
this.BotonAdd.Size = new System.Drawing.Size(75, 23);
this.BotonAdd.TabIndex = 9;
this.BotonAdd.Text = "Añadir";
this.BotonAdd.UseVisualStyleBackColor = true;
this.BotonAdd.Click += new System.EventHandler(this.BotonAdd_Click);
//
// ComboboxIdioma
//
this.ComboboxIdioma.AllowDrop = true;
this.ComboboxIdioma.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ComboboxIdioma.FormattingEnabled = true;
this.ComboboxIdioma.Location = new System.Drawing.Point(5, 111);
this.ComboboxIdioma.Name = "ComboboxIdioma";
this.ComboboxIdioma.Size = new System.Drawing.Size(231, 21);