view Agendas/trunk/src/Agendas.Configurations/ConfigurationManager.cs @ 273:a7420f05716a

Ticket #185: Nombre duplicado al loguearse en el administrador de VANs. Corregido el parche.
author juanjose.montesdeocaarbos
date Tue, 29 Nov 2011 07:56:23 -0300
parents 734d3f0853bf
children
line wrap: on
line source

using System.Configuration;

namespace AltNetHispano.Agendas.Configurations
{
	public class AgendasConfigurationManager
	{
		public static PublicadoresConfigurationSection Publicadores
		{
			get
			{
				var config = ConfigurationManager.GetSection("publicadores") as PublicadoresConfigurationSection;
				if (config == null)
					throw new PublicadoresConfigurationException();
				return config;
			}
		}
	}
}