AddResultGuids() 공개 메소드

public AddResultGuids ( List result ) : void
result List
리턴 void
예제 #1
0
        private void FindGuids(Query query)
        {
            string searchTerm = query.OriginalString;

            searchTerm = searchTerm.TrimStart('{', '(');
            searchTerm = searchTerm.TrimEnd('}', ')');

            var result = FindInList(searchTerm, guids, defaultToAll: false);

            if (result != null && result.Any())
            {
                query.AddResultGuids(result.ToList());
            }
        }
예제 #2
0
        private void FindGuids(Query query)
        {
            string searchTerm = query.OriginalString;
            searchTerm = searchTerm.TrimStart('{', '(');
            searchTerm = searchTerm.TrimEnd('}', ')');

            var result = FindInList(searchTerm, guids, defaultToAll: false);
            if (result != null && result.Any())
            {
                query.AddResultGuids(result.ToList());
            }
        }