示例#1
0
 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());
     }
 }
示例#2
0
 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;
         }
     }
 }