summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Advanced
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-03-01 20:20:58 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-03-01 20:20:58 -0500
commitade1a692a38efe12cdb1889883ec6b1179a9df6b (patch)
tree3845d067cba828b414ca7d6426d73166c3d88cc8 /src/StardewModdingAPI/Advanced
parentc23f70d602eacbed405a39797e40ee9e89537cf4 (diff)
downloadSMAPI-ade1a692a38efe12cdb1889883ec6b1179a9df6b.tar.gz
SMAPI-ade1a692a38efe12cdb1889883ec6b1179a9df6b.tar.bz2
SMAPI-ade1a692a38efe12cdb1889883ec6b1179a9df6b.zip
deprecate `IConfigFile` (#238)
Diffstat (limited to 'src/StardewModdingAPI/Advanced')
-rw-r--r--src/StardewModdingAPI/Advanced/ConfigFile.cs4
-rw-r--r--src/StardewModdingAPI/Advanced/IConfigFile.cs5
2 files changed, 7 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Advanced/ConfigFile.cs b/src/StardewModdingAPI/Advanced/ConfigFile.cs
index 1a2e6618..78cad26a 100644
--- a/src/StardewModdingAPI/Advanced/ConfigFile.cs
+++ b/src/StardewModdingAPI/Advanced/ConfigFile.cs
@@ -1,9 +1,11 @@
-using System.IO;
+using System;
+using System.IO;
using Newtonsoft.Json;
namespace StardewModdingAPI.Advanced
{
/// <summary>Wraps a configuration file with IO methods for convenience.</summary>
+ [Obsolete]
public abstract class ConfigFile : IConfigFile
{
/*********
diff --git a/src/StardewModdingAPI/Advanced/IConfigFile.cs b/src/StardewModdingAPI/Advanced/IConfigFile.cs
index 5bc31a88..1b424ace 100644
--- a/src/StardewModdingAPI/Advanced/IConfigFile.cs
+++ b/src/StardewModdingAPI/Advanced/IConfigFile.cs
@@ -1,6 +1,9 @@
-namespace StardewModdingAPI.Advanced
+using System;
+
+namespace StardewModdingAPI.Advanced
{
/// <summary>Wraps a configuration file with IO methods for convenience.</summary>
+ [Obsolete]
public interface IConfigFile
{
/*********