From 2edeeaf4a25eca0809325a0857f4487ce4a93c59 Mon Sep 17 00:00:00 2001 From: Christopher R Schuchardt Date: Thu, 11 Jan 2024 10:04:47 -0500 Subject: [PATCH] Dotnet format --- src/WebSocketServer/WalletSession.cs | 11 +++++++++++ src/WebSocketServer/WalletSessionManager.cs | 11 +++++++++++ src/WebSocketServer/WebSocketClient.cs | 11 +++++++++++ src/WebSocketServer/WebSocketConnection.cs | 11 +++++++++++ src/WebSocketServer/WebSocketErrorResult.cs | 11 +++++++++++ src/WebSocketServer/WebSocketExtensions.cs | 11 +++++++++++ src/WebSocketServer/WebSocketMethodAttribute.cs | 11 +++++++++++ src/WebSocketServer/WebSocketRequestMessage.cs | 11 +++++++++++ src/WebSocketServer/WebSocketResponseMessage.cs | 11 +++++++++++ src/WebSocketServer/WebSocketResponseMessageEvent.cs | 11 +++++++++++ src/WebSocketServer/WebSocketServerPlugin.cs | 11 +++++++++++ src/WebSocketServer/WebSocketServerSettings.cs | 11 +++++++++++ src/WebSocketServer/WebSocketUtility.cs | 11 +++++++++++ src/WebSocketServer/WebSocketUtilityLogResult.cs | 11 +++++++++++ src/WebSocketServer/v1/BlockchainMethods.cs | 11 +++++++++++ src/WebSocketServer/v1/WalletMethods.cs | 11 +++++++++++ 16 files changed, 176 insertions(+) diff --git a/src/WebSocketServer/WalletSession.cs b/src/WebSocketServer/WalletSession.cs index 7fed73ad4..5ea6c48b0 100644 --- a/src/WebSocketServer/WalletSession.cs +++ b/src/WebSocketServer/WalletSession.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WalletSession.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Wallets; using System; diff --git a/src/WebSocketServer/WalletSessionManager.cs b/src/WebSocketServer/WalletSessionManager.cs index fe0a129e6..c8f9a16a8 100644 --- a/src/WebSocketServer/WalletSessionManager.cs +++ b/src/WebSocketServer/WalletSessionManager.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WalletSessionManager.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using System; using System.Collections.Concurrent; using System.Linq; diff --git a/src/WebSocketServer/WebSocketClient.cs b/src/WebSocketServer/WebSocketClient.cs index c70abdce6..adf67a44d 100644 --- a/src/WebSocketServer/WebSocketClient.cs +++ b/src/WebSocketServer/WebSocketClient.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketClient.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Json; using System; using System.Net.WebSockets; diff --git a/src/WebSocketServer/WebSocketConnection.cs b/src/WebSocketServer/WebSocketConnection.cs index ab157bb24..e3ec4cd0d 100644 --- a/src/WebSocketServer/WebSocketConnection.cs +++ b/src/WebSocketServer/WebSocketConnection.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketConnection.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Json; using System; using System.Collections; diff --git a/src/WebSocketServer/WebSocketErrorResult.cs b/src/WebSocketServer/WebSocketErrorResult.cs index 69719eff9..0ae9997cf 100644 --- a/src/WebSocketServer/WebSocketErrorResult.cs +++ b/src/WebSocketServer/WebSocketErrorResult.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketErrorResult.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Json; using System; diff --git a/src/WebSocketServer/WebSocketExtensions.cs b/src/WebSocketServer/WebSocketExtensions.cs index 467097f88..c7399c7ee 100644 --- a/src/WebSocketServer/WebSocketExtensions.cs +++ b/src/WebSocketServer/WebSocketExtensions.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketExtensions.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Json; using Neo.SmartContract; using Neo.VM; diff --git a/src/WebSocketServer/WebSocketMethodAttribute.cs b/src/WebSocketServer/WebSocketMethodAttribute.cs index 12852e638..9f1bf7913 100644 --- a/src/WebSocketServer/WebSocketMethodAttribute.cs +++ b/src/WebSocketServer/WebSocketMethodAttribute.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketMethodAttribute.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using System; namespace Neo.Plugins diff --git a/src/WebSocketServer/WebSocketRequestMessage.cs b/src/WebSocketServer/WebSocketRequestMessage.cs index dff9ac9a3..d5f55764c 100644 --- a/src/WebSocketServer/WebSocketRequestMessage.cs +++ b/src/WebSocketServer/WebSocketRequestMessage.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketRequestMessage.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Json; using System; diff --git a/src/WebSocketServer/WebSocketResponseMessage.cs b/src/WebSocketServer/WebSocketResponseMessage.cs index ef6c63440..58993c8e3 100644 --- a/src/WebSocketServer/WebSocketResponseMessage.cs +++ b/src/WebSocketServer/WebSocketResponseMessage.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketResponseMessage.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Json; using System; using System.Text; diff --git a/src/WebSocketServer/WebSocketResponseMessageEvent.cs b/src/WebSocketServer/WebSocketResponseMessageEvent.cs index 7cede1e3d..351f0fc7b 100644 --- a/src/WebSocketServer/WebSocketResponseMessageEvent.cs +++ b/src/WebSocketServer/WebSocketResponseMessageEvent.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketResponseMessageEvent.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + namespace Neo.Plugins { public enum WebSocketResponseMessageEvent : byte diff --git a/src/WebSocketServer/WebSocketServerPlugin.cs b/src/WebSocketServer/WebSocketServerPlugin.cs index a9a18db9d..c240d0581 100644 --- a/src/WebSocketServer/WebSocketServerPlugin.cs +++ b/src/WebSocketServer/WebSocketServerPlugin.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketServerPlugin.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; diff --git a/src/WebSocketServer/WebSocketServerSettings.cs b/src/WebSocketServer/WebSocketServerSettings.cs index f97dc30e4..71d7c226c 100644 --- a/src/WebSocketServer/WebSocketServerSettings.cs +++ b/src/WebSocketServer/WebSocketServerSettings.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketServerSettings.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Microsoft.Extensions.Configuration; using System; using System.Net; diff --git a/src/WebSocketServer/WebSocketUtility.cs b/src/WebSocketServer/WebSocketUtility.cs index ada2899ce..ac34d5f14 100644 --- a/src/WebSocketServer/WebSocketUtility.cs +++ b/src/WebSocketServer/WebSocketUtility.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketUtility.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Wallets; using System.Numerics; diff --git a/src/WebSocketServer/WebSocketUtilityLogResult.cs b/src/WebSocketServer/WebSocketUtilityLogResult.cs index c84a1c6d7..a11cca5de 100644 --- a/src/WebSocketServer/WebSocketUtilityLogResult.cs +++ b/src/WebSocketServer/WebSocketUtilityLogResult.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WebSocketUtilityLogResult.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Neo.Json; namespace Neo.Plugins diff --git a/src/WebSocketServer/v1/BlockchainMethods.cs b/src/WebSocketServer/v1/BlockchainMethods.cs index f2c766c79..3ddab6262 100644 --- a/src/WebSocketServer/v1/BlockchainMethods.cs +++ b/src/WebSocketServer/v1/BlockchainMethods.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// BlockchainMethods.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Akka.Actor; using Neo.IO; using Neo.Json; diff --git a/src/WebSocketServer/v1/WalletMethods.cs b/src/WebSocketServer/v1/WalletMethods.cs index 944ba76aa..af156def2 100644 --- a/src/WebSocketServer/v1/WalletMethods.cs +++ b/src/WebSocketServer/v1/WalletMethods.cs @@ -1,3 +1,14 @@ +// Copyright (C) 2015-2024 The Neo Project. +// +// WalletMethods.cs file belongs to the neo project and is free +// software distributed under the MIT software license, see the +// accompanying file LICENSE in the main directory of the +// repository or http://www.opensource.org/licenses/mit-license.php +// for more details. +// +// Redistribution and use in source and binary forms with or without +// modifications are permitted. + using Akka.Actor; using Neo.Cryptography.ECC; using Neo.Json;