view Agendas/trunk/src/Agendas.Configurations/TwitterConfigurationElement.cs @ 264:cef4fc893333

EventoControllerTests: No se estaba pasando el HttpContext al test.
author juanjose.montesdeocaarbos
date Sat, 22 Oct 2011 17:27:45 -0300
parents 734d3f0853bf
children
line wrap: on
line source

using System.Configuration;

namespace AltNetHispano.Agendas.Configurations
{
	public class TwitterConfigurationElement : ConfigurationElement
	{
		[ConfigurationProperty("signIn")]
		public TwitterSignInConfigurationElement SignIn
		{
			get { return base["signIn"] as TwitterSignInConfigurationElement; }
		}


		[ConfigurationProperty("sendTwitter")]
		public TwitterSendTwitterConfigurationElement SendTwitter
		{
			get { return base["sendTwitter"] as TwitterSendTwitterConfigurationElement; }
		}

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

		}
	}
}