Rearranged solution, added CLARA.Shared project.
This commit is contained in:
7
CLARA.Shared/CLARA.Shared.csproj
Normal file
7
CLARA.Shared/CLARA.Shared.csproj
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
20
CLARA.Shared/Utils.cs
Normal file
20
CLARA.Shared/Utils.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace CLARA.Shared
|
||||||
|
{
|
||||||
|
public static class Utils
|
||||||
|
{
|
||||||
|
public static string ToHex(this byte number)
|
||||||
|
{
|
||||||
|
return ((long)number).ToHex(2);
|
||||||
|
}
|
||||||
|
public static string ToHex(this int number, byte digits = 4)
|
||||||
|
{
|
||||||
|
return ((long)number).ToHex(digits);
|
||||||
|
}
|
||||||
|
public static string ToHex(this long number, byte digits = 4)
|
||||||
|
{
|
||||||
|
return string.Concat("#", Convert.ToInt64(number).ToString(string.Concat("X", digits.ToString())));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
16
CLARA.sln
16
CLARA.sln
@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CLARA", "CLARA.csproj", "{7CC0A448-F2F9-4C2E-A7F9-C7A267DEFDF9}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CLARA.Shared", "CLARA.Shared\CLARA.Shared.csproj", "{E66F3601-A1A7-4543-B933-E63AFF50BB50}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CLARA", "CLARA\CLARA.csproj", "{81B95826-F1A6-487C-A373-FED4F7D15F2C}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@ -8,9 +10,13 @@ Global
|
|||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{7CC0A448-F2F9-4C2E-A7F9-C7A267DEFDF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{E66F3601-A1A7-4543-B933-E63AFF50BB50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{7CC0A448-F2F9-4C2E-A7F9-C7A267DEFDF9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{E66F3601-A1A7-4543-B933-E63AFF50BB50}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{7CC0A448-F2F9-4C2E-A7F9-C7A267DEFDF9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{E66F3601-A1A7-4543-B933-E63AFF50BB50}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{7CC0A448-F2F9-4C2E-A7F9-C7A267DEFDF9}.Release|Any CPU.Build.0 = Release|Any CPU
|
{E66F3601-A1A7-4543-B933-E63AFF50BB50}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{81B95826-F1A6-487C-A373-FED4F7D15F2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{81B95826-F1A6-487C-A373-FED4F7D15F2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{81B95826-F1A6-487C-A373-FED4F7D15F2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{81B95826-F1A6-487C-A373-FED4F7D15F2C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
@ -7,4 +7,8 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\CLARA.Shared\CLARA.Shared.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,8 +1,10 @@
|
|||||||
namespace CLARA;
|
using CLARA.Shared;
|
||||||
|
|
||||||
internal static class Program
|
namespace CLARA;
|
||||||
|
|
||||||
|
class Program
|
||||||
{
|
{
|
||||||
private static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Composable Logical Architecture for Retro Applications");
|
Console.WriteLine("Composable Logical Architecture for Retro Applications");
|
||||||
}
|
}
|
||||||
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"sdk": {
|
|
||||||
"version": "8.0.0",
|
|
||||||
"rollForward": "latestMinor",
|
|
||||||
"allowPrerelease": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user