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

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