/// <summary> /// /// </summary> /// <param name="ouUser"></param> /// <returns></returns> public DomainOrganizationUnitUserCollection Remove(DomainOrganizationUnitUser ouUser) { if (List.Contains(ouUser)) { List.Remove(ouUser); } return(this); }
/// <summary> /// /// </summary> /// <param name="ouUser"></param> /// <returns></returns> public DomainOrganizationUnitUserCollection Add(DomainOrganizationUnitUser ouUser) { if (!List.Contains(ouUser)) { List.Add(ouUser); } return(this); }
/// <summary> /// /// </summary> /// <param name="ouUser"></param> /// <returns></returns> public bool Contains(DomainOrganizationUnitUser ouUser) { return(List.Contains(ouUser)); }