organise a few framework classes

This commit is contained in:
Jesse Plamondon-Willard 2017-05-11 23:21:02 -04:00
parent dc4ad15afe
commit bb165f2079
8 changed files with 12 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,6 @@
using StardewModdingAPI.Framework.Models;
namespace StardewModdingAPI.Framework
namespace StardewModdingAPI.Framework.ModLoading
{
/// <summary>Metadata for a mod.</summary>
internal class ModMetadata

View File

@ -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

View File

@ -1,6 +1,7 @@
using System;
using System.IO;
using StardewModdingAPI.Framework;
using StardewModdingAPI.Framework.Models;
namespace StardewModdingAPI
{

View File

@ -15,6 +15,7 @@ using StardewModdingAPI.Events;
using StardewModdingAPI.Framework;
using StardewModdingAPI.Framework.Logging;
using StardewModdingAPI.Framework.Models;
using StardewModdingAPI.Framework.ModLoading;
using StardewModdingAPI.Framework.Reflection;
using StardewModdingAPI.Framework.Serialisation;
using StardewValley;

View File

@ -144,8 +144,8 @@
<Compile Include="Events\EventArgsStringChanged.cs" />
<Compile Include="Events\GameEvents.cs" />
<Compile Include="Events\GraphicsEvents.cs" />
<Compile Include="Framework\AssemblyDefinitionResolver.cs" />
<Compile Include="Framework\AssemblyParseResult.cs" />
<Compile Include="Framework\ModLoading\AssemblyDefinitionResolver.cs" />
<Compile Include="Framework\ModLoading\AssemblyParseResult.cs" />
<Compile Include="Framework\CommandManager.cs" />
<Compile Include="Framework\ContentHelper.cs" />
<Compile Include="Framework\Content\ContentEventData.cs" />
@ -158,7 +158,7 @@
<Compile Include="Framework\CommandHelper.cs" />
<Compile Include="Framework\Models\ModCompatibilityType.cs" />
<Compile Include="Framework\Models\SConfig.cs" />
<Compile Include="Framework\ModMetadata.cs" />
<Compile Include="Framework\ModLoading\ModMetadata.cs" />
<Compile Include="Framework\Reflection\PrivateProperty.cs" />
<Compile Include="Framework\RequestExitDelegate.cs" />
<Compile Include="Framework\SContentManager.cs" />
@ -182,7 +182,7 @@
<Compile Include="Framework\DeprecationManager.cs" />
<Compile Include="Framework\InternalExtensions.cs" />
<Compile Include="Framework\Models\ModCompatibility.cs" />
<Compile Include="Framework\AssemblyLoader.cs" />
<Compile Include="Framework\ModLoading\AssemblyLoader.cs" />
<Compile Include="Framework\Reflection\CacheEntry.cs" />
<Compile Include="Framework\Reflection\PrivateField.cs" />
<Compile Include="Framework\Reflection\PrivateMethod.cs" />
@ -202,7 +202,7 @@
<Compile Include="Events\ItemStackChange.cs" />
<Compile Include="Log.cs" />
<Compile Include="Framework\Monitor.cs" />
<Compile Include="Framework\Manifest.cs" />
<Compile Include="Framework\Models\Manifest.cs" />
<Compile Include="Mod.cs" />
<Compile Include="Framework\ModHelper.cs" />
<Compile Include="PatchMode.cs" />