AttachSuffix Method
Definition
AttachSuffix(string)
Attaches the specified suffix to the stem of this instance.
public Stem AttachSuffix(string suffix)
Parameters
suffixstringThe affix that must appear after the stem of this instance.
Returns
- Stem
A string where the specified
suffixappears after the stem of this instance.
Remarks
This method attaches the suffix to the stem only if not already part of the ending.
AttachSuffix(string, Func<string, bool>)
Attaches the specified suffix to the stem of this instance.
public Stem AttachSuffix(string suffix, Func<string, bool> condition)
Parameters
suffixstringThe affix that must appear after the stem of this instance.
conditionFunc<string, bool>The function delegate that provides a condition for when to attach the
suffixto the stem.
Returns
- Stem
A string where the specified
suffixappears after the stem of this instance.