Skip to content

Commit

Permalink
rename CQS to Cqs to comply with naming guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
meinsiedler committed Sep 18, 2018
1 parent dbd05ec commit 34ab6e4
Show file tree
Hide file tree
Showing 23 changed files with 29 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Threading.Tasks;
using System.Transactions;

namespace softaware.CQS.Decorators.Transaction
namespace softaware.Cqs.Decorators.Transaction
{
public class TransactionAwareCommandHandlerDecorator<TCommand> : ICommandHandler<TCommand>
where TCommand : ICommand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading.Tasks;
using System.Transactions;

namespace softaware.CQS.Decorators.Transaction
namespace softaware.Cqs.Decorators.Transaction
{
public class TransactionAwareQueryHandlerDecorator<TQuery, TResult> : IQueryHandler<TQuery, TResult>
where TQuery : IQuery<TResult>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\softaware.CQS\softaware.CQS.csproj" />
<ProjectReference Include="..\softaware.Cqs\softaware.Cqs.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Threading.Tasks;

namespace softaware.CQS.Decorators.UsageAware
namespace softaware.Cqs.Decorators.UsageAware
{
public class UsageAwareCommandLogger<TCommand> : UsageAwareLogger<TCommand>
where TCommand : ICommand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Text;
using System.Threading.Tasks;

namespace softaware.CQS.Decorators.UsageAware
namespace softaware.Cqs.Decorators.UsageAware
{
public class UsageAwareLogger<T>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Text;
using System.Threading.Tasks;

namespace softaware.CQS.Decorators.UsageAware
namespace softaware.Cqs.Decorators.UsageAware
{
public class UsageAwareQueryLogger<TQuery, TResult> : UsageAwareLogger<TQuery>
where TQuery : IQuery<TResult>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\softaware.CQS\softaware.CQS.csproj" />
<ProjectReference Include="..\softaware.Cqs\softaware.Cqs.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace softaware.CQS.Decorators.Validation
namespace softaware.Cqs.Decorators.Validation
{
public class DataAnnotationsValidator : IValidator
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace softaware.CQS.Decorators.Validation
namespace softaware.Cqs.Decorators.Validation
{
public interface IValidator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Text;
using System.Threading.Tasks;

namespace softaware.CQS.Decorators.Validation
namespace softaware.Cqs.Decorators.Validation
{
public class ValidationCommandHandlerDecorator<TCommand> : ICommandHandler<TCommand>
where TCommand : ICommand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Text;
using System.Threading.Tasks;

namespace softaware.CQS.Decorators.Validation
namespace softaware.Cqs.Decorators.Validation
{
public class ValidationQueryHandlerDecorator<TQuery, TResult> : IQueryHandler<TQuery, TResult>
where TQuery : IQuery<TResult>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@
<RepositoryType>git</RepositoryType>
<PackageTags>softaware, command-query-separation</PackageTags>
<Description>A decorator for command-query architecture, which supports validation of data annotations.</Description>
<AssemblyName>softaware.Cqs.Decorators.Validation</AssemblyName>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.ComponentModel.Annotations" Version="4.5.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\softaware.CQS\softaware.CQS.csproj" />
<ProjectReference Include="..\softaware.Cqs\softaware.Cqs.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System;
using System.Threading.Tasks;

namespace softaware.CQS.SimpleInjector
namespace softaware.Cqs.SimpleInjector
{
public class DynamicCommandProcessor : ICommandProcessor
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Text;
using System.Threading.Tasks;

namespace softaware.CQS.SimpleInjector
namespace softaware.Cqs.SimpleInjector
{
public class DynamicQueryProcessor : IQueryProcessor
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\softaware.CQS\softaware.CQS.csproj" />
<ProjectReference Include="..\softaware.Cqs\softaware.Cqs.csproj" />
</ItemGroup>

</Project>
10 changes: 5 additions & 5 deletions src/softaware.CQS.sln → src/softaware.Cqs.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27703.2026
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "softaware.CQS", "softaware.CQS\softaware.CQS.csproj", "{9DEE2395-1B87-41C1-853C-DB5461C7D149}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "softaware.Cqs", "softaware.Cqs\softaware.Cqs.csproj", "{9DEE2395-1B87-41C1-853C-DB5461C7D149}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "softaware.CQS.Decorators.Validation", "softaware.CQS.Decorators.Validation\softaware.CQS.Decorators.Validation.csproj", "{596B796A-4DEC-4BE7-B5E6-9F224C145EE3}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "softaware.Cqs.Decorators.Validation", "softaware.Cqs.Decorators.Validation\softaware.Cqs.Decorators.Validation.csproj", "{596B796A-4DEC-4BE7-B5E6-9F224C145EE3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "softaware.CQS.Decorators.Transaction", "softaware.CQS.Decorators.Transaction\softaware.CQS.Decorators.Transaction.csproj", "{6372820B-CD80-4D21-B9C0-B143815CFE46}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "softaware.Cqs.Decorators.Transaction", "softaware.Cqs.Decorators.Transaction\softaware.Cqs.Decorators.Transaction.csproj", "{6372820B-CD80-4D21-B9C0-B143815CFE46}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "softaware.CQS.SimpleInjector", "softaware.CQS.SimpleInjector\softaware.CQS.SimpleInjector.csproj", "{78ABAB39-7F82-4964-904D-20AFBEF5E570}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "softaware.Cqs.SimpleInjector", "softaware.Cqs.SimpleInjector\softaware.Cqs.SimpleInjector.csproj", "{78ABAB39-7F82-4964-904D-20AFBEF5E570}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "softaware.CQS.Decorators.UsageAware", "softaware.CQS.Decorators.UsageAware\softaware.CQS.Decorators.UsageAware.csproj", "{B9334117-F235-45CE-9590-9C1CADD6F6BF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "softaware.Cqs.Decorators.UsageAware", "softaware.Cqs.Decorators.UsageAware\softaware.Cqs.Decorators.UsageAware.csproj", "{B9334117-F235-45CE-9590-9C1CADD6F6BF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace softaware.CQS
namespace softaware.Cqs
{
/// <summary>
/// Marker interface for commands.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Text;
using System.Threading.Tasks;

namespace softaware.CQS
namespace softaware.Cqs
{
public interface ICommandHandler<TCommand>
where TCommand : ICommand
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Threading.Tasks;

namespace softaware.CQS
namespace softaware.Cqs
{
public interface ICommandProcessor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace softaware.CQS
namespace softaware.Cqs
{
/// <summary>
/// Marker interface for queries.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Text;
using System.Threading.Tasks;

namespace softaware.CQS
namespace softaware.Cqs
{
public interface IQueryHandler<TQuery, TResult>
where TQuery : IQuery<TResult>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Threading.Tasks;

namespace softaware.CQS
namespace softaware.Cqs
{
public interface IQueryProcessor
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<PackageProjectUrl>https://github.com/softawaregmbh/library-cqs</PackageProjectUrl>
<RepositoryUrl>https://github.com/softawaregmbh/library-cqs</RepositoryUrl>
<PackageLicenseUrl>https://github.com/softawaregmbh/library-cqs/blob/master/LICENSE</PackageLicenseUrl>
<RootNamespace>softaware.Cqs</RootNamespace>
<AssemblyName>softaware.Cqs</AssemblyName>
</PropertyGroup>

</Project>

0 comments on commit 34ab6e4

Please sign in to comment.