All pages
Powered by GitBook
1 of 1

Loading...

Upgrade(UpgradeJob)

Method in LanguageUpgrader

Summary

Upgrades a Yarn script from one version of the language to another, producing both the fully upgraded text as well as a collection of replacements.

public static UpgradeResult Upgrade(UpgradeJob upgradeJob)

Parameters

Name
Description

Returns

An object containing the results of the upgrade operation.

Yarn.Compiler.Upgrader.UpgradeJob upgradeJob

The upgrade job to perform.

UpgradeResult