public void Add(ITenantClaims <TKey, TClaims> tenantClaims) { if (ReferenceEquals(null, tenantClaims)) { return; } AddIfNotExists(tenantClaims); }
/// <summary>Determines whether the specified object is equal to the current object.</summary> public virtual bool Equals(ITenantClaims <TKey, TProperty> other) { if (other?.Id?.Equals(Id) != true) { return(false); } return(other is ITenantClaims <TKey, TProperty>); }