Table of Contents

AttachSuffix Method

Definition

Namespace
Cuemon.Text
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Text/Stem.cs

AttachSuffix(string)

Attaches the specified suffix to the stem of this instance.

public Stem AttachSuffix(string suffix)

Parameters

suffix string

The affix that must appear after the stem of this instance.

Returns

Stem

A string where the specified suffix appears 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

suffix string

The affix that must appear after the stem of this instance.

condition Func<string, bool>

The function delegate that provides a condition for when to attach the suffix to the stem.

Returns

Stem

A string where the specified suffix appears after the stem of this instance.