Lucene.Net.Search.TestThreadSafe.ValidateField C# (CSharp) Méthode

ValidateField() private méthode

private ValidateField ( IFieldable f ) : void
f IFieldable
Résultat void
		internal virtual void  ValidateField(IFieldable f)
		{
			System.String val = f.StringValue;
			if (!val.StartsWith("^") || !val.EndsWith("$"))
			{
				throw new System.SystemException("Invalid field:" + f.ToString() + " val=" + val);
			}
		}