view Agendas/trunk/src/Agendas.Domain/Identification.cs @ 294:0e616662a94b

Added tag v1.1.0 for changeset 2cf7143586fe
author nelopauselli
date Fri, 17 Feb 2012 14:28:05 -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; }
	}
}