separate interface implementation based on different api
This commit is contained in:
parent
46911ceaa1
commit
f0f4c6970a
@ -34,6 +34,8 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\CH.Authority\CH.Authority.csproj" />
|
<ProjectReference Include="..\CH.Authority\CH.Authority.csproj" />
|
||||||
<ProjectReference Include="..\CH.CQRS\CH.CQRS.csproj" />
|
<ProjectReference Include="..\CH.CQRS\CH.CQRS.csproj" />
|
||||||
|
<ProjectReference Include="..\CH.CryptoStats.CoinGecko\CH.CryptoStats.CoinGecko.csproj" />
|
||||||
|
<ProjectReference Include="..\CH.CryptoStats.CoinMarketCap\CH.CryptoStats.CoinMarketCap.csproj" />
|
||||||
<ProjectReference Include="..\CH.Dal\CH.Dal.csproj" />
|
<ProjectReference Include="..\CH.Dal\CH.Dal.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@ -12,4 +12,7 @@
|
|||||||
<PackageReference Include="PoweredSoft.Data.Core" Version="3.0.0" />
|
<PackageReference Include="PoweredSoft.Data.Core" Version="3.0.0" />
|
||||||
<PackageReference Include="PoweredSoft.Module.Abstractions" Version="2.0.0" />
|
<PackageReference Include="PoweredSoft.Module.Abstractions" Version="2.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\CH.CryptoStats\CH.CryptoStats.Abstractions.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -5,7 +5,7 @@ using PoweredSoft.Module.Abstractions;
|
|||||||
|
|
||||||
namespace CH.CryptoStats.CoinGecko;
|
namespace CH.CryptoStats.CoinGecko;
|
||||||
|
|
||||||
public class AbstractionModule : IModule
|
public class CoinGeckoModule : IModule
|
||||||
{
|
{
|
||||||
public IServiceCollection ConfigureServices(IServiceCollection services)
|
public IServiceCollection ConfigureServices(IServiceCollection services)
|
||||||
{
|
{
|
||||||
|
@ -12,4 +12,7 @@
|
|||||||
<PackageReference Include="PoweredSoft.Data.Core" Version="3.0.0" />
|
<PackageReference Include="PoweredSoft.Data.Core" Version="3.0.0" />
|
||||||
<PackageReference Include="PoweredSoft.Module.Abstractions" Version="2.0.0" />
|
<PackageReference Include="PoweredSoft.Module.Abstractions" Version="2.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\CH.CryptoStats\CH.CryptoStats.Abstractions.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -5,7 +5,7 @@ using PoweredSoft.Module.Abstractions;
|
|||||||
|
|
||||||
namespace CH.CryptoStats.CoinMarketCap;
|
namespace CH.CryptoStats.CoinMarketCap;
|
||||||
|
|
||||||
public class AbstractionModule : IModule
|
public class CoinMarketCapModule : IModule
|
||||||
{
|
{
|
||||||
public IServiceCollection ConfigureServices(IServiceCollection services)
|
public IServiceCollection ConfigureServices(IServiceCollection services)
|
||||||
{
|
{
|
||||||
|
@ -13,6 +13,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CH.Authority", "CH.Authorit
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CH.CryptoStats.Abstractions", "CH.CryptoStats\CH.CryptoStats.Abstractions.csproj", "{5AD75A8F-D4C5-4748-8624-FB65EA417E62}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CH.CryptoStats.Abstractions", "CH.CryptoStats\CH.CryptoStats.Abstractions.csproj", "{5AD75A8F-D4C5-4748-8624-FB65EA417E62}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CH.CryptoStats.CoinMarketCap", "CH.CryptoStats.CoinMarketCap\CH.CryptoStats.CoinMarketCap.csproj", "{E12AC021-8B7E-4451-BB41-59291230E224}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CH.CryptoStats.CoinGecko", "CH.CryptoStats.CoinGecko\CH.CryptoStats.CoinGecko.csproj", "{AAF92179-CDA7-4711-89C0-E14445B5FFBE}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@ -39,6 +43,14 @@ Global
|
|||||||
{5AD75A8F-D4C5-4748-8624-FB65EA417E62}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{5AD75A8F-D4C5-4748-8624-FB65EA417E62}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{5AD75A8F-D4C5-4748-8624-FB65EA417E62}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{5AD75A8F-D4C5-4748-8624-FB65EA417E62}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{5AD75A8F-D4C5-4748-8624-FB65EA417E62}.Release|Any CPU.Build.0 = Release|Any CPU
|
{5AD75A8F-D4C5-4748-8624-FB65EA417E62}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{E12AC021-8B7E-4451-BB41-59291230E224}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{E12AC021-8B7E-4451-BB41-59291230E224}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{E12AC021-8B7E-4451-BB41-59291230E224}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{E12AC021-8B7E-4451-BB41-59291230E224}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{AAF92179-CDA7-4711-89C0-E14445B5FFBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{AAF92179-CDA7-4711-89C0-E14445B5FFBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{AAF92179-CDA7-4711-89C0-E14445B5FFBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{AAF92179-CDA7-4711-89C0-E14445B5FFBE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
Loading…
Reference in New Issue
Block a user