Skip to content

Commit e685a55

Browse files
rdeagogeoperez
authored andcommitted
[FIX][BRK] Incorrect namespaces (closes #229)
1 parent f5e7451 commit e685a55

13 files changed

+15
-20
lines changed

src/Swan.Lite/CompositeHashCode.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections.Generic;
33
using System.Linq;
44

5-
namespace Swan.Lite
5+
namespace Swan
66
{
77
/// <summary>
88
/// <para>Provides a way for types that override <see cref="object.GetHashCode"/>

src/Swan.Lite/Extensions.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.Collections.Generic;
44
using System.Linq;
55
using System.Threading.Tasks;
6-
using Swan.Lite.Reflection;
76
using Swan.Mappers;
87
using Swan.Reflection;
98

src/Swan.Lite/Logging/ConsoleLogger.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using Swan.Lite.Logging;
32

43
namespace Swan.Logging
54
{

src/Swan.Lite/Logging/DebugLogger.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using Swan.Lite.Logging;
2-
3-
namespace Swan.Logging
1+
namespace Swan.Logging
42
{
53
/// <summary>
64
/// Represents a logger target. This target will write to the

src/Swan.Lite/Logging/FileLogger.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.IO;
44
using System.Threading;
55
using System.Threading.Tasks;
6-
using Swan.Lite.Logging;
76
using Swan.Threading;
87

98
namespace Swan.Logging

src/Swan.Lite/Logging/LogLevel.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Swan
1+
namespace Swan.Logging
22
{
33
/// <summary>
44
/// Defines the log levels.
@@ -40,4 +40,4 @@ public enum LogLevel
4040
/// </summary>
4141
Fatal,
4242
}
43-
}
43+
}

src/Swan.Lite/Logging/LogMessageReceivedEventArgs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace Swan
3+
namespace Swan.Logging
44
{
55
/// <summary>
66
/// Event arguments representing the message that is logged

src/Swan.Lite/Logging/TextLogger.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using Swan.Logging;
2-
using System;
1+
using System;
32

4-
namespace Swan.Lite.Logging
3+
namespace Swan.Logging
54
{
65
/// <summary>
76
/// Use this class for text-based logger.

src/Swan.Lite/Reflection/ConstructorTypeCache.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
using Swan.Reflection;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
43
using System.Linq;
54
using System.Reflection;
65

7-
namespace Swan.Lite.Reflection
6+
namespace Swan.Reflection
87
{
98
/// <summary>
109
/// A thread-safe cache of constructors belonging to a given type.
@@ -48,4 +47,4 @@ private static Func<Type, IEnumerable<Tuple<ConstructorInfo, ParameterInfo[]>>>
4847
.OrderBy(x => x.Item2.Length)
4948
.ToList();
5049
}
51-
}
50+
}

src/Swan.Lite/Swan.Lite.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<TargetFrameworks>netstandard2.0</TargetFrameworks>
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<AssemblyName>Swan.Lite</AssemblyName>
10+
<RootNamespace>Swan</RootNamespace>
1011
<CodeAnalysisRuleSet>..\..\StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
1112
<Version>2.5.0</Version>
1213
<Authors>Unosquare</Authors>

src/Swan.Lite/Terminal.Interaction.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using Swan.Lite.Logging;
43
using System.Globalization;
54
using Swan.Logging;
65

src/Swan/Net/ConnectionDataReceivedTrigger.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace Swan
1+
namespace Swan.Net
22
{
33
/// <summary>
44
/// Enumerates the possible causes of the DataReceived event occurring.

test/Swan.Test/Mocks/LoggingEntryMock.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
namespace Swan.Test.Mocks
1+
using Swan.Logging;
2+
3+
namespace Swan.Test.Mocks
24
{
35
using System;
46

0 commit comments

Comments
 (0)