From abba87ea8b94ea6cab2ab2a25828f7aed756fc8e Mon Sep 17 00:00:00 2001 From: blowfish Date: Sat, 26 Aug 2017 20:06:55 -0700 Subject: [PATCH] Add PatchContext struct --- ModuleManager.csproj | 1 + PatchContext.cs | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 PatchContext.cs diff --git a/ModuleManager.csproj b/ModuleManager.csproj index 2f03e9ec..865c4334 100644 --- a/ModuleManager.csproj +++ b/ModuleManager.csproj @@ -38,6 +38,7 @@ + diff --git a/PatchContext.cs b/PatchContext.cs new file mode 100644 index 00000000..ba9ea83f --- /dev/null +++ b/PatchContext.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace ModuleManager +{ + public struct PatchContext + { + public readonly UrlDir.UrlConfig patchUrl; + public readonly UrlDir databaseRoot; + + public PatchContext(UrlDir.UrlConfig patchUrl, UrlDir databaseRoot) + { + this.patchUrl = patchUrl; + this.databaseRoot = databaseRoot; + } + } +}