Exemple #1
0
        public IEnumerable <Target> EnumerateTargets(DynamicValueContext context)
        {
            ISelectorForCast selectorForCast = m_condition.IsValid(context) ? m_selectorIfTrue : m_selectorIfFalse;

            if (selectorForCast == null)
            {
                return(Empty());
            }
            return(selectorForCast.EnumerateTargets(context));
        }
 public IEnumerable <Target> EnumerateTargets(CastTargetContext castTargetContext)
 {
     return(m_selector.EnumerateTargets(castTargetContext));
 }