示例#1
0
        protected override bool TryInvoke(ISubscriberInfoInternal unit)
        {
            if (unit.Condition != null && !((Func <bool>)unit.Condition).Invoke())
            {
                return(false);
            }

            ((Action)unit.Action).Invoke();
            return(true);
        }
示例#2
0
 protected abstract bool TryInvoke(ISubscriberInfoInternal unit);