Table of Contents

AttachPrefix Method

Definition

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

AttachPrefix(string)

Attaches the specified prefix to the stem of this instance.

public Stem AttachPrefix(string prefix)

Parameters

prefix string

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

Returns

Stem

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

prefix string

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

condition Func<string, bool>

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

Returns

Stem

A string where the specified prefix appears before the stem of this instance.