Skip to content

Commit 699c2a3

Browse files
committed
re-org namespaces
1 parent d5efe94 commit 699c2a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+54
-83
lines changed

src/SciSharp.MySQL.Replication/Events/CellValue.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
using System;
2-
using System.Buffers;
3-
using System.Collections;
4-
using System.Collections.Generic;
5-
using System.Text;
6-
using SuperSocket.ProtoBase;
72

8-
namespace SciSharp.MySQL.Replication
3+
namespace SciSharp.MySQL.Replication.Events
94
{
105
/// <summary>
116
/// Represents a value of a cell in a row, containing both old and new values.

src/SciSharp.MySQL.Replication/Events/DefaultEventFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Buffers;
33

4-
namespace SciSharp.MySQL.Replication
4+
namespace SciSharp.MySQL.Replication.Events
55
{
66
/// <summary>
77
/// Default implementation of the log event factory that creates events of a specified type.

src/SciSharp.MySQL.Replication/Events/DeleteRowsEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using System.Text;
66
using SuperSocket.ProtoBase;
77

8-
namespace SciSharp.MySQL.Replication
8+
namespace SciSharp.MySQL.Replication.Events
99
{
1010
/// <summary>
1111
/// Represents a MySQL binary log event that contains rows deleted from a table.

src/SciSharp.MySQL.Replication/Events/EmptyPayloadEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.Buffers;
33

4-
namespace SciSharp.MySQL.Replication
4+
namespace SciSharp.MySQL.Replication.Events
55
{
66
/// <summary>
77
/// Represents a log event with an empty payload.

src/SciSharp.MySQL.Replication/Events/ErrorEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using SuperSocket.ProtoBase;
55

6-
namespace SciSharp.MySQL.Replication
6+
namespace SciSharp.MySQL.Replication.Events
77
{
88
/// <summary>
99
/// Represents an error event in the MySQL binary log.

src/SciSharp.MySQL.Replication/Events/FormatDescriptionEvent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using SuperSocket.ProtoBase;
55

6-
namespace SciSharp.MySQL.Replication
6+
namespace SciSharp.MySQL.Replication.Events
77
{
88
/// <summary>
99
/// Represents a MySQL FORMAT_DESCRIPTION_EVENT that describes the format of the binary log.

src/SciSharp.MySQL.Replication/ILogEventFactory.cs renamed to src/SciSharp.MySQL.Replication/Events/ILogEventFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Threading.Tasks;
33
using System.Collections.Generic;
44

5-
namespace SciSharp.MySQL.Replication
5+
namespace SciSharp.MySQL.Replication.Events
66
{
77
/// <summary>
88
/// Interface for factories that create log events from context objects.

src/SciSharp.MySQL.Replication/LogEvent.cs renamed to src/SciSharp.MySQL.Replication/Events/LogEvent.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System;
22
using System.Buffers;
3-
using System.Collections;
4-
using System.Text;
5-
using SuperSocket.ProtoBase;
3+
using SciSharp.MySQL.Replication.Types;
64

7-
namespace SciSharp.MySQL.Replication
5+
namespace SciSharp.MySQL.Replication.Events
86
{
97
/// <summary>
108
/// Base class for all MySQL binary log events.

src/SciSharp.MySQL.Replication/LogEventFlag.cs renamed to src/SciSharp.MySQL.Replication/Events/LogEventFlag.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace SciSharp.MySQL.Replication
3+
namespace SciSharp.MySQL.Replication.Events
44
{
55
/// <summary>
66
/// Defines the flags used in binary log events.

src/SciSharp.MySQL.Replication/LogEventType.cs renamed to src/SciSharp.MySQL.Replication/Events/LogEventType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22

3-
namespace SciSharp.MySQL.Replication
3+
namespace SciSharp.MySQL.Replication.Events
44
{
55
/// <summary>
66
/// Represents the different types of events in a MySQL binary log.

0 commit comments

Comments
 (0)