Esempio n. 1
0
    public SelfTranslationInformation GetSelfTranslationInformation()
    {
        try
        {
            var info =
                new SelfTranslationInformation
            {
                GoogleUrl         = GoogleUrl,
                GoogleRefererUrl  = GoogleRefererUrl,
                ParseRegexPattern = ParseRegexPattern,
                HttpPostData      = HttpPostData
            };

            return(info);
        }
        catch (Exception x)
        {
            LogCentral.Current.LogError(
                @"Error getting destination self translation information.",
                x);
            throw;
        }
    }
	public SelfTranslationInformation GetSelfTranslationInformation()
	{
		try
		{
			var info =
				new SelfTranslationInformation
					{
						GoogleUrl = GoogleUrl,
						GoogleRefererUrl = GoogleRefererUrl,
						ParseRegexPattern = ParseRegexPattern,
						HttpPostData = HttpPostData
					};

			return info;
		}
		catch (Exception x)
		{
			LogCentral.Current.LogError(
				@"Error getting destination self translation information.",
				x);
			throw;
		}
	}