Skip to content

Commit a570da1

Browse files
authored
Sort namespaces as per stylecop rules/.net convention and remove unused namespaces from source files. (#1963)
* Sort namespaces as stylecop rules/.net convention and remove unused namespaces from source files.
1 parent 80f5720 commit a570da1

File tree

682 files changed

+1354
-1898
lines changed

Some content is hidden

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

682 files changed

+1354
-1898
lines changed

.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
root = true
2+
3+
[*.cs]
4+
# Sort using directives with System.* appearing first
5+
dotnet_sort_system_directives_first = true

docs/samples/Microsoft.ML.Samples/Dynamic/Calibrator.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
using Microsoft.ML.Calibrator;
2-
using Microsoft.ML;
3-
using Microsoft.ML.Data;
4-
using System;
1+
using System;
52
using System.Linq;
3+
using Microsoft.ML.Calibrator;
4+
using Microsoft.ML.Data;
65

76
namespace Microsoft.ML.Samples.Dynamic
87
{

docs/samples/Microsoft.ML.Samples/Dynamic/ConcatTransform.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
using Microsoft.ML.Data;
2-
using Microsoft.ML.Transforms;
3-
using System;
1+
using System;
42
using System.Collections.Generic;
53
using System.Linq;
4+
using Microsoft.ML.Data;
5+
using Microsoft.ML.Transforms;
66

77
namespace Microsoft.ML.Samples.Dynamic
88
{

docs/samples/Microsoft.ML.Samples/Dynamic/FastTreeRegression.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Microsoft.ML.Data;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
3+
using Microsoft.ML.Data;
44

55
namespace Microsoft.ML.Samples.Dynamic
66
{

docs/samples/Microsoft.ML.Samples/Dynamic/FeatureContributionCalculationTransform.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Microsoft.ML.Data;
2-
using System;
1+
using System;
2+
using Microsoft.ML.Data;
33

44
namespace Microsoft.ML.Samples.Dynamic
55
{

docs/samples/Microsoft.ML.Samples/Dynamic/FeatureSelectionTransform.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Microsoft.ML.Data;
2-
using System;
1+
using System;
32
using System.Collections.Generic;
3+
using Microsoft.ML.Data;
44

55
namespace Microsoft.ML.Samples.Dynamic
66
{

docs/samples/Microsoft.ML.Samples/Dynamic/FieldAwareFactorizationMachine.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Microsoft.ML.Data;
2-
using System;
1+
using System;
2+
using Microsoft.ML.Data;
33
namespace Microsoft.ML.Samples.Dynamic
44
{
55
public class FFM_BinaryClassificationExample

docs/samples/Microsoft.ML.Samples/Dynamic/GeneralizedAdditiveModels.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Microsoft.ML.Data;
2-
using System;
1+
using System;
32
using System.Linq;
3+
using Microsoft.ML.Data;
44

55
namespace Microsoft.ML.Samples.Dynamic
66
{

docs/samples/Microsoft.ML.Samples/Dynamic/IidChangePointDetectorTransform.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
// See the LICENSE file in the project root for more information.
44

55
using System;
6-
using System.Linq;
76
using System.Collections.Generic;
8-
using Microsoft.ML.Data;
9-
using Microsoft.ML.TimeSeriesProcessing;
7+
using System.IO;
8+
using System.Linq;
109
using Microsoft.ML.Core.Data;
10+
using Microsoft.ML.Data;
1111
using Microsoft.ML.TimeSeries;
12-
using System.IO;
12+
using Microsoft.ML.TimeSeriesProcessing;
1313

1414
namespace Microsoft.ML.Samples.Dynamic
1515
{

docs/samples/Microsoft.ML.Samples/Dynamic/IidSpikeDetectorTransform.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
using System;
2+
using System.Collections.Generic;
23
using System.IO;
34
using System.Linq;
4-
using System.Collections.Generic;
5-
using Microsoft.ML.Data;
6-
using Microsoft.ML.TimeSeriesProcessing;
75
using Microsoft.ML.Core.Data;
6+
using Microsoft.ML.Data;
87
using Microsoft.ML.TimeSeries;
8+
using Microsoft.ML.TimeSeriesProcessing;
99

1010
namespace Microsoft.ML.Samples.Dynamic
1111
{

0 commit comments

Comments
 (0)