Exemplo n.º 1
0
 protected internal CampfirePersonModel(User user, string network, IProtocolManager pm)
     : base(user.Id.ToString(), user.Name, network, "Campfire", pm)
 {
     Uid = user.Id;
     Name = user.Name;
     Email = user.Email_Address;
     Admin = user.Admin;
     AvatarUrl = user.Avatar_Url;
     Host = network;
     Ident = Name;
 }
Exemplo n.º 2
0
 private CampfirePersonModel CreatePerson(User user)
 {
     var person = new CampfirePersonModel(user, NetworkID, this);
     return person;
 }