TextReplacement
Struct in Yarn.Compiler.Upgrader
Inherits from System.ValueType
Summary
Contains information describing a replacement to make in a string.
public struct TextReplacementFields
| Name | Description |
|---|---|
| Comment | A descriptive comment explaining why the substitution is necessary. |
| OriginalText | The string to expect at Start in the original string. |
| ReplacementText | The string to replace OriginalText with at Start . |
| Start | The position in the original string where the substitution should be made. |
| StartLine | The line in the original string where the substitution should be made. |
Properties
| Name | Description |
|---|---|
| OriginalLength | Gets the length of OriginalText . |
| ReplacementLength | Gets the length of ReplacementLength . |