Skip to content

Commit

Permalink
Renamed projects to match conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
terrajobst committed Jun 30, 2020
1 parent 0b27e36 commit fe5f62b
Show file tree
Hide file tree
Showing 65 changed files with 58 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ApiReview.Data\ApiReview.Data.csproj" />
<ProjectReference Include="..\ApiReview.Shared\ApiReview.Shared.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
using System.Net.Http.Json;
using System.Text.Json;
using System.Threading.Tasks;

using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using ApiReview.Shared;

namespace ApiReview.Data
namespace ApiReview.Client.Data
{
internal sealed class ApiReviewNoteService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;

namespace ApiReview.Data
using ApiReview.Shared;

namespace ApiReview.Client.Data
{
internal sealed class ApiReviewService
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@page "/backlog"
@inject IJSRuntime JSRuntime;
@inject ApiReviewService ApiReviewService;
@using ApiReview.Data;

@if (_issues == null)
{
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@page "/notes"
@inject ApiReviewNoteService NoteService
@using ApiReview.Data;

<div class="form-group row">
<div class="col-sm-2">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page "/"
@namespace ApiReview.Pages
@namespace ApiReview.Client.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = null;
Expand Down
2 changes: 1 addition & 1 deletion ApiReview/Program.cs → ApiReview.Client/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;

namespace ApiReview
namespace ApiReview.Client
{
public class Program
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions ApiReview/Startup.cs → ApiReview.Client/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using ApiReview.Data;
using ApiReview.Shared;
using ApiReview.Client.Data;

namespace ApiReview
namespace ApiReview.Client
{
public class Startup
{
Expand Down
4 changes: 3 additions & 1 deletion ApiReview/_Imports.razor → ApiReview.Client/_Imports.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@using ApiReview
@using ApiReview.Client
@using ApiReview.Client.Data
@using ApiReview.Client.Shared
@using ApiReview.Shared
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.IO;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
internal static class ApiKeyStore
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ApiReview.Data\ApiReview.Data.csproj" />
<ProjectReference Include="..\ApiReview.Shared\ApiReview.Shared.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using Octokit;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
internal static class GitHubClientFactory
{
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
internal static class GitHubIssueHelpers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
using System.Text.Json;
using System.Threading.Tasks;

using ApiReview.Data;
using ApiReview.Shared;

using Octokit;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
public interface IGitHubManager
{
Expand All @@ -18,8 +18,8 @@ public interface IGitHubManager

public sealed class FakeGitHubManager : IGitHubManager
{
private IReadOnlyList<ApiReviewIssue> _issues;
private IReadOnlyList<ApiReviewFeedback> _feedback;
private readonly IReadOnlyList<ApiReviewIssue> _issues;
private readonly IReadOnlyList<ApiReviewFeedback> _feedback;

public FakeGitHubManager()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using System.Collections.Generic;
using System.Threading.Tasks;

using ApiReview.Data;
using ApiReview.Shared;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
using System.Linq;
using System.Threading.Tasks;

using ApiReview.Data;
using ApiReview.Shared;

using Octokit;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
public sealed class NoteSharingService
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Linq;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
internal sealed class OrgAndRepo
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
using System.Linq;
using System.Threading.Tasks;

using ApiReview.Data;
using ApiReview.Shared;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
public class SummaryManager
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.IO;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
internal static class YouTubeKeyStore
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
using System.Linq;
using System.Threading.Tasks;

using ApiReview.Data;
using ApiReview.Shared;

using Google.Apis.YouTube.v3.Data;

using static Google.Apis.YouTube.v3.SearchResource.ListRequest;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
public interface IYouTubeManager
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Google.Apis.Services;
using Google.Apis.YouTube.v3;

namespace ApiReview.Logic
namespace ApiReview.Server.Logic
{
internal static class YouTubeServiceFactory
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\ApiReview.Logic\ApiReview.Logic.csproj" />
<ProjectReference Include="..\ApiReview.Server.Logic\ApiReview.Server.Logic.csproj" />
</ItemGroup>


Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using System.Collections.Generic;
using System.Threading.Tasks;

using ApiReview.Data;
using ApiReview.Logic;
using ApiReview.Shared;
using ApiReview.Server.Logic;

using Microsoft.AspNetCore.Mvc;

namespace ApiReview.Backend.Controllers
namespace ApiReview.Server.Controllers
{
[ApiController]
[Route("[controller]")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
using System.Collections.Generic;
using System.Threading.Tasks;

using ApiReview.Data;
using ApiReview.Logic;
using ApiReview.Shared;
using ApiReview.Server.Logic;

using Microsoft.AspNetCore.Mvc;

namespace ApiReview.Backend.Controllers
namespace ApiReview.Server.Controllers
{
[ApiController]
[Route("[controller]")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

namespace ApiReview.Backend
namespace ApiReview.Server
{
public class Program
{
Expand Down
6 changes: 3 additions & 3 deletions ApiReview.Backend/Startup.cs → ApiReview.Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
using System.Linq;
using System.Threading.Tasks;

using ApiReview.Data;
using ApiReview.Logic;
using ApiReview.Shared;
using ApiReview.Server.Logic;

using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
Expand All @@ -15,7 +15,7 @@
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

namespace ApiReview.Backend
namespace ApiReview.Server
{
public class Startup
{
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace ApiReview.Data
namespace ApiReview.Shared
{
public sealed class ApiReviewFeedback
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace ApiReview.Data
namespace ApiReview.Shared
{
public sealed class ApiReviewFeedbackWithVideo
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Linq;

namespace ApiReview.Data
namespace ApiReview.Shared
{
public sealed class ApiReviewIssue : IComparable<ApiReviewIssue>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Drawing;
using System.Globalization;

namespace ApiReview.Data
namespace ApiReview.Shared
{
public sealed class ApiReviewLabel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IO;
using System.Linq;

namespace ApiReview.Data
namespace ApiReview.Shared
{
public sealed class ApiReviewSummary
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace ApiReview.Data
namespace ApiReview.Shared
{
public sealed class ApiReviewVideo
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace ApiReview.Data
namespace ApiReview.Shared
{
public static class TimeFormatting
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Text.Json;
using System.Text.Json.Serialization;

namespace ApiReview.Data
namespace ApiReview.Shared
{
public class TimeSpanJsonConverter : JsonConverter<TimeSpan>
{
Expand Down
Loading

0 comments on commit fe5f62b

Please sign in to comment.