summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/AssemblyRewriting/CachePaths.cs
blob: 18861873a5da833a323583d89d47bf7ce021b6f7 (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
32
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 assembly metadata.</summary>
        public string Metadata { 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="metadata">The file path containing the assembly metadata.</param>
        public CachePaths(string directory, string assembly, string metadata)
        {
            this.Directory = directory;
            this.Assembly = assembly;
            this.Metadata = metadata;
        }
    }
}