private static bool AreRelated(TypeLibrary typeLibrary, Interface intf) { if ((intf == null) || (typeLibrary == null)) { return(false); } if (string.IsNullOrEmpty(typeLibrary.Guid)) { return(false); } return(string.Equals(typeLibrary.Guid, intf.TypeLibrary, StringComparison.OrdinalIgnoreCase) && string.Equals(typeLibrary.Version, intf.TlbVersion, StringComparison.OrdinalIgnoreCase)); }
private bool TypeLibraryFilter(TypeLibrary typeLibrary) { return(typeLibraryFilterPredicate(typeLibrary)); }