Merge NucuCar.Common with NucuCar.Domain
This commit is contained in:
parent
5793c38791
commit
8f9962c3b1
12 changed files with 15 additions and 19 deletions
|
@ -6,8 +6,8 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Newtonsoft.Json;
|
||||
using NucuCar.Common.Utilities;
|
||||
using NucuCar.Domain.Telemetry;
|
||||
using NucuCar.Domain.Utilities;
|
||||
|
||||
namespace NucuCar.Telemetry
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using NucuCar.Common.Utilities;
|
||||
using NucuCar.Domain.Telemetry;
|
||||
using NucuCar.Domain.Utilities;
|
||||
|
||||
namespace NucuCar.Telemetry
|
||||
{
|
||||
|
|
|
@ -4,9 +4,9 @@ using System.Net;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using NucuCar.Common;
|
||||
using NucuCar.Common.Utilities;
|
||||
using NucuCar.Domain;
|
||||
using NucuCar.Domain.Telemetry;
|
||||
using NucuCar.Domain.Utilities;
|
||||
|
||||
namespace NucuCar.Telemetry
|
||||
{
|
||||
|
|
|
@ -4,11 +4,11 @@ using System.Text;
|
|||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using sNetHttp = System.Net.Http;
|
||||
using sNetHttpHeaders = System.Net.Http.Headers;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace NucuCar.Common
|
||||
namespace NucuCar.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// A simple HttpClient wrapper designed to make it easier to work with web requests with media type application/json.
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NucuCar.Common.Utilities
|
||||
namespace NucuCar.Domain.Utilities
|
||||
{
|
||||
/// <summary>
|
||||
/// ConnectionStringParser is an utility service to parse and validate connection strings.
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace NucuCar.Common.Utilities
|
||||
namespace NucuCar.Domain.Utilities
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper class used for checking arguments and raise exception if the checks don't pass.
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"profiles": {
|
||||
"NucuCar.Sensors": {
|
||||
"NucuCar.Sensors.Development": {
|
||||
"commandName": "Project",
|
||||
"environmentVariables": {
|
||||
"DOTNET_ENVIRONMENT": "Development"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NucuCar.Common.Utilities;
|
||||
using NucuCar.Domain.Utilities;
|
||||
using Xunit;
|
||||
|
||||
namespace NucuCar.UnitTests.NucuCar.Common.Tests
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
using HttpClient = NucuCar.Common.HttpClient;
|
||||
using HttpClient = NucuCar.Domain.HttpClient;
|
||||
|
||||
namespace NucuCar.UnitTests.NucuCar.Common.Tests
|
||||
{
|
||||
public class MockHttpClient : HttpClient
|
||||
public class MockHttpClient : Domain.HttpClient
|
||||
{
|
||||
public List<HttpRequestMessage> SendAsyncArgCalls;
|
||||
public List<HttpResponseMessage> SendAsyncResponses;
|
||||
|
|
|
@ -9,7 +9,7 @@ using NucuCar.Domain.Telemetry;
|
|||
using NucuCar.Telemetry;
|
||||
using NucuCar.UnitTests.NucuCar.Common.Tests;
|
||||
using Xunit;
|
||||
using HttpClient = NucuCar.Common.HttpClient;
|
||||
using HttpClient = NucuCar.Domain.HttpClient;
|
||||
|
||||
namespace NucuCar.UnitTests.NucuCar.Telemetry.Tests
|
||||
{
|
||||
|
|
|
@ -10,8 +10,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NucuCar.UnitTests", "NucuCa
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NucuCar.Domain.Telemetry", "NucuCar.Domain.Telemetry\NucuCar.Domain.Telemetry.csproj", "{C20407F3-AB62-4590-B4FF-A0DCFCFA232B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NucuCar.Common", "NucuCar.Common\NucuCar.Common.csproj", "{C2C40BF1-2375-4C74-938E-652CC3C31BDD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -38,9 +36,5 @@ Global
|
|||
{C20407F3-AB62-4590-B4FF-A0DCFCFA232B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C20407F3-AB62-4590-B4FF-A0DCFCFA232B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C20407F3-AB62-4590-B4FF-A0DCFCFA232B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C2C40BF1-2375-4C74-938E-652CC3C31BDD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C2C40BF1-2375-4C74-938E-652CC3C31BDD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C2C40BF1-2375-4C74-938E-652CC3C31BDD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C2C40BF1-2375-4C74-938E-652CC3C31BDD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
2
NucuCar.sln.DotSettings
Normal file
2
NucuCar.sln.DotSettings
Normal file
|
@ -0,0 +1,2 @@
|
|||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Nucu/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
Loading…
Reference in a new issue