SyllableGeneratorFluentWrapper
A convenience wrapper for SyllableGenerator that is used by NameGenerator's fluent extension methods. Not meant to be used outside of the fluent API.
Constructors
SyllableGeneratorFluentWrapper(NameGenerator parent, SyllablePosition syllablePosition, SyllableGenerator syllables)
Methods
Chance(System.Double chance)
Sets the chance of generating a symbol for the last modified symbol position.
CopyEnd()
Copies the SyllableGenerator from the ending position to the current syllable position. This method only works if the ending position is of type SyllableGenerator.
CopyInner()
Copies the SyllableGenerator from the inner position to the current syllable position. This method only works if the inner position is of type SyllableGenerator.
CopyStart()
Copies the SyllableGenerator from the starting position to the current syllable position. This method only works if the starting position is of type SyllableGenerator.
First(System.String symbols)
Adds symbols to the first position of the syllable.
First(SymbolGenerator symbols)
Adds symbols to the first position of the syllable.
Last(System.String symbols)
Adds symbols to the last position of the syllable.
Last(SymbolGenerator symbols)
Adds symbols to the last position of the syllable.
Middle(System.String symbols)
Adds symbols to the middle position of the syllable.
Middle(SymbolGenerator symbols)
Adds symbols to the middle position of the syllable.
Properties
Last updated