diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-01-20 21:29:47 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-01-20 21:29:47 -0500 |
commit | 894fd25a18cd5ddf31a905860aca95c438894efd (patch) | |
tree | 186d873b91e0b1bee2927aeef96b6513710af497 /src/SMAPI/Framework/Serialisation | |
parent | 9636d5b3aac99459e5933bc4fa6ddb8ca84917af (diff) | |
download | SMAPI-894fd25a18cd5ddf31a905860aca95c438894efd.tar.gz SMAPI-894fd25a18cd5ddf31a905860aca95c438894efd.tar.bz2 SMAPI-894fd25a18cd5ddf31a905860aca95c438894efd.zip |
move converters into namespace
Diffstat (limited to 'src/SMAPI/Framework/Serialisation')
-rw-r--r-- | src/SMAPI/Framework/Serialisation/Converters/ColorConverter.cs (renamed from src/SMAPI/Framework/Serialisation/ColorConverter.cs) | 2 | ||||
-rw-r--r-- | src/SMAPI/Framework/Serialisation/Converters/PointConverter.cs (renamed from src/SMAPI/Framework/Serialisation/PointConverter.cs) | 2 | ||||
-rw-r--r-- | src/SMAPI/Framework/Serialisation/Converters/RectangleConverter.cs (renamed from src/SMAPI/Framework/Serialisation/RectangleConverter.cs) | 2 | ||||
-rw-r--r-- | src/SMAPI/Framework/Serialisation/Converters/SFieldConverter.cs (renamed from src/SMAPI/Framework/Serialisation/SFieldConverter.cs) | 2 | ||||
-rw-r--r-- | src/SMAPI/Framework/Serialisation/Converters/StringEnumConverter.cs (renamed from src/SMAPI/Framework/Serialisation/StringEnumConverter.cs) | 2 | ||||
-rw-r--r-- | src/SMAPI/Framework/Serialisation/JsonHelper.cs | 1 |
6 files changed, 6 insertions, 5 deletions
diff --git a/src/SMAPI/Framework/Serialisation/ColorConverter.cs b/src/SMAPI/Framework/Serialisation/Converters/ColorConverter.cs index d2315a00..7f830a0e 100644 --- a/src/SMAPI/Framework/Serialisation/ColorConverter.cs +++ b/src/SMAPI/Framework/Serialisation/Converters/ColorConverter.cs @@ -3,7 +3,7 @@ using Microsoft.Xna.Framework; using Newtonsoft.Json.Linq; using StardewModdingAPI.Framework.Exceptions; -namespace StardewModdingAPI.Framework.Serialisation +namespace StardewModdingAPI.Framework.Serialisation.Converters { /// <summary>Handles deserialisation of <see cref="Color"/> for crossplatform compatibility.</summary> /// <remarks> diff --git a/src/SMAPI/Framework/Serialisation/PointConverter.cs b/src/SMAPI/Framework/Serialisation/Converters/PointConverter.cs index bdcefaa5..87d0ff34 100644 --- a/src/SMAPI/Framework/Serialisation/PointConverter.cs +++ b/src/SMAPI/Framework/Serialisation/Converters/PointConverter.cs @@ -3,7 +3,7 @@ using Microsoft.Xna.Framework; using Newtonsoft.Json.Linq; using StardewModdingAPI.Framework.Exceptions; -namespace StardewModdingAPI.Framework.Serialisation +namespace StardewModdingAPI.Framework.Serialisation.Converters { /// <summary>Handles deserialisation of <see cref="PointConverter"/> for crossplatform compatibility.</summary> /// <remarks> diff --git a/src/SMAPI/Framework/Serialisation/RectangleConverter.cs b/src/SMAPI/Framework/Serialisation/Converters/RectangleConverter.cs index bbf60435..7cf912a7 100644 --- a/src/SMAPI/Framework/Serialisation/RectangleConverter.cs +++ b/src/SMAPI/Framework/Serialisation/Converters/RectangleConverter.cs @@ -4,7 +4,7 @@ using Microsoft.Xna.Framework; using Newtonsoft.Json.Linq; using StardewModdingAPI.Framework.Exceptions; -namespace StardewModdingAPI.Framework.Serialisation +namespace StardewModdingAPI.Framework.Serialisation.Converters { /// <summary>Handles deserialisation of <see cref="Rectangle"/> for crossplatform compatibility.</summary> /// <remarks> diff --git a/src/SMAPI/Framework/Serialisation/SFieldConverter.cs b/src/SMAPI/Framework/Serialisation/Converters/SFieldConverter.cs index 6e068599..69353491 100644 --- a/src/SMAPI/Framework/Serialisation/SFieldConverter.cs +++ b/src/SMAPI/Framework/Serialisation/Converters/SFieldConverter.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json.Linq; using StardewModdingAPI.Framework.Exceptions; using StardewModdingAPI.Framework.Models; -namespace StardewModdingAPI.Framework.Serialisation +namespace StardewModdingAPI.Framework.Serialisation.Converters { /// <summary>Overrides how SMAPI reads and writes <see cref="ISemanticVersion"/> and <see cref="IManifestDependency"/> fields.</summary> internal class SFieldConverter : JsonConverter diff --git a/src/SMAPI/Framework/Serialisation/StringEnumConverter.cs b/src/SMAPI/Framework/Serialisation/Converters/StringEnumConverter.cs index 7afe86cd..0a612c74 100644 --- a/src/SMAPI/Framework/Serialisation/StringEnumConverter.cs +++ b/src/SMAPI/Framework/Serialisation/Converters/StringEnumConverter.cs @@ -1,7 +1,7 @@ using System; using Newtonsoft.Json.Converters; -namespace StardewModdingAPI.Framework.Serialisation +namespace StardewModdingAPI.Framework.Serialisation.Converters { /// <summary>A variant of <see cref="StringEnumConverter"/> which only converts a specified enum.</summary> /// <typeparam name="T">The enum type.</typeparam> diff --git a/src/SMAPI/Framework/Serialisation/JsonHelper.cs b/src/SMAPI/Framework/Serialisation/JsonHelper.cs index 90a6d258..1253f242 100644 --- a/src/SMAPI/Framework/Serialisation/JsonHelper.cs +++ b/src/SMAPI/Framework/Serialisation/JsonHelper.cs @@ -3,6 +3,7 @@ using System.Collections.Generic; using System.IO; using Microsoft.Xna.Framework.Input; using Newtonsoft.Json; +using StardewModdingAPI.Framework.Serialisation.Converters; namespace StardewModdingAPI.Framework.Serialisation { |