namespace StardewModdingAPI.Framework.AssemblyRewriting
{
/// Contains the paths for an assembly's cached data.
internal struct CachePaths
{
/*********
** Accessors
*********/
/// The directory path which contains the assembly.
public string Directory { get; }
/// The file path of the assembly file.
public string Assembly { get; }
/// The file path containing the MD5 hash for the assembly.
public string Hash { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The directory path which contains the assembly.
/// The file path of the assembly file.
/// The file path containing the MD5 hash for the assembly.
public CachePaths(string directory, string assembly, string hash)
{
this.Directory = directory;
this.Assembly = assembly;
this.Hash = hash;
}
}
}