blob: bff976aa6b0741084f3aebf6259d8eaf3de6a28e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using System.IO;
using Mono.Cecil;
namespace StardewModdingAPI.Framework
{
/// <summary>Metadata about a parsed assembly definition.</summary>
internal class AssemblyParseResult
{
/*********
** Accessors
*********/
/// <summary>The original assembly file.</summary>
public readonly FileInfo File;
/// <summary>The assembly definition.</summary>
public readonly AssemblyDefinition Definition;
/*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="file">The original assembly file.</param>
/// <param name="assembly">The assembly definition.</param>
public AssemblyParseResult(FileInfo file, AssemblyDefinition assembly)
{
this.File = file;
this.Definition = assembly;
}
}
}
|