Initializes a new instance of 'AffixRuleCollection'.
[Visual Basic]Overloads Public Sub New( _
ByVal capacity As Integer, _
ByVal loadFactor As Single, _
ByVal codeProvider As IHashCodeProvider, _
ByVal comparer As IComparer _
)
ByVal capacity As Integer, _
ByVal loadFactor As Single, _
ByVal codeProvider As IHashCodeProvider, _
ByVal comparer As IComparer _
)
[C#]
public AffixRuleCollection(
int capacity,
float loadFactor,
IHashCodeProvider codeProvider,
IComparer comparer
);
public AffixRuleCollection(
int capacity,
float loadFactor,
IHashCodeProvider codeProvider,
IComparer comparer
);
Parameters
- capacity
-
The approximate number of elements that the 'AffixRuleCollection' can initially contain.
- loadFactor
-
A number in the range from 0.1 through 1.0 indicating the maximum ratio of elements to buckets.
- codeProvider
-
The IHashCodeProvider that supplies the hash codes for all keys in the 'AffixRuleCollection'.
- comparer
-
The IComparer to use to determine whether two keys are equal.
See Also
AffixRuleCollection Class | NetSpell.SpellChecker.Dictionary.Affix Namespace | AffixRuleCollection Constructor Overload List