AffixRuleCollection Constructor (Int32, IHashCodeProvider, IComparer)

NetSpell.SpellChecker

NetSpell Documentation - v.2.1.7

AffixRuleCollection Constructor (Int32, IHashCodeProvider, IComparer)

Initializes a new instance of 'AffixRuleCollection'.

[Visual Basic]Overloads Public Sub New( _
   ByVal capacity As Integer, _
   ByVal codeProvider As IHashCodeProvider, _
   ByVal comparer As IComparer _
)
[C#]
public AffixRuleCollection(
   int capacity,
   IHashCodeProvider codeProvider,
   IComparer comparer
);

Parameters

capacity

The approximate number of elements that the 'AffixRuleCollection' can initially contain.

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