示例#1
0
        public override bool IsCondition(AbstractRequestContext context)
        {
            var isCondition = context.Parameters.ContainsKey(Property);

            if (!isCondition)
            {
                return(false);
            }

            return(PropertyChangedUtil.IsCondition(this, context));
        }
示例#2
0
        public override bool IsCondition(AbstractRequestContext context)
        {
            var isCondition = context.Parameters.TryGetValue(Property, out _);

            if (!isCondition)
            {
                return(false);
            }

            return(PropertyChangedUtil.IsCondition(this, context));
        }