Skip to content

Commit

Permalink
Merge pull request #27 from fortedigital/fix/fix-namespace-names
Browse files Browse the repository at this point in the history
Fix namespaces
  • Loading branch information
AyronK authored Aug 8, 2023
2 parents cc1c44c + ba43fa2 commit 443388f
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Forte.Web.React/Configuration/ReactConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;

namespace Forte.React.AspNetCore.Configuration;
namespace Forte.Web.React.Configuration;

public class ReactConfiguration
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text.Json;

namespace Forte.React.AspNetCore.Configuration;
namespace Forte.Web.React.Configuration;

public class ReactJsonSerializerOptions
{
Expand Down
2 changes: 1 addition & 1 deletion Forte.Web.React/Forte.Web.React.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<Packable>true</Packable>
<VersionPrefix>1.0.1.0</VersionPrefix>
<VersionPrefix>1.0.0.0</VersionPrefix>
</PropertyGroup>

<PropertyGroup>
Expand Down
6 changes: 3 additions & 3 deletions Forte.Web.React/ForteWebReactExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Forte.React.AspNetCore.Configuration;
using Forte.React.AspNetCore.React;
using Forte.Web.React.Configuration;
using Forte.Web.React.React;
using Jering.Javascript.NodeJS;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;

namespace Forte.React.AspNetCore;
namespace Forte.Web.React;

public static class ReactForteExtensions
{
Expand Down
4 changes: 2 additions & 2 deletions Forte.Web.React/HtmlHelperExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Forte.React.AspNetCore.React;
using Forte.Web.React.React;
using Microsoft.Extensions.DependencyInjection;

#if NET48
Expand All @@ -12,7 +12,7 @@
using Microsoft.AspNetCore.Mvc.Rendering;
#endif

namespace Forte.React.AspNetCore;
namespace Forte.Web.React;

public static class HtmlHelperExtensions
{
Expand Down
2 changes: 1 addition & 1 deletion Forte.Web.React/JsonSerializationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading.Tasks;
using Jering.Javascript.NodeJS;

namespace Forte.React.AspNetCore;
namespace Forte.Web.React;

public interface IJsonSerializationService : IJsonService
{
Expand Down
2 changes: 1 addition & 1 deletion Forte.Web.React/React/Component.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Forte.React.AspNetCore.React;
namespace Forte.Web.React.React;

internal class Component : IReactComponent
{
Expand Down
2 changes: 1 addition & 1 deletion Forte.Web.React/React/IReactComponent.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Forte.React.AspNetCore.React;
namespace Forte.Web.React.React;

public interface IReactComponent<out TProps> : IReactComponent where TProps : IReactComponentProps
{
Expand Down
4 changes: 2 additions & 2 deletions Forte.Web.React/React/IReactComponentProps.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
namespace Forte.React.AspNetCore.React;
namespace Forte.Web.React.React;

public interface IReactComponentProps
{
}
}
2 changes: 1 addition & 1 deletion Forte.Web.React/React/IReactServiceFactory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Forte.React.AspNetCore.React;
namespace Forte.Web.React.React;

public interface IReactServiceFactory
{
Expand Down
6 changes: 3 additions & 3 deletions Forte.Web.React/React/ReactService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Forte.React.AspNetCore.Configuration;
using Forte.Web.React.Configuration;
using Jering.Javascript.NodeJS;
using Microsoft.Extensions.DependencyInjection;

namespace Forte.React.AspNetCore.React;
namespace Forte.Web.React.React;

public interface IReactService
{
Expand Down Expand Up @@ -177,7 +177,7 @@ private static Stream GetStreamFromEmbeddedScript(string scriptName)
{
var currentAssembly = typeof(ReactService).Assembly;

var manifestResourceName = $"Forte.React.AspNetCore.Scripts.{scriptName}";
var manifestResourceName = $"Forte.Web.React.Scripts.{scriptName}";
var stream = currentAssembly.GetManifestResourceStream(manifestResourceName) ??
throw new InvalidOperationException($"Could not get manifest resource with name - {manifestResourceName}");

Expand Down
2 changes: 1 addition & 1 deletion Forte.Web.React/React/RenderingMode.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Forte.React.AspNetCore.React;
namespace Forte.Web.React.React;

[Flags]
public enum RenderingMode
Expand Down
2 changes: 1 addition & 1 deletion Forte.Web.React/React/StaticNodeJsServiceProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading.Tasks;
using Jering.Javascript.NodeJS;

namespace Forte.React.AspNetCore.React;
namespace Forte.Web.React.React;

public sealed class StaticNodeJsServiceProxy : INodeJSService
{
Expand Down

0 comments on commit 443388f

Please sign in to comment.