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