view Agendas/trunk/src/Agendas.Configurations/PublicadoresConfigurationSection.cs @ 286:a8f7c41e3b47

#196: Patrocinadores, en el histórico de eventos.
author juanjose.montesdeocaarbos
date Mon, 02 Jan 2012 15:51:19 -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; }
		}
	}
}