view Agendas/trunk/src/Agendas.Domain/Identification.cs @ 241:a7daa939ef0c

Probando de armar tests de Agendas.Web
author juanjose.montesdeocaarbos
date Wed, 05 Oct 2011 07:43:09 -0300
parents 1eb5a0e531bf
children
line wrap: on
line source

namespace AltNetHispano.Agendas.Domain
{
	public class Identification
	{
		public const string Map = " !@";

		public Identification(string name)
		{
			char c = name[0];
			IdentityProvider = (IdentityProviderEnum)Map.IndexOf(c);
			LogonName = name.Substring(1);
		}

		public string LogonName { get; set; }
		public IdentityProviderEnum IdentityProvider { get; set; }
	}
}