Skip to content

Commit

Permalink
[FIX][BRK] Incorrect namespaces (closes #229)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeago authored and geoperez committed Jan 27, 2020
1 parent f5e7451 commit e685a55
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/Swan.Lite/CompositeHashCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq;

namespace Swan.Lite
namespace Swan
{
/// <summary>
/// <para>Provides a way for types that override <see cref="object.GetHashCode"/>
Expand Down
1 change: 0 additions & 1 deletion src/Swan.Lite/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Swan.Lite.Reflection;
using Swan.Mappers;
using Swan.Reflection;

Expand Down
1 change: 0 additions & 1 deletion src/Swan.Lite/Logging/ConsoleLogger.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using Swan.Lite.Logging;

namespace Swan.Logging
{
Expand Down
4 changes: 1 addition & 3 deletions src/Swan.Lite/Logging/DebugLogger.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Swan.Lite.Logging;

namespace Swan.Logging
namespace Swan.Logging
{
/// <summary>
/// Represents a logger target. This target will write to the
Expand Down
1 change: 0 additions & 1 deletion src/Swan.Lite/Logging/FileLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Swan.Lite.Logging;
using Swan.Threading;

namespace Swan.Logging
Expand Down
4 changes: 2 additions & 2 deletions src/Swan.Lite/Logging/LogLevel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Swan
namespace Swan.Logging
{
/// <summary>
/// Defines the log levels.
Expand Down Expand Up @@ -40,4 +40,4 @@ public enum LogLevel
/// </summary>
Fatal,
}
}
}
2 changes: 1 addition & 1 deletion src/Swan.Lite/Logging/LogMessageReceivedEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace Swan
namespace Swan.Logging
{
/// <summary>
/// Event arguments representing the message that is logged
Expand Down
5 changes: 2 additions & 3 deletions src/Swan.Lite/Logging/TextLogger.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Swan.Logging;
using System;
using System;

namespace Swan.Lite.Logging
namespace Swan.Logging
{
/// <summary>
/// Use this class for text-based logger.
Expand Down
7 changes: 3 additions & 4 deletions src/Swan.Lite/Reflection/ConstructorTypeCache.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using Swan.Reflection;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;

namespace Swan.Lite.Reflection
namespace Swan.Reflection
{
/// <summary>
/// A thread-safe cache of constructors belonging to a given type.
Expand Down Expand Up @@ -48,4 +47,4 @@ private static Func<Type, IEnumerable<Tuple<ConstructorInfo, ParameterInfo[]>>>
.OrderBy(x => x.Item2.Length)
.ToList();
}
}
}
1 change: 1 addition & 0 deletions src/Swan.Lite/Swan.Lite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyName>Swan.Lite</AssemblyName>
<RootNamespace>Swan</RootNamespace>
<CodeAnalysisRuleSet>..\..\StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
<Version>2.5.0</Version>
<Authors>Unosquare</Authors>
Expand Down
1 change: 0 additions & 1 deletion src/Swan.Lite/Terminal.Interaction.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using Swan.Lite.Logging;
using System.Globalization;
using Swan.Logging;

Expand Down
2 changes: 1 addition & 1 deletion src/Swan/Net/ConnectionDataReceivedTrigger.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Swan
namespace Swan.Net
{
/// <summary>
/// Enumerates the possible causes of the DataReceived event occurring.
Expand Down
4 changes: 3 additions & 1 deletion test/Swan.Test/Mocks/LoggingEntryMock.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace Swan.Test.Mocks
using Swan.Logging;

namespace Swan.Test.Mocks
{
using System;

Expand Down

0 comments on commit e685a55

Please sign in to comment.