public int CompareTo(PluginConfigAccessorInfo other) { if (this == other) { return(0); } int cmp = _plugin.CompareTo(other._plugin); if (cmp == 0) { cmp = _source.CompareTo(other.Source); } return(cmp); }
public int CompareTo(ServiceReferenceInfo other) { if (this == other) { return(0); } int cmp = _owner.CompareTo(other._owner); if (cmp == 0) { cmp = _propertyName.CompareTo(other.PropertyName); } return(cmp); }