summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-05-11 23:21:02 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-05-11 23:21:02 -0400
commitbb165f2079e33d02c0e673db73ac5b336272a3fa (patch)
tree339ea1fa033070c470d5ac2a19698c63a49dd611 /src/StardewModdingAPI/Framework
parentdc4ad15afee05cd3c474273f921314cb0656d76c (diff)
downloadSMAPI-bb165f2079e33d02c0e673db73ac5b336272a3fa.tar.gz
SMAPI-bb165f2079e33d02c0e673db73ac5b336272a3fa.tar.bz2
SMAPI-bb165f2079e33d02c0e673db73ac5b336272a3fa.zip
organise a few framework classes
Diffstat (limited to 'src/StardewModdingAPI/Framework')
-rw-r--r--src/StardewModdingAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs (renamed from src/StardewModdingAPI/Framework/AssemblyDefinitionResolver.cs)2
-rw-r--r--src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs (renamed from src/StardewModdingAPI/Framework/AssemblyLoader.cs)2
-rw-r--r--src/StardewModdingAPI/Framework/ModLoading/AssemblyParseResult.cs (renamed from src/StardewModdingAPI/Framework/AssemblyParseResult.cs)2
-rw-r--r--src/StardewModdingAPI/Framework/ModLoading/ModMetadata.cs (renamed from src/StardewModdingAPI/Framework/ModMetadata.cs)2
-rw-r--r--src/StardewModdingAPI/Framework/Models/Manifest.cs (renamed from src/StardewModdingAPI/Framework/Manifest.cs)3
5 files changed, 5 insertions, 6 deletions
diff --git a/src/StardewModdingAPI/Framework/AssemblyDefinitionResolver.cs b/src/StardewModdingAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs
index b4e69fcd..4378798c 100644
--- a/src/StardewModdingAPI/Framework/AssemblyDefinitionResolver.cs
+++ b/src/StardewModdingAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using Mono.Cecil;
-namespace StardewModdingAPI.Framework
+namespace StardewModdingAPI.Framework.ModLoading
{
/// <summary>A minimal assembly definition resolver which resolves references to known assemblies.</summary>
internal class AssemblyDefinitionResolver : DefaultAssemblyResolver
diff --git a/src/StardewModdingAPI/Framework/AssemblyLoader.cs b/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs
index 2c9973c1..42bd7bfb 100644
--- a/src/StardewModdingAPI/Framework/AssemblyLoader.cs
+++ b/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs
@@ -7,7 +7,7 @@ using Mono.Cecil;
using Mono.Cecil.Cil;
using StardewModdingAPI.AssemblyRewriters;
-namespace StardewModdingAPI.Framework
+namespace StardewModdingAPI.Framework.ModLoading
{
/// <summary>Preprocesses and loads mod assemblies.</summary>
internal class AssemblyLoader
diff --git a/src/StardewModdingAPI/Framework/AssemblyParseResult.cs b/src/StardewModdingAPI/Framework/ModLoading/AssemblyParseResult.cs
index bff976aa..69c99afe 100644
--- a/src/StardewModdingAPI/Framework/AssemblyParseResult.cs
+++ b/src/StardewModdingAPI/Framework/ModLoading/AssemblyParseResult.cs
@@ -1,7 +1,7 @@
using System.IO;
using Mono.Cecil;
-namespace StardewModdingAPI.Framework
+namespace StardewModdingAPI.Framework.ModLoading
{
/// <summary>Metadata about a parsed assembly definition.</summary>
internal class AssemblyParseResult
diff --git a/src/StardewModdingAPI/Framework/ModMetadata.cs b/src/StardewModdingAPI/Framework/ModLoading/ModMetadata.cs
index aeb9261a..1ac167dc 100644
--- a/src/StardewModdingAPI/Framework/ModMetadata.cs
+++ b/src/StardewModdingAPI/Framework/ModLoading/ModMetadata.cs
@@ -1,6 +1,6 @@
using StardewModdingAPI.Framework.Models;
-namespace StardewModdingAPI.Framework
+namespace StardewModdingAPI.Framework.ModLoading
{
/// <summary>Metadata for a mod.</summary>
internal class ModMetadata
diff --git a/src/StardewModdingAPI/Framework/Manifest.cs b/src/StardewModdingAPI/Framework/Models/Manifest.cs
index 62c711e2..79be2075 100644
--- a/src/StardewModdingAPI/Framework/Manifest.cs
+++ b/src/StardewModdingAPI/Framework/Models/Manifest.cs
@@ -1,10 +1,9 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
using StardewModdingAPI.Framework.Serialisation;
-namespace StardewModdingAPI.Framework
+namespace StardewModdingAPI.Framework.Models
{
/// <summary>A manifest which describes a mod for SMAPI.</summary>
internal class Manifest : IManifest