Castle.Facilities.NHibernateIntegration.Util.FieldInfoCollection.BinarySearch C# (CSharp) 메소드

BinarySearch() 공개 메소드

Searches the entire sorted FieldInfoCollection for an FieldInfo element using the specified comparer and returns the zero-based index of the element.
Please refer to ArrayList.BinarySearch(Object, IComparer) for details.
/// is a null reference, /// and FieldInfo does not implement /// the interface.
public BinarySearch ( FieldInfo value, IComparer comparer ) : int
value System.Reflection.FieldInfo /// The object to locate /// in the . /// This argument may be a null reference. ///
comparer IComparer /// The implementation /// to use when comparing elements. /// -or- /// A null reference to use the /// implementation of each element.
리턴 int
		public int BinarySearch(FieldInfo value, IComparer comparer)
		{
			return Array.BinarySearch(_data.Items, 0, _data.Count, value, comparer);
		}

Same methods

FieldInfoCollection::BinarySearch ( int index, int count, FieldInfo value, IComparer comparer ) : int