Skip to content

Commit

Permalink
[dotnet] Formatted source style globally
Browse files Browse the repository at this point in the history
Sorry guys if you see my face here
  • Loading branch information
nvborisenko committed Mar 17, 2024
1 parent 2e41589 commit 5a7272e
Show file tree
Hide file tree
Showing 193 changed files with 285 additions and 497 deletions.
1 change: 0 additions & 1 deletion dotnet/src/support/Extensions/WebDriverExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

using System;
using System.Reflection;
using OpenQA.Selenium.Remote;

namespace OpenQA.Selenium.Support.Extensions
{
Expand Down
1 change: 0 additions & 1 deletion dotnet/src/support/UI/SelectElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using OpenQA.Selenium.Internal;

namespace OpenQA.Selenium.Support.UI
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/By.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
// limitations under the License.
// </copyright>

using OpenQA.Selenium.Internal;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Text.RegularExpressions;
using OpenQA.Selenium.Internal;

namespace OpenQA.Selenium
{
Expand Down
5 changes: 2 additions & 3 deletions dotnet/src/webdriver/Chrome/ChromeDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
// limitations under the License.
// </copyright>

using OpenQA.Selenium.Chromium;
using OpenQA.Selenium.Remote;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Chromium;
using OpenQA.Selenium.Internal.Logging;

namespace OpenQA.Selenium.Chrome
{
Expand Down
3 changes: 1 addition & 2 deletions dotnet/src/webdriver/Chrome/ChromeDriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
// limitations under the License.
// </copyright>

using System;
using System.IO;
using OpenQA.Selenium.Chromium;
using OpenQA.Selenium.Internal;
using System.IO;

namespace OpenQA.Selenium.Chrome
{
Expand Down
5 changes: 1 addition & 4 deletions dotnet/src/webdriver/Chrome/ChromeOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
// limitations under the License.
// </copyright>

using OpenQA.Selenium.Chromium;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.IO;
using OpenQA.Selenium.Chromium;

namespace OpenQA.Selenium.Chrome
{
Expand Down
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/Chromium/ChromiumDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
// limitations under the License.
// </copyright>

using OpenQA.Selenium.DevTools;
using OpenQA.Selenium.Remote;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Threading.Tasks;
using OpenQA.Selenium.DevTools;
using OpenQA.Selenium.Remote;

namespace OpenQA.Selenium.Chromium
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Chromium/ChromiumNetworkConditions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
// limitations under the License.
// </copyright>

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace OpenQA.Selenium.Chromium
{
Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/webdriver/Chromium/ChromiumOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.IO;
using OpenQA.Selenium.Remote;

namespace OpenQA.Selenium.Chromium
{
Expand Down
3 changes: 1 addition & 2 deletions dotnet/src/webdriver/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
// limitations under the License.
// </copyright>

using System.Collections.Generic;
using System.Collections.ObjectModel;
using Newtonsoft.Json;
using OpenQA.Selenium.Internal;
using System.Collections.Generic;

namespace OpenQA.Selenium
{
Expand Down
4 changes: 0 additions & 4 deletions dotnet/src/webdriver/CommandInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
// </copyright>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenQA.Selenium
{
Expand Down
6 changes: 3 additions & 3 deletions dotnet/src/webdriver/Cookie.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
// limitations under the License.
// </copyright>

using Newtonsoft.Json;
using OpenQA.Selenium.Internal;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using OpenQA.Selenium.Internal;
using System.Linq;

namespace OpenQA.Selenium
{
Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/webdriver/DevTools/AuthRequiredEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
// </copyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/webdriver/DevTools/BindingCalledEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
// </copyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/webdriver/DevTools/ConsoleApiCalledEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
// </copyright>

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/DevTools/DevToolsCommandData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
// limitations under the License.
// </copyright>

using System.Threading;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Threading;

namespace OpenQA.Selenium.DevTools
{
Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/webdriver/DevTools/DevToolsDomains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
Expand Down
8 changes: 0 additions & 8 deletions dotnet/src/webdriver/DevTools/DevToolsExtensionMethods.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium.Internal;

namespace OpenQA.Selenium.DevTools
{
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/DevTools/DevToolsSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
// limitations under the License.
// </copyright>

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Concurrent;
using System.Globalization;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace OpenQA.Selenium.DevTools
{
Expand Down
4 changes: 0 additions & 4 deletions dotnet/src/webdriver/DevTools/DevToolsSessionDomains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// limitations under the License.
// </copyright>

using System;
using Newtonsoft.Json.Linq;
using System;

namespace OpenQA.Selenium.DevTools
{
Expand Down
4 changes: 1 addition & 3 deletions dotnet/src/webdriver/DevTools/DevToolsVersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@
// limitations under the License.
// </copyright>

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;

namespace OpenQA.Selenium.DevTools
{
Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/webdriver/DevTools/EntryAddedEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
// </copyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/webdriver/DevTools/ExceptionThrownEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
// </copyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
Expand Down
4 changes: 1 addition & 3 deletions dotnet/src/webdriver/DevTools/IDevToolsSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;

namespace OpenQA.Selenium.DevTools
{
Expand Down
4 changes: 0 additions & 4 deletions dotnet/src/webdriver/DevTools/LogEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
/// <summary>
Expand Down
2 changes: 0 additions & 2 deletions dotnet/src/webdriver/DevTools/RequestPausedEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
// </copyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
Expand Down
4 changes: 0 additions & 4 deletions dotnet/src/webdriver/DevTools/TargetInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
// limitations under the License.
// </copyright>

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools
{
/// <summary>
Expand Down
4 changes: 0 additions & 4 deletions dotnet/src/webdriver/DevTools/v120/V120Domains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools.V120
{
/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/DevTools/v120/V120JavaScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using OpenQA.Selenium.DevTools.V120.Page;
using OpenQA.Selenium.DevTools.V120.Runtime;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using OpenQA.Selenium.DevTools.V120.Page;
using OpenQA.Selenium.DevTools.V120.Runtime;

namespace OpenQA.Selenium.DevTools.V120
{
Expand Down
6 changes: 1 addition & 5 deletions dotnet/src/webdriver/DevTools/v120/V120Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using OpenQA.Selenium.DevTools.V120.Log;
using System.Threading.Tasks;

namespace OpenQA.Selenium.DevTools.V120
{
Expand Down
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/DevTools/v120/V120Network.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
// limitations under the License.
// </copyright>

using OpenQA.Selenium.DevTools.V120.Fetch;
using OpenQA.Selenium.DevTools.V120.Network;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium.DevTools.V120.Fetch;
using OpenQA.Selenium.DevTools.V120.Network;

namespace OpenQA.Selenium.DevTools.V120
{
Expand Down
3 changes: 1 addition & 2 deletions dotnet/src/webdriver/DevTools/v120/V120Target.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
// limitations under the License.
// </copyright>

using OpenQA.Selenium.DevTools.V120.Target;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium.DevTools.V120.Target;

namespace OpenQA.Selenium.DevTools.V120
{
Expand Down
4 changes: 0 additions & 4 deletions dotnet/src/webdriver/DevTools/v121/V121Domains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using System;
using System.Collections.Generic;
using System.Text;

namespace OpenQA.Selenium.DevTools.V121
{
/// <summary>
Expand Down
Loading

0 comments on commit 5a7272e

Please sign in to comment.