diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-04 09:43:58 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-12-04 09:43:58 -0500 |
commit | aaf354761f18a18b0bcb81c9bd32819bb28deac9 (patch) | |
tree | 9a47584e0cf1f419663bdd44e48d68a4abedb4bf /src/StardewModdingAPI/Framework/AssemblyRewriting/CachePaths.cs | |
parent | 00a3c14446b716fc32c63bccf12c79bdbee436d1 (diff) | |
parent | 48adbe249270bc863e276827aa329a765f056ae0 (diff) | |
download | SMAPI-aaf354761f18a18b0bcb81c9bd32819bb28deac9.tar.gz SMAPI-aaf354761f18a18b0bcb81c9bd32819bb28deac9.tar.bz2 SMAPI-aaf354761f18a18b0bcb81c9bd32819bb28deac9.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/StardewModdingAPI/Framework/AssemblyRewriting/CachePaths.cs')
-rw-r--r-- | src/StardewModdingAPI/Framework/AssemblyRewriting/CachePaths.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Framework/AssemblyRewriting/CachePaths.cs b/src/StardewModdingAPI/Framework/AssemblyRewriting/CachePaths.cs new file mode 100644 index 00000000..17c4d188 --- /dev/null +++ b/src/StardewModdingAPI/Framework/AssemblyRewriting/CachePaths.cs @@ -0,0 +1,33 @@ +namespace StardewModdingAPI.Framework.AssemblyRewriting +{ + /// <summary>Contains the paths for an assembly's cached data.</summary> + internal struct CachePaths + { + /********* + ** Accessors + *********/ + /// <summary>The directory path which contains the assembly.</summary> + public string Directory { get; } + + /// <summary>The file path of the assembly file.</summary> + public string Assembly { get; } + + /// <summary>The file path containing the MD5 hash for the assembly.</summary> + public string Hash { get; } + + + /********* + ** Public methods + *********/ + /// <summary>Construct an instance.</summary> + /// <param name="directory">The directory path which contains the assembly.</param> + /// <param name="assembly">The file path of the assembly file.</param> + /// <param name="hash">The file path containing the MD5 hash for the assembly.</param> + public CachePaths(string directory, string assembly, string hash) + { + this.Directory = directory; + this.Assembly = assembly; + this.Hash = hash; + } + } +}
\ No newline at end of file |