示例#1
0
 protected bool Equals(EvRole other)
 {
     return(string.Equals(Name, other.Name) &&
            string.Equals(Description, other.Description) &&
            string.Equals(DisplayName, other.DisplayName) &&
            GroupScope == other.GroupScope &&
            IsSecurityGroup.Equals(other.IsSecurityGroup));
 }
 /// <summary>
 /// Adds the active directory group into a list of groups.
 /// </summary>
 /// <param name="evGroup">The ev ad group.</param>
 public void AddEvGroup(EvRole evGroup)
 {
     _evGroups.Add(evGroup);
 }