Esempio n. 1
0
 public static bool IsAutoReferenced(this PackageCollectionItem package)
 {
     return(package.PackageReferences
            .Select(e => e as BuildIntegratedPackageReference)
            .Any(e => e?.Dependency?.AutoReferenced == true));
 }
 public static bool IsAutoReferenced(this PackageCollectionItem package)
 {
     return(package.PackageReferences.Any(e => e.IsAutoReferenced));
 }