view Agendas/trunk/src/Agendas.Configurations/BlogConfigurationElement.cs @ 186:71737419a839

Ticket 143: Test de unidad, y algo de configuración para acortar URL con servicio de Google.
author juanjose.montesdeocaarbos
date Tue, 09 Aug 2011 08:43:25 -0300
parents 734d3f0853bf
children
line wrap: on
line source

using System.Configuration;

namespace AltNetHispano.Agendas.Configurations
{
	public class BlogConfigurationElement : ConfigurationElement
	{
		[ConfigurationProperty("writer")]
		public BlogWriterConfigurationElement Writer
		{
			get { return base["writer"] as BlogWriterConfigurationElement; }
		}

		[ConfigurationProperty("enabled")]
		public bool Enabled
		{
			get { return (bool) base["enabled"]; }
		}
	}
}