/// <summary> /// Determines if this instance is equal to the specified instance. /// </summary> /// <param name="other">The other instance to which this instance should be compared.</param> /// <returns>If the two instances are equal.</returns> protected bool Equals(ServiceType other) { return string.Equals(Type, other.Type, StringComparison.OrdinalIgnoreCase); }
/// <summary> /// Determines if this instance is equal to the specified instance. /// </summary> /// <param name="other">The other instance to which this instance should be compared.</param> /// <returns>If the two instances are equal.</returns> protected bool Equals(ServiceType other) { return(string.Equals(Type, other.Type, StringComparison.OrdinalIgnoreCase)); }