Skip to content

Commit 08ddf1d

Browse files
committed
stylecop
1 parent 8526d89 commit 08ddf1d

26 files changed

+303
-69
lines changed

src/Ninject.MockingKernel.FakeItEasy/FakeItEasyMockProvider.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
// -------------------------------------------------------------------------------------------------
22
// <copyright file="FakeItEasyMockProvider.cs" company="Ninject Project Contributors">
3-
// Copyright (c) 2015-2017 Ninject Project Contributors
3+
// Copyright (c) 2015-2017 Ninject Project Contributors. All rights reserved.
4+
//
45
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
6+
// You may not use this file except in compliance with one of the Licenses.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
// or
11+
// http://www.microsoft.com/opensource/licenses.mspx
12+
//
13+
// Unless required by applicable law or agreed to in writing, software
14+
// distributed under the License is distributed on an "AS IS" BASIS,
15+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
// See the License for the specific language governing permissions and
17+
// limitations under the License.
518
// </copyright>
619
// -------------------------------------------------------------------------------------------------
720

@@ -11,6 +24,7 @@ namespace Ninject.MockingKernel.FakeItEasy
1124
using System.Collections.Generic;
1225
using System.Linq;
1326
using System.Reflection;
27+
1428
using global::FakeItEasy;
1529
using global::FakeItEasy.Creation;
1630
using Ninject.Activation;

src/Ninject.MockingKernel.FakeItEasy/FakeItEasyMockingKernel.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
// -------------------------------------------------------------------------------------------------
22
// <copyright file="FakeItEasyMockingKernel.cs" company="Ninject Project Contributors">
3-
// Copyright (c) 2015-2017 Ninject Project Contributors
3+
// Copyright (c) 2015-2017 Ninject Project Contributors. All rights reserved.
4+
//
45
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
6+
// You may not use this file except in compliance with one of the Licenses.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
// or
11+
// http://www.microsoft.com/opensource/licenses.mspx
12+
//
13+
// Unless required by applicable law or agreed to in writing, software
14+
// distributed under the License is distributed on an "AS IS" BASIS,
15+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
// See the License for the specific language governing permissions and
17+
// limitations under the License.
518
// </copyright>
619
// -------------------------------------------------------------------------------------------------
720

src/Ninject.MockingKernel.FakeItEasy/FakeItEasyModule.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
// -------------------------------------------------------------------------------------------------
22
// <copyright file="FakeItEasyModule.cs" company="Ninject Project Contributors">
3-
// Copyright (c) 2015-2017 Ninject Project Contributors
3+
// Copyright (c) 2015-2017 Ninject Project Contributors. All rights reserved.
4+
//
45
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
6+
// You may not use this file except in compliance with one of the Licenses.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
// or
11+
// http://www.microsoft.com/opensource/licenses.mspx
12+
//
13+
// Unless required by applicable law or agreed to in writing, software
14+
// distributed under the License is distributed on an "AS IS" BASIS,
15+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
// See the License for the specific language governing permissions and
17+
// limitations under the License.
518
// </copyright>
619
// -------------------------------------------------------------------------------------------------
720

src/Ninject.MockingKernel.FakeItEasy/Ninject.MockingKernel.FakeItEasy.csproj

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
55
<Version>0.0.0</Version>
6-
<Authors>Scott Xu ([email protected]);Ninject Contributors</Authors>
6+
<Authors>Ninject Project Contributors</Authors>
77
<Company>Ninject Project Contributors</Company>
88
<Product>Automocking for FakeItEasy</Product>
99
<Description>Automock implementation for FakeItEasy using Ninject to create the objects under test.</Description>
10-
<Copyright>2015-2017 Ninject Project Contributors</Copyright>
10+
<Copyright>2015-2017 Ninject Project Contributors.</Copyright>
1111
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1212
<AssemblyOriginatorKeyFile>..\Ninject.snk</AssemblyOriginatorKeyFile>
1313
<SignAssembly>true</SignAssembly>
@@ -42,11 +42,6 @@
4242
</PackageReference>
4343
</ItemGroup>
4444

45-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
46-
<Reference Include="System" />
47-
<Reference Include="Microsoft.CSharp" />
48-
</ItemGroup>
49-
5045
<ItemGroup>
5146
<ProjectReference Include="..\Ninject.MockingKernel\Ninject.MockingKernel.csproj" />
5247
</ItemGroup>

src/Ninject.MockingKernel.FakeItEasy/stylecop.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
"settings": {
44
"documentationRules": {
55
"companyName": "Ninject Project Contributors",
6-
"copyrightText": " Copyright (c) 2015-2017 Ninject Project Contributors\r\n Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).",
6+
"copyrightText": " Copyright (c) 2015-2017 Ninject Project Contributors. All rights reserved.\r\n\r\n Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).\r\n You may not use this file except in compliance with one of the Licenses.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n or\r\n http://www.microsoft.com/opensource/licenses.mspx\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.",
77
"headerDecoration": "-------------------------------------------------------------------------------------------------"
88
},
99
"layoutRules": {
1010
"newlineAtEndOfFile": "omit"
11+
},
12+
"orderingRules": {
13+
"blankLinesBetweenUsingGroups": "require"
1114
}
1215
}
1316
}

