Permalink
Browse files

Simplifying the namespace depth and heirarchy

  • Loading branch information...
1 parent e5b1f87 commit affcc573cbc8b97451233106534e0d46cfb6a870 @nwoolls committed Feb 13, 2014
Showing with 331 additions and 373 deletions.
  1. +1 −1 {MultiMiner.Coin.Api → MultiMiner.CoinApi}/CoinApiException.cs
  2. +1 −1 {MultiMiner.Coin.Api → MultiMiner.CoinApi}/Data/CoinInformation.cs
  3. +1 −1 {MultiMiner.Coin.Api → MultiMiner.CoinApi}/IApiContext.cs
  4. +2 −2 MultiMiner.Coin.Api/MultiMiner.Coin.Api.csproj → MultiMiner.CoinApi/MultiMiner.CoinApi.csproj
  5. +2 −2 {MultiMiner.Coin.Api → MultiMiner.CoinApi}/Properties/AssemblyInfo.cs
  6. +1 −1 {MultiMiner.Coinchoose.Api.Tests → MultiMiner.CoinChoose.Tests}/ApiContextTests.cs
  7. +4 −4 ...iner.Coinchoose.Api.Tests.csproj → MultiMiner.CoinChoose.Tests/MultiMiner.CoinChoose.Tests.csproj
  8. 0 {MultiMiner.Coinchoose.Api.Tests → MultiMiner.CoinChoose.Tests}/Properties/AssemblyInfo.cs
  9. +4 −4 {MultiMiner.Coinchoose.Api → MultiMiner.CoinChoose}/ApiContext.cs
  10. +2 −2 {MultiMiner.CoinChoose.Api → MultiMiner.CoinChoose}/Extensions/CoinInformationExtensions.cs
  11. +4 −4 ...nchoose.Api/MultiMiner.Coinchoose.Api.csproj → MultiMiner.CoinChoose/MultiMiner.CoinChoose.csproj
  12. +2 −2 {MultiMiner.Coinchoose.Api → MultiMiner.CoinChoose}/Properties/AssemblyInfo.cs
  13. 0 {MultiMiner.Coinchoose.Api → MultiMiner.CoinChoose}/packages.config
  14. +2 −1 {MultiMiner.CoinWarz.Api.Tests → MultiMiner.CoinWarz.Tests}/ApiContextTests.cs
  15. +4 −4 ...MultiMiner.CoinWarz.Api.Tests.csproj → MultiMiner.CoinWarz.Tests/MultiMiner.CoinWarz.Tests.csproj
  16. 0 {MultiMiner.CoinWarz.Api.Tests → MultiMiner.CoinWarz.Tests}/Properties/AssemblyInfo.cs
  17. 0 {MultiMiner.CoinWarz.Api.Tests → MultiMiner.CoinWarz.Tests}/Properties/Settings.Designer.cs
  18. 0 {MultiMiner.CoinWarz.Api.Tests → MultiMiner.CoinWarz.Tests}/Properties/Settings.settings
  19. 0 {MultiMiner.CoinWarz.Api.Tests → MultiMiner.CoinWarz.Tests}/app.config
  20. +4 −4 {MultiMiner.CoinWarz.Api → MultiMiner.CoinWarz}/ApiContext.cs
  21. +2 −2 {MultiMiner.CoinWarz.Api → MultiMiner.CoinWarz}/Extensions/CoinInformationExtensions.cs
  22. +4 −4 ...iner.CoinWarz.Api/MultiMiner.CoinWarz.Api.csproj → MultiMiner.CoinWarz/MultiMiner.CoinWarz.csproj
  23. +2 −2 {MultiMiner.CoinWarz.Api → MultiMiner.CoinWarz}/Properties/AssemblyInfo.cs
  24. 0 {MultiMiner.Coinbase.Api → MultiMiner.CoinWarz}/packages.config
  25. +2 −1 {MultiMiner.Coinbase.Api.Tests → MultiMiner.Coinbase.Tests}/ApiContextTests.cs
  26. +2 −2 ...MultiMiner.Coinbase.Api.Tests.csproj → MultiMiner.Coinbase.Tests/MultiMiner.Coinbase.Tests.csproj
  27. +2 −2 {MultiMiner.Coinbase.Api.Tests → MultiMiner.Coinbase.Tests}/Properties/AssemblyInfo.cs
  28. +1 −1 {MultiMiner.Coinbase.Api → MultiMiner.Coinbase}/ApiContext.cs
  29. +1 −1 {MultiMiner.Coinbase.Api → MultiMiner.Coinbase}/Data/CurrencyAmount.cs
  30. +1 −1 {MultiMiner.Coinbase.Api → MultiMiner.Coinbase}/Data/SellPrices.cs
  31. +2 −2 ...iner.Coinbase.Api/MultiMiner.Coinbase.Api.csproj → MultiMiner.Coinbase/MultiMiner.Coinbase.csproj
  32. +2 −2 {MultiMiner.Coinbase.Api → MultiMiner.Coinbase}/Properties/AssemblyInfo.cs
  33. 0 {MultiMiner.CoinWarz.Api → MultiMiner.Coinbase}/packages.config
  34. +1 −2 MultiMiner.Discovery.Tests/BroadcasterTests.cs
  35. +1 −2 MultiMiner.Engine/Data/Configuration/Coin.cs
  36. +2 −4 MultiMiner.Engine/{ → Helpers}/DonationPools.cs
  37. +1 −3 MultiMiner.Engine/LogProcessCloseArgs.cs
  38. +3 −5 MultiMiner.Engine/MinerProcess.cs
  39. +15 −17 MultiMiner.Engine/MiningEngine.cs
  40. +3 −3 MultiMiner.Engine/MultiMiner.Engine.csproj
  41. 0 {MultiMiner.Api.Example → MultiMiner.Example}/App.config
  42. +2 −2 MultiMiner.Api.Example/MultiMiner.Api.Example.csproj → MultiMiner.Example/MultiMiner.Example.csproj
  43. +5 −7 {MultiMiner.Api.Example → MultiMiner.Example}/Program.cs
  44. 0 {MultiMiner.Api.Example → MultiMiner.Example}/Properties/AssemblyInfo.cs
  45. +1 −0 {MultiMiner.MobileMiner.Api.Tests → MultiMiner.MobileMiner.Tests}/ApiContextTests.cs
  46. +2 −2 ...r.MobileMiner.Api.Tests.csproj → MultiMiner.MobileMiner.Tests/MultiMiner.MobileMiner.Tests.csproj
  47. 0 {MultiMiner.MobileMiner.Api.Tests → MultiMiner.MobileMiner.Tests}/Properties/AssemblyInfo.cs
  48. +1 −1 {MultiMiner.MobileMiner.Api → MultiMiner.MobileMiner}/ApiContext.cs
  49. +1 −1 {MultiMiner.MobileMiner.Api → MultiMiner.MobileMiner}/Data/MiningStatistics.cs
  50. +1 −1 {MultiMiner.MobileMiner.Api → MultiMiner.MobileMiner}/Data/RemoteCommand.cs
  51. +1 −1 {MultiMiner.MobileMiner.Api → MultiMiner.MobileMiner}/Helpers/InputValidation.cs
  52. +2 −2 ...iner.Api/MultiMiner.MobileMiner.Api.csproj → MultiMiner.MobileMiner/MultiMiner.MobileMiner.csproj
  53. +2 −2 {MultiMiner.MobileMiner.Api → MultiMiner.MobileMiner}/Properties/AssemblyInfo.cs
  54. 0 ...tiMiner.Remoting.Server.Tests.csproj → MultiMiner.Remoting.Tests/MultiMiner.Remoting.Tests.csproj
  55. 0 {MultiMiner.Remoting.Server.Tests → MultiMiner.Remoting.Tests}/Properties/AssemblyInfo.cs
  56. +2 −4 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/ApplicationProxy.cs
  57. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Broadcast/Broadcaster.cs
  58. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Broadcast/Listener.cs
  59. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Broadcast/Packet.cs
  60. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Broadcast/PacketReceivedArgs.cs
  61. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Broadcast/Sender.cs
  62. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Config.cs
  63. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Data/Transfer/Configuration/Application.cs
  64. +2 −3 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Data/Transfer/Configuration/Device.cs
  65. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Data/Transfer/Configuration/Engine.cs
  66. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Data/Transfer/Configuration/Path.cs
  67. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Data/Transfer/Configuration/Perks.cs
  68. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Data/Transfer/Configuration/Xgminer.cs
  69. +2 −4 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Data/Transfer/Device.cs
  70. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Data/Transfer/Machine.cs
  71. +2 −3 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/IRemotingService.cs
  72. +2 −2 ...emoting.Server/MultiMiner.Remoting.Server.csproj → MultiMiner.Remoting/MultiMiner.Remoting.csproj
  73. +2 −2 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/Properties/AssemblyInfo.cs
  74. +1 −2 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/RemoteCommandEventArgs.cs
  75. +1 −1 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/RemotingServer.cs
  76. +1 −2 {MultiMiner.Remoting.Server → MultiMiner.Remoting}/RemotingService.cs
  77. +2 −4 MultiMiner.Services.Tests/DevicesServiceTests.cs
  78. +3 −6 MultiMiner.Services/DevicesService.cs
  79. +1 −0 {MultiMiner.Stats.Api.Tests → MultiMiner.Stats.Tests}/ApiContextTests.cs
  80. +2 −2 ...pi.Tests/MultiMiner.Stats.Api.Tests.csproj → MultiMiner.Stats.Tests/MultiMiner.Stats.Tests.csproj
  81. 0 {MultiMiner.Stats.Api.Tests → MultiMiner.Stats.Tests}/Properties/AssemblyInfo.cs
  82. +1 −1 {MultiMiner.Stats.Api → MultiMiner.Stats}/ApiContext.cs
  83. +1 −1 {MultiMiner.Stats.Api → MultiMiner.Stats}/Data/Machine.cs
  84. +2 −2 MultiMiner.Stats.Api/MultiMiner.Stats.Api.csproj → MultiMiner.Stats/MultiMiner.Stats.csproj
  85. +2 −2 {MultiMiner.Stats.Api → MultiMiner.Stats}/Properties/AssemblyInfo.cs
  86. +14 −14 MultiMiner.Tests.sln
  87. +0 −2 MultiMiner.Win/Controls/DetailsControl.cs
  88. +2 −2 MultiMiner.Win/Controls/InstancesControl.cs
  89. +3 −3 MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs
  90. +1 −1 MultiMiner.Win/Extensions/CoinInformationExtensions.cs
  91. +7 −7 MultiMiner.Win/Extensions/DeviceConfigurationExtensions.cs
  92. +3 −3 MultiMiner.Win/Extensions/EngineConfigurationExtensions.cs
  93. +1 −1 MultiMiner.Win/Extensions/MiningStatisticsExtensions.cs
  94. +1 −2 MultiMiner.Win/Forms/CoinChooseForm.cs
  95. +1 −3 MultiMiner.Win/Forms/CoinEditForm.cs
  96. +1 −5 MultiMiner.Win/Forms/Configuration/CoinsForm.cs
  97. +1 −3 MultiMiner.Win/Forms/Configuration/MinerSettingsForm.cs
  98. +1 −2 MultiMiner.Win/Forms/Configuration/SettingsForm.cs
  99. +1 −2 MultiMiner.Win/Forms/Configuration/StrategiesForm.cs
  100. +5 −5 MultiMiner.Win/Forms/MinerForm.Designer.cs
  101. +55 −56 MultiMiner.Win/Forms/MinerForm.cs
  102. +1 −3 MultiMiner.Win/Forms/WizardForm.cs
  103. +14 −14 MultiMiner.Win/MultiMiner.Win.csproj
  104. +0 −1 MultiMiner.Win/Program.cs
  105. +1 −1 MultiMiner.Win/Properties/DataSources/MultiMiner.Coin.Api.CoinInformation.datasource
  106. +1 −3 MultiMiner.Win/ViewModels/MinerFormViewModel.cs
  107. +7 −7 MultiMiner.Xgminer.Api.Tests/DeviceInformationParserTests.cs
  108. +1 −2 MultiMiner.Xgminer.Discovery.Tests/MinerFinderTests.cs
  109. +3 −3 MultiMiner.Xgminer.Tests/DeviceListParserTests.cs
  110. +5 −5 MultiMiner.Xgminer.Tests/MinerTests.cs
  111. +2 −2 MultiMiner.Xgminer/Data/Configuration/Miner.cs
  112. +2 −3 MultiMiner.Xgminer/Miner.cs
  113. +57 −57 MultiMiner.sln
