public void AddScope(LoginScope scope) { if (!scopes.Contains(scope)) { scopes.Add(scope); } }
public override bool Equals(object obj) { if (GetType() != obj.GetType()) { return(false); } LoginScope other = obj as LoginScope; return(value.Equals(other.Value)); }