src/Ninject.MockingKernel.Moq/DefaultMockRepositoryProvider.cs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
// -------------------------------------------------------------------------------------------------
22
// <copyright file="DefaultMockRepositoryProvider.cs" company="Ninject Project Contributors">
3-
// Copyright (c) 2010 bbv Software Services AG
4-
// Copyright (c) 2011-2017 Ninject Project Contributors
3+
// Copyright (c) 2010 bbv Software Services AG. All rights reserved.
4+
// Copyright (c) 2010-2017 Ninject Project Contributors. All rights reserved.
5+
//
56
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7+
// You may not use this file except in compliance with one of the Licenses.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
// or
12+
// http://www.microsoft.com/opensource/licenses.mspx
13+
//
14+
// Unless required by applicable law or agreed to in writing, software
15+
// distributed under the License is distributed on an "AS IS" BASIS,
16+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
// See the License for the specific language governing permissions and
18+
// limitations under the License.
619
// </copyright>
720
// -------------------------------------------------------------------------------------------------
821

@@ -11,6 +24,7 @@ namespace Ninject.MockingKernel.Moq
1124
{
1225
using System;
1326
using System.Reflection;
27+
1428
using global::Moq;
1529
using Ninject.Components;
1630

src/Ninject.MockingKernel.Moq/IMockRepositoryProvider.cs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
// -------------------------------------------------------------------------------------------------
22
// <copyright file="IMockRepositoryProvider.cs" company="Ninject Project Contributors">
3-
// Copyright (c) 2010 bbv Software Services AG
4-
// Copyright (c) 2011-2017 Ninject Project Contributors
3+
// Copyright (c) 2010 bbv Software Services AG. All rights reserved.
4+
// Copyright (c) 2010-2017 Ninject Project Contributors. All rights reserved.
5+
//
56
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7+
// You may not use this file except in compliance with one of the Licenses.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
// or
12+
// http://www.microsoft.com/opensource/licenses.mspx
13+
//
14+
// Unless required by applicable law or agreed to in writing, software
15+
// distributed under the License is distributed on an "AS IS" BASIS,
16+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
// See the License for the specific language governing permissions and
18+
// limitations under the License.
619
// </copyright>
720
// -------------------------------------------------------------------------------------------------
821

922
#if !SILVERLIGHT_30 && !SILVERLIGHT_20 && !NETCF
1023
namespace Ninject.MockingKernel.Moq
1124
{
1225
using System.Reflection;
26+
1327
using global::Moq;
1428
using Ninject.Components;
1529

src/Ninject.MockingKernel.Moq/MoqMockProvider.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
// -------------------------------------------------------------------------------------------------
22
// <copyright file="MoqMockProvider.cs" company="Ninject Project Contributors">
3-
// Copyright (c) 2010 bbv Software Services AG
4-
// Copyright (c) 2011-2017 Ninject Project Contributors
3+
// Copyright (c) 2010 bbv Software Services AG. All rights reserved.
4+
// Copyright (c) 2010-2017 Ninject Project Contributors. All rights reserved.
5+
//
56
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7+
// You may not use this file except in compliance with one of the Licenses.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
// or
12+
// http://www.microsoft.com/opensource/licenses.mspx
13+
//
14+
// Unless required by applicable law or agreed to in writing, software
15+
// distributed under the License is distributed on an "AS IS" BASIS,
16+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
// See the License for the specific language governing permissions and
18+
// limitations under the License.
619
// </copyright>
720
// -------------------------------------------------------------------------------------------------
821

src/Ninject.MockingKernel.Moq/MoqMockingKernel.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
// -------------------------------------------------------------------------------------------------
22
// <copyright file="MoqMockingKernel.cs" company="Ninject Project Contributors">
3-
// Copyright (c) 2010 bbv Software Services AG
4-
// Copyright (c) 2011-2017 Ninject Project Contributors
3+
// Copyright (c) 2010 bbv Software Services AG. All rights reserved.
4+
// Copyright (c) 2010-2017 Ninject Project Contributors. All rights reserved.
5+
//
56
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7+
// You may not use this file except in compliance with one of the Licenses.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
// or
12+
// http://www.microsoft.com/opensource/licenses.mspx
13+
//
14+
// Unless required by applicable law or agreed to in writing, software
15+
// distributed under the License is distributed on an "AS IS" BASIS,
16+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
// See the License for the specific language governing permissions and
18+
// limitations under the License.
619
// </copyright>
720
// -------------------------------------------------------------------------------------------------
821

src/Ninject.MockingKernel.Moq/MoqModule.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
// -------------------------------------------------------------------------------------------------
22
// <copyright file="MoqModule.cs" company="Ninject Project Contributors">
3-
// Copyright (c) 2010 bbv Software Services AG
4-
// Copyright (c) 2011-2017 Ninject Project Contributors
3+
// Copyright (c) 2010 bbv Software Services AG. All rights reserved.
4+
// Copyright (c) 2010-2017 Ninject Project Contributors. All rights reserved.
5+
//
56
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
7+
// You may not use this file except in compliance with one of the Licenses.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
// or
12+
// http://www.microsoft.com/opensource/licenses.mspx
13+
//
14+
// Unless required by applicable law or agreed to in writing, software
15+
// distributed under the License is distributed on an "AS IS" BASIS,
16+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
// See the License for the specific language governing permissions and
18+
// limitations under the License.
619
// </copyright>
720
// -------------------------------------------------------------------------------------------------
821

0 commit comments

Comments
 (0)