Click or drag to resize

VirtualFileBaseCollection(IEqualityComparerString, Int32) Constructor

Initializes a new instance of the VirtualFileBaseCollection class that uses the specified equality comparer.

Namespace: GSF.Web.Hosting
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public VirtualFileBaseCollection(
	IEqualityComparer<string> comparer,
	int dictionaryCreationThreshold
)
View Source

Parameters

comparer  IEqualityComparerString
The implementation of the IEqualityComparerT generic interface to use when comparing keys, or to use the default equality comparer for the type of the key, obtained from Default.
dictionaryCreationThreshold  Int32
The number of elements the collection can hold without creating a lookup dictionary (0 creates the lookup dictionary when the first item is added), or ?1 to specify that a lookup dictionary is never created.
See Also