AttachPrefix Method
Definition
AttachPrefix(string)
Attaches the specified prefix to the stem of this instance.
public Stem AttachPrefix(string prefix)
Parameters
prefixstringThe affix that must appear before the stem of this instance.
Returns
- Stem
A string where the specified
prefixappears before the stem of this instance.
Remarks
This method attaches the prefix to the stem only if not already part of the beginning.
AttachPrefix(string, Func<string, bool>)
Attaches the specified prefix to the stem of this instance.
public Stem AttachPrefix(string prefix, Func<string, bool> condition)
Parameters
prefixstringThe affix that must appear before the stem of this instance.
conditionFunc<string, bool>The function delegate that provides a condition for when to attach the
prefixto the stem.
Returns
- Stem
A string where the specified
prefixappears before the stem of this instance.