view Agendas/trunk/src/Agendas.Configurations/TwitterConfigurationElement.cs @ 265:5ddc574deeea

Remplazamos la clase PersonaValidation por TwitterAttribute
author juanjose.montesdeocaarbos
date Tue, 25 Oct 2011 07:23:15 -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"]; }

		}
	}
}