Skip to main content

DirectReplacer

A class in Root.Township, the global namespace.

A BaseReplacer that swaps its target text for a fixed string, used with the string Replace(BaseReplacer) extension.

Constructors​

MemberWhat it is
DirectReplacer(string target, string replacer)Creates a DirectReplacer from target and replacer.

Fields​

1 private and internal field
MemberWhat it is
private string replacerThe replacement text.

Methods​

MemberWhat it is
override string ToString()Returns the replacement text.