コード例 #1
0
        private IReadOnlyList <AbsolutePath> ComputePathsRootsToResolve()
        {
            // If dependents are selected, we must resolve all values to create the full graph
            if (!m_allowValueShortCircuiting)
            {
                return(CollectionUtilities.EmptyArray <AbsolutePath>());
            }

            // Check if a subset of values can be resolved
            IEnumerable <AbsolutePath> valuesToResolve = PipFilter.GetSpecRootsToResolve();

            if (valuesToResolve != null)
            {
                return(new List <AbsolutePath>(valuesToResolve));
            }

            // All values must be resolved
            return(CollectionUtilities.EmptyArray <AbsolutePath>());
        }
コード例 #2
0
 /// <inheritdoc/>
 public override IEnumerable <AbsolutePath> GetSpecRootsToResolve(bool negate = false)
 {
     return(Inner.GetSpecRootsToResolve(!negate));
 }