Endjin.Assembly.ChangeDetection.Infrastructure.ListExtensions.HasMatches C# (CSharp) 메소드

HasMatches() 공개 정적인 메소드

public static HasMatches ( this queries ) : bool
queries this
리턴 bool
        public static bool HasMatches(this List<FileQuery> queries)
        {
            if (queries == null)
            {
                throw new ArgumentNullException("queries was null.");
            }

            var lret = false;
            foreach (var q in queries)
            {
                lret = q.HasMatches;
                if (lret)
                {
                    break;
                }
            }

            return lret;
        }