FastLookupCollectionT(IListT, Boolean) Constructor

Initializes a new instance of the FastLookupCollectionT class as a wrapper for the specified list.

Definition

Namespace: KGySoft.Collections.ObjectModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public FastLookupCollection(
	IList<T> list,
	bool checkConsistency = true
)

Parameters

list  IListT
The list that is wrapped by the new collection.
checkConsistency  Boolean  (Optional)
to keep checking consistency of the wrapped list and the inner storage; to not check whether the wrapped list changed. It can be if the wrapped list is not changed outside of this FastLookupCollectionT instance. This parameter is optional.
Default value: .

Exceptions

See Also