[MWB] - refactoring "Common" classes - Common.Log.cs, Common.Receiver.cs (#35726)

This commit is contained in:
Michael Clayton
2025-01-17 15:41:39 +00:00
committed by GitHub
parent 44f170d4ed
commit 1aaf764c14
19 changed files with 698 additions and 661 deletions

View File

@@ -29,6 +29,8 @@ using MouseWithoutBorders.Core;
// </history>
using MouseWithoutBorders.Exceptions;
using Thread = MouseWithoutBorders.Core.Thread;
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "MouseWithoutBorders.SocketStuff.#SendData(System.Byte[])", Justification = "Dotnet port with style preservation")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "MouseWithoutBorders.SocketStuff.#Close()", Justification = "Dotnet port with style preservation")]
[module: SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "MouseWithoutBorders.SocketStuff.#CreateSocket(System.Boolean)", Justification = "Dotnet port with style preservation")]
@@ -1524,7 +1526,7 @@ namespace MouseWithoutBorders.Class
}
else
{
Common.ProcessPackage(package, currentTcp);
Receiver.ProcessPackage(package, currentTcp);
}
}
}