Extracted IConfigManipulator from IConnectionStrings, and implemented a XML (legacy) and JSON version.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text.Json.Serialization;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Umbraco.Core.Configuration;
|
||||
using Umbraco.Core.IO;
|
||||
|
||||
namespace Umbraco.Configuration.Models
|
||||
{
|
||||
@@ -19,17 +20,5 @@ namespace Umbraco.Configuration.Models
|
||||
get => new ConfigConnectionString(_configuration.GetConnectionString(key), "System.Data.SqlClient", key);
|
||||
set => throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void RemoveConnectionString(string umbracoConnectionName, IIOHelper ioHelper)
|
||||
{
|
||||
//TODO We need to figure out what to do here.. We cond have another config setting, that tells with file(s) to update? or should we assume appsettings.json
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void SaveConnectionString(string connectionString, string providerName, IIOHelper ioHelper)
|
||||
{
|
||||
//TODO We need to figure out what to do here.. We cond have another config setting, that tells with file(s) to update? or should we assume appsettings.json
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user