Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Domain/Identification.cs @ 285:c8f378272407
#123: Patrocinadores de las vans.
author | juanjose.montesdeocaarbos |
---|---|
date | Sat, 31 Dec 2011 14:45:55 -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; } } }