TextReplacement

Struct in Yarn.Compiler.Upgrader

Inherits from System.ValueType

Summary

Contains information describing a replacement to make in a string.

public struct TextReplacement

Fields

NameDescription

A descriptive comment explaining why the substitution is necessary.

The string to expect at Start in the original string.

The string to replace OriginalText with at Start .

The position in the original string where the substitution should be made.

The line in the original string where the substitution should be made.

Properties

NameDescription

Gets the length of OriginalText .

Gets the length of ReplacementLength .

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.