Extracted IConfigManipulator from IConnectionStrings, and implemented a XML (legacy) and JSON version.

This commit is contained in:
Bjarke Berg
2020-03-18 19:17:51 +01:00
parent 814ab3e63f
commit 00418959f2
16 changed files with 431 additions and 236 deletions

View File

@@ -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();
}
}
}