UpgradeResult.OutputFile
A file generated as part of an upgrade.
public struct OutputFileInherits from System.ValueType
#Fields
#Diagnostics
The diagnostics produced for this file as a result of the
upgrade process.
public IEnumerable<Diagnostic> Diagnostics;Type IEnumerable
#IsNewFile
Indicates whether this OutputFile represents
a new file to be created. If this is
true, OriginalSource will be the
empty string, and Replacements will be empty.public bool IsNewFile;Type Boolean
#OriginalSource
The original text of the file, prior to upgrades.
public string OriginalSource;Type String
#Path
The path of the file.
public string Path;Type String
#Replacements
The list of replacements needed to be made in order to go from
OriginalSource to UpgradedSource.
public IEnumerable<TextReplacement> Replacements;Type IEnumerable
#Properties
#UpgradedSource
The upgraded text of the file.
public readonly string UpgradedSource { get }Type String
Generated from Yarn Spinner for Unity 3.3.