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