@@ -1,6 +1,6 @@
using System;
-namespace MultiMiner.Coin.Api
+namespace MultiMiner.CoinApi
{
[Serializable]
public class CoinApiException : Exception
@@ -1,6 +1,6 @@
using System;
-namespace MultiMiner.Coin.Api.Data
+namespace MultiMiner.CoinApi.Data
{
public class CoinInformation
{
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace MultiMiner.Coin.Api
+namespace MultiMiner.CoinApi
{
public interface IApiContext
{
@@ -7,8 +7,8 @@
<ProjectGuid>{9E86F77A-68B9-4D72-82D2-855878BA8CB1}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>MultiMiner.Coin.Api</RootNamespace>
- <AssemblyName>MultiMiner.Coin.Api</AssemblyName>
+ <RootNamespace>MultiMiner.CoinApi</RootNamespace>
+ <AssemblyName>MultiMiner.CoinApi</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("MultiMiner.Coin.Api")]
+[assembly: AssemblyTitle("MultiMiner.CoinApi")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MultiMiner.Coin.Api")]
+[assembly: AssemblyProduct("MultiMiner.CoinApi")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -1,8 +1,8 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Collections.Generic;
-using MultiMiner.Coin.Api;
using System;
+using MultiMiner.CoinApi.Data;
namespace MultiMiner.CoinChoose.Api.Tests
{
@@ -54,13 +54,13 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\MultiMiner.Coin.Api\MultiMiner.Coin.Api.csproj">
+ <ProjectReference Include="..\MultiMiner.CoinApi\MultiMiner.CoinApi.csproj">
<Project>{9e86f77a-68b9-4d72-82d2-855878ba8cb1}</Project>
- <Name>MultiMiner.Coin.Api</Name>
+ <Name>MultiMiner.CoinApi</Name>
</ProjectReference>
- <ProjectReference Include="..\MultiMiner.Coinchoose.Api\MultiMiner.CoinChoose.Api.csproj">
+ <ProjectReference Include="..\MultiMiner.Coinchoose\MultiMiner.CoinChoose.csproj">
<Project>{d9b3f627-cb7a-454c-af8f-70c8fb584553}</Project>
- <Name>MultiMiner.CoinChoose.Api</Name>
+ <Name>MultiMiner.CoinChoose</Name>
</ProjectReference>
</ItemGroup>
<Choose>
@@ -1,13 +1,13 @@
-using MultiMiner.Coin.Api;
-using MultiMiner.Coin.Api.Data;
-using MultiMiner.CoinChoose.Api.Extensions;
+using MultiMiner.CoinApi;
+using MultiMiner.CoinApi.Data;
+using MultiMiner.CoinChoose.Extensions;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
-namespace MultiMiner.CoinChoose.Api
+namespace MultiMiner.CoinChoose
{
public class ApiContext : IApiContext
{
@@ -1,8 +1,8 @@
-using MultiMiner.Coin.Api.Data;
+using MultiMiner.CoinApi.Data;
using Newtonsoft.Json.Linq;
using System;
-namespace MultiMiner.CoinChoose.Api.Extensions
+namespace MultiMiner.CoinChoose.Extensions
{
public static class CoinInformationExtensions
{
@@ -7,8 +7,8 @@
<ProjectGuid>{D9B3F627-CB7A-454C-AF8F-70C8FB584553}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>MultiMiner.CoinChoose.Api</RootNamespace>
- <AssemblyName>MultiMiner.CoinChoose.Api</AssemblyName>
+ <RootNamespace>MultiMiner.CoinChoose</RootNamespace>
+ <AssemblyName>MultiMiner.CoinChoose</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
@@ -52,9 +52,9 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\MultiMiner.Coin.Api\MultiMiner.Coin.Api.csproj">
+ <ProjectReference Include="..\MultiMiner.CoinApi\MultiMiner.CoinApi.csproj">
<Project>{9E86F77A-68B9-4D72-82D2-855878BA8CB1}</Project>
- <Name>MultiMiner.Coin.Api</Name>
+ <Name>MultiMiner.CoinApi</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("MultiMiner.CoinChoose.Api")]
+[assembly: AssemblyTitle("MultiMiner.CoinChoose")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MultiMiner.CoinChoose.Api")]
+[assembly: AssemblyProduct("MultiMiner.CoinChoose")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -1,8 +1,9 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-using MultiMiner.Coin.Api;
+using MultiMiner.CoinApi;
using System.Collections.Generic;
using System.Linq;
+using MultiMiner.CoinApi.Data;
namespace MultiMiner.CoinWarz.Api.Tests
{
@@ -62,13 +62,13 @@
</Compile>
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\MultiMiner.Coin.Api\MultiMiner.Coin.Api.csproj">
+ <ProjectReference Include="..\MultiMiner.CoinApi\MultiMiner.CoinApi.csproj">
<Project>{9e86f77a-68b9-4d72-82d2-855878ba8cb1}</Project>
- <Name>MultiMiner.Coin.Api</Name>
+ <Name>MultiMiner.CoinApi</Name>
</ProjectReference>
- <ProjectReference Include="..\MultiMiner.CoinWarz.Api\MultiMiner.CoinWarz.Api.csproj">
+ <ProjectReference Include="..\MultiMiner.CoinWarz\MultiMiner.CoinWarz.csproj">
<Project>{5b2b2592-689a-4de2-815c-259427a3d101}</Project>
- <Name>MultiMiner.CoinWarz.Api</Name>
+ <Name>MultiMiner.CoinWarz</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
@@ -1,12 +1,12 @@
-using MultiMiner.Coin.Api;
-using MultiMiner.Coin.Api.Data;
-using MultiMiner.CoinWarz.Api.Extensions;
+using MultiMiner.CoinApi;
+using MultiMiner.CoinApi.Data;
+using MultiMiner.CoinWarz.Extensions;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net;
-namespace MultiMiner.CoinWarz.Api
+namespace MultiMiner.CoinWarz
{
public class ApiContext : IApiContext
{
@@ -1,7 +1,7 @@
-using MultiMiner.Coin.Api.Data;
+using MultiMiner.CoinApi.Data;
using Newtonsoft.Json.Linq;
-namespace MultiMiner.CoinWarz.Api.Extensions
+namespace MultiMiner.CoinWarz.Extensions
{
public static class CoinInformationExtensions
{
@@ -7,8 +7,8 @@
<ProjectGuid>{5B2B2592-689A-4DE2-815C-259427A3D101}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>MultiMiner.CoinWarz.Api</RootNamespace>
- <AssemblyName>MultiMiner.CoinWarz.Api</AssemblyName>
+ <RootNamespace>MultiMiner.CoinWarz</RootNamespace>
+ <AssemblyName>MultiMiner.CoinWarz</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
@@ -49,9 +49,9 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\MultiMiner.Coin.Api\MultiMiner.Coin.Api.csproj">
+ <ProjectReference Include="..\MultiMiner.CoinApi\MultiMiner.CoinApi.csproj">
<Project>{9E86F77A-68B9-4D72-82D2-855878BA8CB1}</Project>
- <Name>MultiMiner.Coin.Api</Name>
+ <Name>MultiMiner.CoinApi</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("MultiMiner.CoinWarz.Api")]
+[assembly: AssemblyTitle("MultiMiner.CoinWarz")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MultiMiner.CoinWarz.Api")]
+[assembly: AssemblyProduct("MultiMiner.CoinWarz")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -1,7 +1,8 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
+using MultiMiner.Coinbase.Data;
-namespace MultiMiner.Coinbase.Api.Tests
+namespace MultiMiner.Coinbase.Tests
{
[TestClass]
public class ApiContextTests
@@ -57,9 +57,9 @@
<Compile Include="ApiContextTests.cs" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\MultiMiner.Coinbase.Api\MultiMiner.Coinbase.Api.csproj">
+ <ProjectReference Include="..\MultiMiner.Coinbase\MultiMiner.Coinbase.csproj">
<Project>{95f6c880-7ab3-441b-8d41-28c0ad507b62}</Project>
- <Name>MultiMiner.Coinbase.Api</Name>
+ <Name>MultiMiner.Coinbase</Name>
</ProjectReference>
</ItemGroup>
<Choose>
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("MultiMiner.Coinbase.Api.Tests")]
+[assembly: AssemblyTitle("MultiMiner.Coinbase.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MultiMiner.Coinbase.Api.Tests")]
+[assembly: AssemblyProduct("MultiMiner.Coinbase.Tests")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -2,7 +2,7 @@
using System;
using System.Net;
-namespace MultiMiner.Coinbase.Api
+namespace MultiMiner.Coinbase
{
public static class ApiContext
{
@@ -1,4 +1,4 @@
-namespace MultiMiner.Coinbase.Api.Data
+namespace MultiMiner.Coinbase.Data
{
public class CurrencyAmount
{
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace MultiMiner.Coinbase.Api.Data
+namespace MultiMiner.Coinbase.Data
{
//https://coinbase.com/api/v1/prices/sell
public class SellPrices : CurrencyAmount
@@ -7,8 +7,8 @@
<ProjectGuid>{95F6C880-7AB3-441B-8D41-28C0AD507B62}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>MultiMiner.Coinbase.Api</RootNamespace>
- <AssemblyName>MultiMiner.Coinbase.Api</AssemblyName>
+ <RootNamespace>MultiMiner.Coinbase</RootNamespace>
+ <AssemblyName>MultiMiner.Coinbase</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("MultiMiner.Coinbase.Api")]
+[assembly: AssemblyTitle("MultiMiner.Coinbase")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MultiMiner.Coinbase.Api")]
+[assembly: AssemblyProduct("MultiMiner.Coinbase")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -1,5 +1,4 @@
-using System;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading;
namespace MultiMiner.Discovery.Tests
@@ -1,5 +1,4 @@
-using MultiMiner.Engine.Data;
-using MultiMiner.Xgminer.Data;
+using MultiMiner.Xgminer.Data;
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
@@ -1,9 +1,7 @@
-using MultiMiner.Engine.Data.Configuration;
-using MultiMiner.Xgminer;
-using MultiMiner.Xgminer.Data;
+using MultiMiner.Xgminer.Data;
using System.Collections.Generic;
-namespace MultiMiner.Engine
+namespace MultiMiner.Engine.Helpers
{
public static class DonationPools
{
@@ -1,6 +1,4 @@
-using MultiMiner.Xgminer;
using MultiMiner.Xgminer.Data;
-using MultiMiner.Xgminer.Data.Configuration;
using System;
using System.Collections.Generic;
@@ -16,6 +14,6 @@ public class LogProcessCloseArgs : EventArgs
public double EndPrice { get; set; }
public long AcceptedShares { get; set; }
public List<DeviceDescriptor> DeviceDescriptors { get; set; }
- public MinerConfiguration MinerConfiguration { get; set; }
+ public Xgminer.Data.Configuration.Miner MinerConfiguration { get; set; }
}
}
@@ -1,6 +1,4 @@
-using MultiMiner.Xgminer;
-using MultiMiner.Xgminer.Api;
-using MultiMiner.Xgminer.Data.Configuration;
+using MultiMiner.Xgminer.Api;
using System;
using System.ComponentModel;
using System.Diagnostics;
@@ -13,9 +11,9 @@ public class MinerProcess
{
public Process Process { get; set; }
public int ApiPort { get; set; }
- public MinerConfiguration MinerConfiguration { get; set; } //for relaunching crashed miners
+ public Xgminer.Data.Configuration.Miner MinerConfiguration { get; set; } //for relaunching crashed miners
public DateTime StartDate { get; set; }
- public Coin.Api.Data.CoinInformation CoinInformation { get; set; }
+ public CoinApi.Data.CoinInformation CoinInformation { get; set; }
//store separately from CoinInformation as CoinInformation depends on Coin API
public string CoinSymbol { get; set; }
Oops, something went wrong.

0 comments on commit affcc57

Please sign in to comment.