view Agendas/trunk/src/Agendas.Configurations/PublicadoresConfigurationSection.cs @ 282:bc8dfbde0523

#123: Patrocinadores de las vans: Se verifica que para publicar una Van, debe tener al menos un Patrocinador.
author juanjose.montesdeocaarbos
date Mon, 26 Dec 2011 14:21:44 -0300
parents 734d3f0853bf
children
line wrap: on
line source

using System.Configuration;

namespace AltNetHispano.Agendas.Configurations
{
	public class PublicadoresConfigurationSection : ConfigurationSection
	{
		[ConfigurationProperty("twitter", IsRequired = true)]
		public TwitterConfigurationElement Twitter
		{
			get { return base["twitter"] as TwitterConfigurationElement; }
		}

		[ConfigurationProperty("google")]
		public GoogleConfigurationElement Google
		{
			get { return base["google"] as GoogleConfigurationElement; }
		}

		[ConfigurationProperty("blog")]
		public BlogConfigurationElement Blog
		{
			get { return base["blog"] as BlogConfigurationElement; }
		}
	}
}