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

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

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

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