Skip to content

Commit b52ccc2

Browse files
Move using statements
Move using statements to outside the namespace so that global usings could be used.
1 parent ed291c3 commit b52ccc2

18 files changed

+67
-67
lines changed

src/MartinCostello.BrowserStack.Automate/AutomatePlanStatus.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using Newtonsoft.Json;
5+
46
namespace MartinCostello.BrowserStack.Automate
57
{
6-
using Newtonsoft.Json;
7-
88
/// <summary>
99
/// A class representing the current status of a <c>BrowserStack</c> Automate plan.
1010
/// </summary>

src/MartinCostello.BrowserStack.Automate/Browser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using Newtonsoft.Json;
5+
46
namespace MartinCostello.BrowserStack.Automate
57
{
6-
using Newtonsoft.Json;
7-
88
/// <summary>
99
/// A class representing a browser.
1010
/// </summary>

src/MartinCostello.BrowserStack.Automate/BrowserStackAutomateClient.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using System;
5+
using System.Collections.Generic;
6+
using System.Globalization;
7+
using System.Linq;
8+
using System.Net;
9+
using System.Net.Http;
10+
using System.Net.Http.Headers;
11+
using System.Text;
12+
using System.Threading;
13+
using System.Threading.Tasks;
14+
using Newtonsoft.Json;
15+
416
namespace MartinCostello.BrowserStack.Automate
517
{
6-
using System;
7-
using System.Collections.Generic;
8-
using System.Globalization;
9-
using System.Linq;
10-
using System.Net;
11-
using System.Net.Http;
12-
using System.Net.Http.Headers;
13-
using System.Text;
14-
using System.Threading;
15-
using System.Threading.Tasks;
16-
using Newtonsoft.Json;
17-
1818
/// <summary>
1919
/// A class representing a client for the <c>BrowserStack</c> Automate REST API.
2020
/// </summary>

src/MartinCostello.BrowserStack.Automate/BrowserStackAutomateClientExtensions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using System;
5+
using System.ComponentModel;
6+
using System.Threading;
7+
using System.Threading.Tasks;
8+
49
namespace MartinCostello.BrowserStack.Automate
510
{
6-
using System;
7-
using System.ComponentModel;
8-
using System.Threading;
9-
using System.Threading.Tasks;
10-
1111
/// <summary>
1212
/// A class containing extension methods for the <see cref="BrowserStackAutomateClient"/> class. This class cannot be inherited.
1313
/// </summary>

src/MartinCostello.BrowserStack.Automate/BrowserStackAutomateError.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using Newtonsoft.Json;
5+
46
namespace MartinCostello.BrowserStack.Automate
57
{
6-
using Newtonsoft.Json;
7-
88
/// <summary>
99
/// A class representing a BrowserStack Automate error.
1010
/// </summary>

src/MartinCostello.BrowserStack.Automate/BrowserStackAutomateException.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4-
namespace MartinCostello.BrowserStack.Automate
5-
{
6-
using System;
4+
using System;
75
#if NET451
8-
using System.Runtime.Serialization;
6+
using System.Runtime.Serialization;
97
#endif
108

9+
namespace MartinCostello.BrowserStack.Automate
10+
{
1111
/// <summary>
1212
/// Represents an error from the BrowserStack Automate API.
1313
/// </summary>

src/MartinCostello.BrowserStack.Automate/Build.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using Newtonsoft.Json;
5+
46
namespace MartinCostello.BrowserStack.Automate
57
{
6-
using Newtonsoft.Json;
7-
88
/// <summary>
99
/// A class representing a build.
1010
/// </summary>

src/MartinCostello.BrowserStack.Automate/BuildDetail.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using System;
5+
using System.Collections.Generic;
6+
using Newtonsoft.Json;
7+
48
namespace MartinCostello.BrowserStack.Automate
59
{
6-
using System;
7-
using System.Collections.Generic;
8-
using Newtonsoft.Json;
9-
1010
/// <summary>
1111
/// A class representing detail about a build.
1212
/// </summary>

src/MartinCostello.BrowserStack.Automate/Project.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using System;
5+
using Newtonsoft.Json;
6+
47
namespace MartinCostello.BrowserStack.Automate
58
{
6-
using System;
7-
using Newtonsoft.Json;
8-
99
/// <summary>
1010
/// A class representing a project.
1111
/// </summary>

src/MartinCostello.BrowserStack.Automate/ProjectDetail.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Copyright (c) Martin Costello, 2015. All rights reserved.
22
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
33

4+
using System.Collections.Generic;
5+
using Newtonsoft.Json;
6+
47
namespace MartinCostello.BrowserStack.Automate
58
{
6-
using System.Collections.Generic;
7-
using Newtonsoft.Json;
8-
99
/// <summary>
1010
/// A class representing detailed information about a project.
1111
/// </summary>

0 commit comments

Comments
 (0)