Enhancing telemetry in Seq and fixes namespaces
This commit is contained in:
parent
5568007237
commit
9f4996bc8f
65 changed files with 1122 additions and 1139 deletions
|
|
@ -4,7 +4,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Core.Configurations.Common
|
||||
namespace PlanTempus.Core.Configurations.Common
|
||||
{
|
||||
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
using Newtonsoft.Json.Linq;
|
||||
namespace Core.Configurations
|
||||
namespace PlanTempus.Core.Configurations
|
||||
{
|
||||
public interface IConfigurationBuilder
|
||||
{
|
||||
|
|
@ -133,7 +133,7 @@ namespace Core.Configurations
|
|||
public interface IConfigurationProvider
|
||||
{
|
||||
void Build();
|
||||
Newtonsoft.Json.Linq.JObject Configuration();
|
||||
JObject Configuration();
|
||||
}
|
||||
|
||||
public class ConfigurationSection : IConfigurationSection
|
||||
|
|
@ -148,6 +148,6 @@ namespace Core.Configurations
|
|||
{
|
||||
string Path { get; }
|
||||
string Key { get; }
|
||||
Newtonsoft.Json.Linq.JToken Value { get; set; }
|
||||
JToken Value { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Core.Configurations
|
||||
namespace PlanTempus.Core.Configurations
|
||||
{
|
||||
/// <summary>
|
||||
/// Marker interface for application configurations that should be automatically registered in the DI container.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Core.Configurations
|
||||
namespace PlanTempus.Core.Configurations
|
||||
{
|
||||
public interface IConfigurationRoot : IConfiguration { }
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
using Core.Exceptions;
|
||||
using PlanTempus.Core.Exceptions;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using PlanTempus.Core.Configurations;
|
||||
|
||||
namespace Core.Configurations.JsonConfigProvider
|
||||
namespace PlanTempus.Core.Configurations.JsonConfigProvider
|
||||
{
|
||||
public static class JsonConfigExtension
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Core.Configurations.SmartConfigProvider;
|
||||
namespace PlanTempus.Core.Configurations.SmartConfigProvider;
|
||||
public class AppConfiguration
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Core.Configurations.SmartConfigProvider;
|
||||
namespace PlanTempus.Core.Configurations.SmartConfigProvider;
|
||||
public interface IConfigurationRepository
|
||||
{
|
||||
string ConnectionString { get; set; }
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Data;
|
||||
using Insight.Database;
|
||||
|
||||
namespace Core.Configurations.SmartConfigProvider.Repositories;
|
||||
namespace PlanTempus.Core.Configurations.SmartConfigProvider.Repositories;
|
||||
public class PostgresConfigurationRepository : IConfigurationRepository
|
||||
{
|
||||
private IDbConnection _connection;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
namespace Core.Configurations.SmartConfigProvider
|
||||
using PlanTempus.Core.Configurations;
|
||||
|
||||
namespace PlanTempus.Core.Configurations.SmartConfigProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Extension methods for adding smart configuration providers to IConfigurationBuilder.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Core.Configurations.SmartConfigProvider
|
||||
namespace PlanTempus.Core.Configurations.SmartConfigProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration options for setting up smart configuration providers.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
using Core.Configurations.JsonConfigProvider;
|
||||
using Core.Exceptions;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using PlanTempus.Core.Configurations.JsonConfigProvider;
|
||||
using PlanTempus.Core.Exceptions;
|
||||
|
||||
namespace Core.Configurations.SmartConfigProvider
|
||||
namespace PlanTempus.Core.Configurations.SmartConfigProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration provider that loads configuration from a smart configuration source (e.g. database).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue