Skip to content

Commit d8aff7d

Browse files
committed
Fixed references, namespaces
1 parent 3e5b0f9 commit d8aff7d

File tree

13 files changed

+34
-27
lines changed

13 files changed

+34
-27
lines changed

BooleanExpressionParser.CLI/BooleanExpressionParser.CLI.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@
1212
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
1313
</ItemGroup>
1414

15+
<ItemGroup>
16+
<ProjectReference Include="..\BooleanExpressionParser\BooleanExpressionParser.csproj" />
17+
</ItemGroup>
18+
1519
</Project>

BooleanExpressionParser.CLI/Formatters/BasicFormatter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Text;
2-
using BooleanExpressionParser.Formatter;
3-
4-
namespace BooleanExpressionParser.CLI.Formatter;
2+
using BooleanExpressionParser;
3+
using BooleanExpressionParser.Tokens;
54

5+
namespace BooleanExpressionParser.CLI.Formatters;
66

77
public class BasicFormatter : IFormatter
88
{

BooleanExpressionParser.CLI/Formatters/DisplayFormatter.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Globalization;
22
using System.Text;
3+
using BooleanExpressionParser.Tokens;
34
using Spectre.Console;
4-
using BooleanExpressionParser.Formatter;
55

6-
namespace BooleanExpressionParser.CLI.Formatter;
6+
namespace BooleanExpressionParser.CLI.Formatters;
77

88
public enum ColourMode
99
{
@@ -12,7 +12,6 @@ public enum ColourMode
1212
Background
1313
}
1414

15-
1615
public class DisplayFormatter : IFormatter
1716
{
1817
private static int FinalPadding = 2;
@@ -129,7 +128,7 @@ static string PadBoth(string source, int totalLength, char paddingChar = ' ')
129128
}
130129

131130

132-
public String JoinTruthTables(params string[] tables)
131+
public string JoinTruthTables(params string[] tables)
133132
{
134133
var sb = new StringBuilder();
135134

BooleanExpressionParser.CLI/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Text;
33
using System;
44
using Spectre.Console;
5+
using BooleanExpressionParser.CLI.Formatters;
56

67
namespace BooleanExpressionParser.CLI;
78

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"profiles": {
3+
"BooleanExpressionParser.CLI - table": {
4+
"commandName": "Project",
5+
"commandLineArgs": "table"
6+
},
7+
"BooleanExpressionParser.CLI - convert": {
8+
"commandName": "Project",
9+
"commandLineArgs": "convert"
10+
}
11+
}
12+
}

BooleanExpressionParser.Web/Client/BooleanExpressionParser.Web.Client.csproj

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,11 @@
1515

1616
<ItemGroup>
1717
<ProjectReference Include="..\Shared\BooleanExpressionParser.Web.Shared.csproj" />
18-
</ItemGroup>
19-
20-
21-
<ItemGroup>
22-
<ProjectReference Include="..\..\..\BooleanExpressionParser\BooleanExpressionParser.csproj" />
18+
<ProjectReference Include="..\..\BooleanExpressionParser\BooleanExpressionParser.csproj" />
2319
</ItemGroup>
2420

2521
<ItemGroup>
2622
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
27-
<ProjectReference Include="..\..\..\BooleanExpressionParser\BooleanExpressionParser.csproj" />
28-
</ItemGroup>
23+
</ItemGroup>
2924

3025
</Project>

BooleanExpressionParser.Web/Client/HTMLFormatter.cs renamed to BooleanExpressionParser.Web/Client/Formatters/HTMLFormatter.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
using BooleanExpressionParser;
2-
using BooleanExpressionParser.Formatter;
1+
using BooleanExpressionParser.Tokens;
32
using System.Text;
43

5-
namespace BooleanExpressionParserWeb.Client;
4+
namespace BooleanExpressionParser.Web.Client.Formatters;
65

76
public class HTMLFormatter : IFormatter
87
{

BooleanExpressionParser.Web/Client/MainLayout.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@inherits LayoutComponentBase
2-
@using BooleanExpressionParserWeb.Client.Components;
2+
@using BooleanExpressionParser.Web.Client.Components;
33

44

55
<div id="nav-bar">

BooleanExpressionParser.Web/Client/Pages/TruthTable.razor

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@using BooleanExpressionParser;
2-
@using BooleanExpressionParser.Formatter;
2+
@using BooleanExpressionParser.Web.Client.Formatters;
3+
34
@page "/truth-table"
45

56
<PageTitle>Truth Table Generator</PageTitle>

BooleanExpressionParser.Web/Client/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using BooleanExpressionParserWeb.Client;
1+
using BooleanExpressionParser.Web.Client;
22
using Microsoft.AspNetCore.Components.Web;
33
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
44

0 commit comments

Comments
 (0)