コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="ouUser"></param>
 /// <returns></returns>
 public DomainOrganizationUnitUserCollection Remove(DomainOrganizationUnitUser ouUser)
 {
     if (List.Contains(ouUser))
     {
         List.Remove(ouUser);
     }
     return(this);
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="ouUser"></param>
 /// <returns></returns>
 public DomainOrganizationUnitUserCollection Add(DomainOrganizationUnitUser ouUser)
 {
     if (!List.Contains(ouUser))
     {
         List.Add(ouUser);
     }
     return(this);
 }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="ouUser"></param>
 /// <returns></returns>
 public bool Contains(DomainOrganizationUnitUser ouUser)
 {
     return(List.Contains(ouUser));
 }