public void AssociateUser(TelimenaUser user) { if (!this.AssociatedUsers.Contains(user)) { ((List <TelimenaUser>) this.AssociatedUsers).Add(user); } }
public void RemoveAssociatedUser(TelimenaUser user) { if (this.AssociatedUsers.Contains(user)) { ((List <TelimenaUser>) this.AssociatedUsers).Remove(user); } }
public DeveloperTeam(TelimenaUser user) { this.MainUserId = user.Id; this.MainEmail = user.Email; this.Name = user.DisplayName; user.AssociateWithDeveloperAccount(this); }
public void SetMainUser(TelimenaUser user) { this.MainUser = user; this.AssociateUser(user); }