Bamboo.Prevalence.Indexing.Tests.FullTextSearchTests.FindByTitle C# (CSharp) Method

FindByTitle() private method

private FindByTitle ( IRecord records, string title ) : HashtableRecord
records IRecord
title string
return Bamboo.Prevalence.Indexing.Records.HashtableRecord
		HashtableRecord FindByTitle(IRecord[] records, string title)
		{
			foreach (HashtableRecord record in records)
			{
				if (((string)record["Title"]) == title)
				{
					return record;
				}
			}
			throw new ArgumentException("Record not found!");
		}