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

            // Check if a subset of values can be resolved
            IEnumerable <StringId> modulesToResolve = PipFilter.GetModulesToResolve();

            if (modulesToResolve != null)
            {
                return(new List <StringId>(modulesToResolve));
            }

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