public static IEnumerable <TMetadata> Resolve <TMetadata>(this MetadataReferenceSet <TMetadata> set) where TMetadata : class, IMetadata { if (set is null) { return(Enumerable.Empty <TMetadata>()); } else { return(set.Resolve()); } }
public static void EnsureReachable <TMetadata>(this MetadataReferenceSet <TMetadata> set) where TMetadata : class, IMetadata { if (set is null) { return; } else { // TODO: Implement logic without factual resolution. // foreach (var resolvedMetadata in set.Resolve()) { continue; } } }