Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Configurations/ConfigurationManager.cs @ 284:79942e030118
#123: Patrocinadores de las vans: Se verifica que para publicar una Van, debe tener al menos un Patrocinador.
author | juanjose.montesdeocaarbos |
---|---|
date | Wed, 28 Dec 2011 09:35:27 -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; } } } }