Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
This commit is contained in:
Родитель
a514aabded
Коммит
15bda75631
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.23107.0
|
||||
|
@ -7,11 +7,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D26F6F80-63E
|
|||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{88B347C1-CCEC-4827-9564-FFF07C9BF7C7}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Framework.DependencyInjection", "src\Microsoft.Framework.DependencyInjection\Microsoft.Framework.DependencyInjection.xproj", "{07ABDD98-9974-48CB-8265-53D1A8EC9E34}"
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.DependencyInjection", "src\Microsoft.Extensions.DependencyInjection\Microsoft.Extensions.DependencyInjection.xproj", "{07ABDD98-9974-48CB-8265-53D1A8EC9E34}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Framework.DependencyInjection.Tests", "test\Microsoft.Framework.DependencyInjection.Tests\Microsoft.Framework.DependencyInjection.Tests.xproj", "{20201277-5461-49EF-811B-63ED3CD274EF}"
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.DependencyInjection.Tests", "test\Microsoft.Extensions.DependencyInjection.Tests\Microsoft.Extensions.DependencyInjection.Tests.xproj", "{20201277-5461-49EF-811B-63ED3CD274EF}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Framework.DependencyInjection.Abstractions", "src\Microsoft.Framework.DependencyInjection.Abstractions\Microsoft.Framework.DependencyInjection.Abstractions.xproj", "{4E959D3B-2E0D-4296-B22C-D428DED294F0}"
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.DependencyInjection.Abstractions", "src\Microsoft.Extensions.DependencyInjection.Abstractions\Microsoft.Extensions.DependencyInjection.Abstractions.xproj", "{4E959D3B-2E0D-4296-B22C-D428DED294F0}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"StrictSemanticVersionValidationRule"
|
||||
],
|
||||
"packages": {
|
||||
"Microsoft.Framework.DependencyInjection": { },
|
||||
"Microsoft.Framework.DependencyInjection.Abstractions": { }
|
||||
"Microsoft.Extensions.DependencyInjection": { },
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": { }
|
||||
}
|
||||
},
|
||||
"Default": { // Rules to run for packages not listed in any other set.
|
||||
|
|
|
@ -6,9 +6,9 @@ using System.Linq;
|
|||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using Microsoft.Framework.DependencyInjection.Abstractions;
|
||||
using Microsoft.Extensions.DependencyInjection.Abstractions;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper code for the various activator services.
|
|
@ -1,13 +1,13 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.Framework.DependencyInjection.Abstractions;
|
||||
using Microsoft.Framework.Internal;
|
||||
using Microsoft.Extensions.DependencyInjection.Abstractions;
|
||||
using Microsoft.Extensions.Internal;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Extensions
|
||||
namespace Microsoft.Extensions.DependencyInjection.Extensions
|
||||
{
|
||||
public static class ServiceCollectionExtensions
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies the contract for a collection of service descriptors.
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="System.IDisposable.Dispose"/> method ends the scope lifetime. Once Dispose
|
||||
/// is called, any scoped services that have been resolved from
|
||||
/// <see cref="Microsoft.Framework.DependencyInjection.IServiceScope.ServiceProvider"/> will be
|
||||
/// <see cref="Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider"/> will be
|
||||
/// disposed.
|
||||
/// </summary>
|
||||
public interface IServiceScope : IDisposable
|
|
@ -1,19 +1,19 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public interface IServiceScopeFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// Create an <see cref="Microsoft.Framework.DependencyInjection.IServiceScope"/> which
|
||||
/// Create an <see cref="Microsoft.Extensions.DependencyInjection.IServiceScope"/> which
|
||||
/// contains an <see cref="System.IServiceProvider"/> used to resolve dependencies from a
|
||||
/// newly created scope.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// An <see cref="Microsoft.Framework.DependencyInjection.IServiceScope"/> controlling the
|
||||
/// An <see cref="Microsoft.Extensions.DependencyInjection.IServiceScope"/> controlling the
|
||||
/// lifetime of the scope. Once this is disposed, any scoped services that have been resolved
|
||||
/// from the <see cref="Microsoft.Framework.DependencyInjection.IServiceScope.ServiceProvider"/>
|
||||
/// from the <see cref="Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider"/>
|
||||
/// will also be disposed.
|
||||
/// </returns>
|
||||
IServiceScope CreateScope();
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
/// <summary>
|
||||
/// The result of <see cref="ActivatorUtilities.CreateFactory(Type, Type[])"/>.
|
|
@ -5,6 +5,6 @@ using System.Reflection;
|
|||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo("Microsoft.Framework.DependencyInjection.Tests")]
|
||||
[assembly: InternalsVisibleTo("Microsoft.Extensions.DependencyInjection.Tests")]
|
||||
[assembly: AssemblyMetadata("Serviceable", "True")]
|
||||
[assembly: NeutralResourcesLanguage("en-us")]
|
|
@ -1,5 +1,5 @@
|
|||
// <auto-generated />
|
||||
namespace Microsoft.Framework.DependencyInjection.Abstractions
|
||||
namespace Microsoft.Extensions.DependencyInjection.Abstractions
|
||||
{
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
|
@ -8,7 +8,7 @@ namespace Microsoft.Framework.DependencyInjection.Abstractions
|
|||
internal static class Resources
|
||||
{
|
||||
private static readonly ResourceManager _resourceManager
|
||||
= new ResourceManager("Microsoft.Framework.DependencyInjection.Abstractions.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
||||
= new ResourceManager("Microsoft.Extensions.DependencyInjection.Abstractions.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
||||
|
||||
/// <summary>
|
||||
/// Multiple constructors accepting all given argument types have been found in type '{0}'. There should only be one applicable constructor.
|
|
@ -2,9 +2,9 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using Microsoft.Framework.Internal;
|
||||
using Microsoft.Extensions.Internal;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public static class ServiceCollectionExtensions
|
||||
{
|
|
@ -4,10 +4,10 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using Microsoft.Framework.DependencyInjection.Abstractions;
|
||||
using Microsoft.Framework.Internal;
|
||||
using Microsoft.Extensions.DependencyInjection.Abstractions;
|
||||
using Microsoft.Extensions.Internal;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
[DebuggerDisplay("Lifetime = {Lifetime}, ServiceType = {ServiceType}, ImplementationType = {ImplementationType}")]
|
||||
public class ServiceDescriptor
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public enum ServiceLifetime
|
||||
{
|
|
@ -3,10 +3,10 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.Framework.DependencyInjection.Abstractions;
|
||||
using Microsoft.Framework.Internal;
|
||||
using Microsoft.Extensions.DependencyInjection.Abstractions;
|
||||
using Microsoft.Extensions.Internal;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public static class ServiceProviderExtensions
|
||||
{
|
|
@ -9,7 +9,7 @@
|
|||
"warningsAsErrors": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.Framework.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" }
|
||||
"Microsoft.Extensions.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" }
|
||||
},
|
||||
"frameworks": {
|
||||
"net45": {
|
|
@ -5,7 +5,7 @@ using System.Reflection;
|
|||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo("Microsoft.Framework.DependencyInjection.Tests")]
|
||||
[assembly: InternalsVisibleTo("Microsoft.Extensions.DependencyInjection.Tests")]
|
||||
[assembly: AssemblyMetadata("Serviceable", "True")]
|
||||
[assembly: NeutralResourcesLanguage("en-us")]
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
// <auto-generated />
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
|
@ -8,7 +8,7 @@ namespace Microsoft.Framework.DependencyInjection
|
|||
internal static class Resources
|
||||
{
|
||||
private static readonly ResourceManager _resourceManager
|
||||
= new ResourceManager("Microsoft.Framework.DependencyInjection.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
||||
= new ResourceManager("Microsoft.Extensions.DependencyInjection.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
||||
|
||||
/// <summary>
|
||||
/// Unable to activate type '{0}'. The following constructors are ambigious:
|
|
@ -4,7 +4,7 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
/// <summary>
|
||||
/// Default implementation of <see cref="IServiceCollection"/>.
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public static class ServiceCollectionExtensions
|
||||
{
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ClosedIEnumerableService : IService
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ConstantCallSite : IServiceCallSite
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
@ -7,7 +7,7 @@ using System.Linq.Expressions;
|
|||
using System.Reflection;
|
||||
using System.Runtime.ExceptionServices;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ConstructorCallSite : IServiceCallSite
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Linq.Expressions;
|
||||
using System.Runtime.ExceptionServices;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class CreateInstanceCallSite : IServiceCallSite
|
||||
{
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class FactoryService : IService, IServiceCallSite
|
||||
{
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class GenericService : IGenericService
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal interface IGenericService
|
||||
{
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal interface IService
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for IServiceCallSite
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for InstanceService
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class OpenIEnumerableService : IGenericService
|
||||
{
|
|
@ -7,7 +7,7 @@ using System.Diagnostics;
|
|||
using System.Linq;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class Service : IService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ServiceEntry
|
||||
{
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ServiceProviderService : IService, IServiceCallSite
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ServiceScope : IServiceScope
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ServiceScopeFactory : IServiceScopeFactory
|
||||
{
|
|
@ -7,7 +7,7 @@ using System.Linq;
|
|||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ServiceScopeService : IService, IServiceCallSite
|
||||
{
|
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
|||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
internal class ServiceTable
|
||||
{
|
|
@ -8,9 +8,9 @@ using System.Linq.Expressions;
|
|||
using System.Reflection;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Framework.DependencyInjection.ServiceLookup;
|
||||
using Microsoft.Extensions.DependencyInjection.ServiceLookup;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
/// <summary>
|
||||
/// The default IServiceProvider.
|
|
@ -9,8 +9,8 @@
|
|||
"warningsAsErrors": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Framework.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" }
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-*",
|
||||
"Microsoft.Extensions.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" }
|
||||
},
|
||||
"frameworks": {
|
||||
"net45": { },
|
|
@ -4,10 +4,10 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Abstractions.Tests
|
||||
namespace Microsoft.Extensions.DependencyInjection.Abstractions.Tests
|
||||
{
|
||||
public class ActivatorUtilitiesTests
|
||||
{
|
|
@ -4,10 +4,10 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests
|
||||
{
|
||||
public abstract class AllContainerTestsBase
|
||||
{
|
|
@ -5,11 +5,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq.Expressions;
|
||||
using Microsoft.Framework.DependencyInjection.ServiceLookup;
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.ServiceLookup;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests
|
||||
{
|
||||
public class CallSiteTests
|
||||
{
|
|
@ -2,10 +2,10 @@
|
|||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests
|
||||
{
|
||||
public class CircularDependencyTests
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public abstract class AbstractClass
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class AnotherClass
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class AnotherClassAcceptingData
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class CircularDependencyGeneric<TDependency>
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class DirectCircularDependencyA
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class DirectCircularDependencyB
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface ISelfCircularDependencyWithInterface
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class IndirectCircularDependencyA
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class IndirectCircularDependencyB
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class IndirectCircularDependencyC
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
// A
|
||||
// / | \
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class NoCircularDependencySameTypeMultipleTimesB
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class NoCircularDependencySameTypeMultipleTimesC
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class SelfCircularDependency
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class SelfCircularDependencyGeneric<TDependency>
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class SelfCircularDependencyWithInterface : ISelfCircularDependencyWithInterface
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class ClassWithAmbiguousCtors
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public class ClassWithInternalConstructor
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class ClassWithNestedReferencesToProvider : IDisposable
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class ClassWithOptionalArgsCtor
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class ClassWithPrivateCtor
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public class ClassWithProtectedConstructor
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class ClassWithStaticCtor
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class ClassWithThrowingCtor
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class ClassWithThrowingEmptyCtor
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Threading;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class CreationCountFakeService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class DependOnNonexistentService : IDependOnNonexistentService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public class DependsOnServiceWithoutImplementation
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class FakeOpenGenericService<T> : IFakeOpenGenericService<T>
|
||||
{
|
|
@ -4,7 +4,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class FakeOuterService : IFakeOuterService
|
||||
{
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class FakeService : IFakeEveryService, IDisposable
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface IDependOnNonexistentService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface IFactoryService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
interface IFakeEveryService :
|
||||
IFakeService,
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface IFakeMultipleService : IFakeService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface IFakeOpenGenericService<T>
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface IFakeOuterService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface IFakeScopedService : IFakeService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface IFakeService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
interface IFakeServiceInstance : IFakeService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
interface IFakeSingletonService : IFakeService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public interface INonexistentService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public interface IServiceWithoutImplementation
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class ScopedFactoryService
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests
|
||||
{
|
||||
public class ServiceAcceptingFactoryService
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public static class TestServices
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
|
||||
{
|
||||
public class TransientFactoryService : IFactoryService
|
||||
{
|
|
@ -5,10 +5,10 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.Tests
|
||||
namespace Microsoft.Extensions.DependencyInjection.Tests
|
||||
{
|
||||
public abstract class ScopingContainerTestBase : AllContainerTestsBase
|
||||
{
|
|
@ -3,13 +3,13 @@
|
|||
|
||||
using System;
|
||||
using Microsoft.AspNet.Testing;
|
||||
using Microsoft.Framework.DependencyInjection.Extensions;
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
using Xunit;
|
||||
|
||||
using AbstractionResources = Microsoft.Framework.DependencyInjection.Abstractions.Resources;
|
||||
using AbstractionResources = Microsoft.Extensions.DependencyInjection.Abstractions.Resources;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public class ServiceCollectionExtensionTest
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using Microsoft.Framework.DependencyInjection.Extensions;
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public class ServiceCollectionTests
|
||||
{
|
|
@ -1,15 +1,15 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Microsoft.Framework.DependencyInjection.Extensions;
|
||||
using Microsoft.Framework.DependencyInjection.Tests.Fakes;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Framework.DependencyInjection.ServiceLookup
|
||||
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
|
||||
{
|
||||
public class ServiceTest
|
||||
{
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче