Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Обновление целевой платформы. Изменение пространства имен #16

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
340 changes: 170 additions & 170 deletions appserver/commands.tests/SendCommand.feature.cs

Large diffs are not rendered by default.

338 changes: 169 additions & 169 deletions appserver/commands.tests/SimpleMacroCommand.feature.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion appserver/commands.tests/commands.tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
using System.Windows.Input;
using TechTalk.SpecFlow;

namespace AppServer.Commands
namespace App.Commands
{
[Binding]
public class КомандаКотораяОтправляетКомандуПотребителюКоманд_StepDefinitions
{
ICommand _testedCmd;

Check warning on line 11 in appserver/commands.tests/КомандаКотораяОтправляетКомандуПотребителюКоманд_StepDefinitions.cs

View workflow job for this annotation

GitHub Actions / build (7.0.x)

Non-nullable field '_testedCmd' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 11 in appserver/commands.tests/КомандаКотораяОтправляетКомандуПотребителюКоманд_StepDefinitions.cs

View workflow job for this annotation

GitHub Actions / build (7.0.x)

Non-nullable field '_testedCmd' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Exception? _ex = null;
Mock<ICommand> sendingCmd = new Mock<ICommand>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Windows.Input;
using TechTalk.SpecFlow;

namespace AppServer.Commands.Tests
namespace App.Commands.Tests
{
[Binding]
public class ПростаяСоставнаяКаоманда_StepDefinitions
Expand Down
2 changes: 1 addition & 1 deletion appserver/commands/ICommandConsumer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Commands
namespace App.Commands
{
public interface ICommandConsumer
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/commands/SendCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Commands
namespace App.Commands
{
public class SendCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/commands/SimpleMacroCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Commands
namespace App.Commands
{
public class SimpleMacroCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/commands/commands.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion appserver/core.tests/IocTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer
namespace App
{
public class IocTests
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/core.tests/core.tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down
2 changes: 1 addition & 1 deletion appserver/core/ICommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer
namespace App
{
/// <summary>
/// Команда.
Expand Down
4 changes: 2 additions & 2 deletions appserver/core/Ioc.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer
namespace App
{
/// <summary>
/// Контейнер инверсии зависимотей (Расширяемая фабрика).
Expand All @@ -10,7 +10,7 @@ public class Ioc
{
if ("Update Ioc Resolve Dependency Strategy" == dependency)
{
return new AppServer.Impl.UpdateIocResolveDependencyStrategyCommand(
return new Impl.UpdateIocResolveDependencyStrategyCommand(
(Func<Func<string, object[], object>, Func<string, object[], object>>)args[0]
);
}
Expand Down
2 changes: 1 addition & 1 deletion appserver/core/core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Impl
namespace App.Impl
{
internal class UpdateIocResolveDependencyStrategyCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/scopes.tests/ScopesTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Scopes
namespace App.Scopes
{
public class Tests : IDisposable
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/scopes.tests/scopes.tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down
2 changes: 1 addition & 1 deletion appserver/scopes/ClearCurrentScopeCommand.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
namespace AppServer.Scopes
namespace App.Scopes
{
public class ClearCurrentScopeCommand : ICommand
{
public void Execute()
{
InitCommand.currentScopes.Value = null;

Check warning on line 7 in appserver/scopes/ClearCurrentScopeCommand.cs

View workflow job for this annotation

GitHub Actions / build (7.0.x)

Cannot convert null literal to non-nullable reference type.

Check warning on line 7 in appserver/scopes/ClearCurrentScopeCommand.cs

View workflow job for this annotation

GitHub Actions / build (7.0.x)

Cannot convert null literal to non-nullable reference type.
}
}
}
2 changes: 1 addition & 1 deletion appserver/scopes/DependencyResolver.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Scopes
namespace App.Scopes
{
public class DependencyResolver : IDependencyResolver
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/scopes/IDependencyResolver.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Scopes
namespace App.Scopes
{
public interface IDependencyResolver
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/scopes/InitCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Concurrent;

namespace AppServer.Scopes
namespace App.Scopes
{
public class InitCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/scopes/RegisterDependencyCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Scopes
namespace App.Scopes
{
public class RegisterDependencyCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/scopes/SetCurrentScopeCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Scopes
namespace App.Scopes
{
public class SetCurrentScopeCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/scopes/scopes.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion appserver/server.tests/ProcessorTests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Moq;
using System.Collections.Concurrent;

namespace AppServer.Commands.Tests
namespace App.Commands.Tests
{
public class ProcessorTests
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/server.tests/server.tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down
2 changes: 1 addition & 1 deletion appserver/server/HardStopCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Commands
namespace App.Commands
{
public class HardStopCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/server/IProcessable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Commands
namespace App.Commands
{
public interface IProcessable
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/server/InitProcessorContextCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Concurrent;

namespace AppServer.Commands
namespace App.Commands
{
public class InitProcessorContextCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/server/Processable.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Commands
namespace App.Commands
{
public class Processable : IProcessable
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/server/Processor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Commands
namespace App.Commands
{
public class Processor
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/server/RegisterProcessorCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace AppServer.Commands
namespace App.Commands
{
public class RegisterProcessorCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/server/SoftStopCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Concurrent;

namespace AppServer.Commands
namespace App.Commands
{
public class SoftStopCommand : ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion appserver/server/server.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Empty file.
Loading