using System.IO; using Mono.Cecil; namespace StardewModdingAPI.Framework.ModLoading { /// Metadata about a parsed assembly definition. internal class AssemblyParseResult { /********* ** Accessors *********/ /// The original assembly file. public readonly FileInfo File; /// The assembly definition. public readonly AssemblyDefinition Definition; /// The result of the assembly load. public AssemblyLoadStatus Status; /********* ** Public methods *********/ /// Construct an instance. /// The original assembly file. /// The assembly definition. /// The result of the assembly load. public AssemblyParseResult(FileInfo file, AssemblyDefinition assembly, AssemblyLoadStatus status) { this.File = file; this.Definition = assembly; this.Status = status; } } }