Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
namepsacing refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
osoykan committed Oct 1, 2017
1 parent a77fcce commit 4585fc2
Show file tree
Hide file tree
Showing 59 changed files with 103 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using Stove.Domain.Repositories;

namespace Stove
namespace Stove.Dapper
{
public class DapperAutoRepositoryTypeAttribute : AutoRepositoryTypesAttribute
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Stove.Bootstrapping;

namespace Stove
namespace Stove.Dapper
{
[DependsOn(
typeof(StoveKernelBootstrapper)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@

using JetBrains.Annotations;

using Stove.Dapper;
using Stove.Extensions;
using Stove.Orm;

namespace Stove
namespace Stove.Dapper
{
public static class StoveDapperRegistrationExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using JetBrains.Annotations;

using Stove.Domain.Uow;
using Stove.EntityFramework.Uow;
using Stove.Reflection.Extensions;

namespace Stove.EntityFramework
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Stove.Configuration;
using Stove.Domain.Uow;

namespace Stove.EntityFramework.Uow
namespace Stove.EntityFramework
{
public class TypedConnectionStringResolver : IConnectionStringResolver
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
using System.Linq;

using Stove.Bootstrapping;
using Stove.EntityFramework;

namespace Stove
namespace Stove.EntityFramework
{
[DependsOn(
typeof(StoveKernelBootstrapper)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@

using Stove.Domain.Entities;
using Stove.Domain.Uow;
using Stove.EntityFramework;
using Stove.EntityFramework.Uow;
using Stove.Orm;

namespace Stove
namespace Stove.EntityFramework
{
public static class StoveEntityFrameworkRegistrationExtensions
{
Expand Down
1 change: 0 additions & 1 deletion src/Stove.EntityFramework/Stove.EntityFramework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<PropertyGroup>
<DocumentationFile>bin\Release\net461\Stove.EntityFramework.xml</DocumentationFile>
<DocumentationFile>bin\Release\netstandard2.0\Stove.EntityFramework.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

using Stove.Bootstrapping;
using Stove.EntityFramework;
using Stove.EntityFrameworkCore;
using Stove.EntityFrameworkCore.Configuration;

namespace Stove
namespace Stove.EntityFrameworkCore
{
public class StoveEntityFrameworkCoreBootstrapper : StoveBootstrapper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@
using Stove.Domain.Entities;
using Stove.Domain.Uow;
using Stove.EntityFramework;
using Stove.EntityFrameworkCore;
using Stove.EntityFrameworkCore.Configuration;
using Stove.EntityFrameworkCore.Uow;
using Stove.Orm;
using Stove.Reflection.Extensions;

namespace Stove
namespace Stove.EntityFrameworkCore
{
public static class StoveEntityFrameworkCoreRegistrationExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Stove.Configuration;

namespace Stove.Configurations
namespace Stove.Hangfire.Configurations
{
public interface IStoveHangfireConfiguration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using Stove.Configuration;

namespace Stove.Configurations
namespace Stove.Hangfire.Configurations
{
public class StoveHangfireConfiguration : IStoveHangfireConfiguration, ISingletonDependency
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
using JetBrains.Annotations;

using Stove.Configuration;
using Stove.Hangfire;

namespace Stove.Configurations
namespace Stove.Hangfire.Configurations
{
public static class StoveHangfireConfigurationExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Hangfire;

using Stove.BackgroundJobs;
using Stove.Configurations;
using Stove.Hangfire.Configurations;
using Stove.Threading.BackgrodunWorkers;

namespace Stove.Hangfire
Expand Down
2 changes: 1 addition & 1 deletion src/Stove.HangFire/Hangfire/HangfireScheduleJobManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Hangfire;

using Stove.BackgroundJobs;
using Stove.Configurations;
using Stove.Hangfire.Configurations;
using Stove.Threading.BackgrodunWorkers;

namespace Stove.Hangfire
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using Autofac;

using Stove.Bootstrapping;
using Stove.Configurations;
using Stove.Hangfire;
using Stove.Hangfire.Configurations;
using Stove.Threading.BackgrodunWorkers;

namespace Stove
namespace Stove.Hangfire
{
[DependsOn(
typeof(StoveKernelBootstrapper)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
using System;
using System.Reflection;

using Autofac.Extras.IocManager;

using JetBrains.Annotations;

using Stove.Configurations;
using Stove.Hangfire.Configurations;
using Stove.Reflection.Extensions;

namespace Stove
namespace Stove.Hangfire
{
public static class StoveHangfireRegistrationExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
using Mapster;

using Stove.Bootstrapping;
using Stove.Mapster;
using Stove.Reflection;

namespace Stove
namespace Stove.Mapster
{
[DependsOn(
typeof(StoveKernelBootstrapper)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
using System.Reflection;

using Autofac.Extras.IocManager;
using Autofac.Extras.IocManager;

using JetBrains.Annotations;

using Stove.Mapster;
using Stove.ObjectMapping;
using Stove.Reflection.Extensions;

namespace Stove
namespace Stove.Mapster
{
public static class StoveMapsterRegistrationExtensions
{
Expand Down
2 changes: 1 addition & 1 deletion src/Stove.Mapster/Stove.Mapster.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Mapster" Version="3.1.3" />
<PackageReference Include="Mapster" Version="3.1.4" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using FluentNHibernate.Cfg;

namespace Stove.Configuration
using Stove.Configuration;

namespace Stove.NHibernate.Configuration
{
public interface IStoveNHibernateConfiguration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

using FluentNHibernate.Cfg;

namespace Stove.Configuration
using Stove.Configuration;

namespace Stove.NHibernate.Configuration
{
public class StoveNHibernateConfiguration : IStoveNHibernateConfiguration, ISingletonDependency
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace Stove.Configuration
using Stove.Configuration;

namespace Stove.NHibernate.Configuration
{
public static class StoveNHibernateConfigurationExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using NHibernate;

namespace Stove
namespace Stove.NHibernate
{
public interface ISessionProvider
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Stove.Bootstrapping;
using Stove.Bootstrapping;

namespace Stove
namespace Stove.NHibernate
{
[DependsOn(typeof(StoveKernelBootstrapper))]
public class StoveNHibernateBootstrapper : StoveBootstrapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

using Stove.Configuration;
using Stove.Domain.Repositories;
using Stove.NHibernate;
using Stove.NHibernate.Configuration;
using Stove.NHibernate.Interceptors;
using Stove.NHibernate.Repositories;
using Stove.Orm;

namespace Stove
namespace Stove.NHibernate
{
public static class StoveNHibernateRegistrationExtensions
{
Expand Down
1 change: 0 additions & 1 deletion src/Stove.NHibernate/Stove.NHibernate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<PropertyGroup>
<DocumentationFile>bin\Release\net461\Stove.NHibernate.xml</DocumentationFile>
<DocumentationFile>bin\Release\netstandard2.0\Stove.NHibernate.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using ILogger = Stove.Log.ILogger;
using Module = Autofac.Module;

namespace Stove
namespace Stove.NLog
{
public class NLogRegistrarModule : Module
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Stove.Bootstrapping;

namespace Stove
namespace Stove.NLog
{
[DependsOn(
typeof(StoveKernelBootstrapper)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using ILogger = Stove.Log.ILogger;

namespace Stove
namespace Stove.NLog
{
/// <summary>
/// Implementation of ILogger, deriving from NLog.Logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

using ILogger = Stove.Log.ILogger;

namespace Stove
namespace Stove.NLog
{
public static class StoveNLogRegistrationExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
using MassTransit;

using Stove.Bootstrapping;
using Stove.RabbitMQ;

namespace Stove
namespace Stove.RabbitMQ
{
[DependsOn(
typeof(StoveKernelBootstrapper)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

using Autofac;
using Autofac.Extras.IocManager;
Expand All @@ -11,10 +11,9 @@
using MassTransit.RabbitMqTransport;

using Stove.MQ;
using Stove.RabbitMQ;
using Stove.Reflection.Extensions;

namespace Stove
namespace Stove.RabbitMQ
{
public static class StoveRabbitMQRegistrationExtensions
{
Expand Down
6 changes: 3 additions & 3 deletions src/Stove.RabbitMQ/Stove.RabbitMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MassTransit" Version="4.0.0.1300-develop" />
<PackageReference Include="MassTransit.Autofac" Version="4.0.0.1300-develop" />
<PackageReference Include="MassTransit.RabbitMQ" Version="4.0.0.1299-develop" />
<PackageReference Include="MassTransit" Version="4.0.0.1305-develop" />
<PackageReference Include="MassTransit.Autofac" Version="4.0.0.1305-develop" />
<PackageReference Include="MassTransit.RabbitMQ" Version="4.0.0.1305-develop" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Raven.Client;
using Raven.Client.Documents.Session;
using Raven.Client.Documents.Session;

namespace Stove
namespace Stove.RavenDB
{
public interface ISessionProvider
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using Raven.Client;
using Raven.Client.Documents;
using Raven.Client.Documents;

using Stove.Bootstrapping;
using Stove.RavenDB.Configuration;

namespace Stove
namespace Stove.RavenDB
{
[DependsOn(
typeof(StoveKernelBootstrapper)
Expand Down
Loading

0 comments on commit 4585fc2

Please sign in to comment.