view Agendas/trunk/src/Agendas.Configurations/BlogConfigurationElement.cs @ 287:eeca9ddb330a

BUG: Los Patrocinadores quedaban asociados a un único evento. Se armó un test que lo demuestra y se modificó el modelo de la base de datos.
author juanjose.montesdeocaarbos
date Mon, 02 Jan 2012 19:44:41 -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"]; }
		}
	}
}