コード例 #1
0
 public virtual void VisitUser(User user)
 {
     //no-op.
 }
コード例 #2
0
 /**
  * Build out this document with a user.
  * @param user The user to be added.
  * @return this.
  */
 public FamilySearchPlatform SetUser(User user)
 {
     AddUser(user);
     return this;
 }
コード例 #3
0
 /**
  * Add a user to the data set.
  *
  * @param user The user to be added.
  */
 public void AddUser(User user)
 {
     if (user != null)
     {
         if (_users == null)
             _users = new List<User>();
         _users.Add(user);
     }
 }
 public override void VisitUser(User user)
 {
     BindIfNeeded(user);
     base.VisitUser(user);
 }