view Agendas/trunk/src/Agendas.Domain/Identification.cs @ 129:a6d20ea228a5

Se agrega Calendario al enum TrackLogPropietario, para ser utilizado en la publicación de Google Calendar.
author alabra
date Sun, 10 Jul 2011 18:08:00 -0400
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; }
	}
}