Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="dataKey"></param>
        /// <returns></returns>
        private static string GetDataValue(string dataKey)
        {
            var appConfig         = PagSeguroConfigurationSection.GetCurrent();
            var dataFromAppConfig = appConfig?.Configuration.Get(dataKey);

            return(dataFromAppConfig ?? PagSeguroConfigSerializer.GetDataConfiguration(XmlConfiguration, dataKey));
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 private static string GetDataConfiguration(string data)
 {
     return(PagSeguroConfigSerializer.GetDataConfiguration(LoadXmlConfig(), data));
 }
Beispiel #3
0
 private static string GetDataConfiguration(XmlDocument doc, string data)
 {
     return(PagSeguroConfigSerializer.GetDataConfiguration(doc, data));
 }