示例#1
0
        public static int Count(object item, IEnumerable seq, params object[] args)
        {
            var kwargs = ParseKwargs(args, new string[] { "test", "key" });
            var test   = GetClosure(kwargs[0], EqualApply);
            var key    = GetClosure(kwargs[1]);

            return(SeqBase.Count(item, seq, test, key));
        }