Skip to content

Commit b294c94

Browse files
Fix code hygenie
1 parent 93edb8a commit b294c94

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

src/AspNetCore/Acceptance/Asp.Versioning.Mvc.Acceptance.Tests/HttpServerFixture.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22

3+
4+
// Ignore Spelling: app
5+
// Ignore Spelling: Mvc
36
namespace Asp.Versioning;
47

58
using Microsoft.AspNetCore.Builder;
Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
// Copyright (c) .NET Foundation and contributors. All rights reserved.
22

3-
namespace Asp.Versioning
4-
{
5-
using Microsoft.AspNetCore.Mvc.ApplicationParts;
6-
using System;
7-
using System.Collections.Generic;
8-
using System.Linq;
9-
using System.Reflection;
3+
namespace Asp.Versioning;
4+
5+
using Microsoft.AspNetCore.Mvc.ApplicationParts;
6+
using System;
7+
using System.Collections.Generic;
8+
using System.Linq;
9+
using System.Reflection;
1010

11-
internal sealed class TestApplicationPart : ApplicationPart, IApplicationPartTypeProvider
12-
{
13-
public TestApplicationPart() => Types = Enumerable.Empty<TypeInfo>();
11+
internal sealed class TestApplicationPart : ApplicationPart, IApplicationPartTypeProvider
12+
{
13+
public TestApplicationPart() => Types = Enumerable.Empty<TypeInfo>();
1414

15-
public TestApplicationPart( params TypeInfo[] types ) => Types = types;
15+
public TestApplicationPart( params TypeInfo[] types ) => Types = types;
1616

17-
public TestApplicationPart( IEnumerable<TypeInfo> types ) => Types = types;
17+
public TestApplicationPart( IEnumerable<TypeInfo> types ) => Types = types;
1818

19-
public TestApplicationPart( IEnumerable<Type> types ) : this( types.Select( t => t.GetTypeInfo() ) ) { }
19+
public TestApplicationPart( IEnumerable<Type> types ) : this( types.Select( t => t.GetTypeInfo() ) ) { }
2020

21-
public TestApplicationPart( params Type[] types ) : this( types.Select( t => t.GetTypeInfo() ) ) { }
21+
public TestApplicationPart( params Type[] types ) : this( types.Select( t => t.GetTypeInfo() ) ) { }
2222

23-
public override string Name => "Test Part";
23+
public override string Name => "Test Part";
2424

25-
public IEnumerable<TypeInfo> Types { get; }
26-
}
25+
public IEnumerable<TypeInfo> Types { get; }
2726
}

0 commit comments

Comments
 (0)