зеркало из
1
0
Форкнуть 0

Renaming Microsoft.Framework.* -> Microsoft.Extensions.*

This commit is contained in:
Pranav K 2015-10-03 15:44:33 -07:00
Родитель a514aabded
Коммит 15bda75631
118 изменённых файлов: 182 добавлений и 182 удалений

Просмотреть файл

@ -1,4 +1,4 @@

Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14 # Visual Studio 14
VisualStudioVersion = 14.0.23107.0 VisualStudioVersion = 14.0.23107.0
@ -7,11 +7,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D26F6F80-63E
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{88B347C1-CCEC-4827-9564-FFF07C9BF7C7}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{88B347C1-CCEC-4827-9564-FFF07C9BF7C7}"
EndProject 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 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 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 EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

Просмотреть файл

@ -9,8 +9,8 @@
"StrictSemanticVersionValidationRule" "StrictSemanticVersionValidationRule"
], ],
"packages": { "packages": {
"Microsoft.Framework.DependencyInjection": { }, "Microsoft.Extensions.DependencyInjection": { },
"Microsoft.Framework.DependencyInjection.Abstractions": { } "Microsoft.Extensions.DependencyInjection.Abstractions": { }
} }
}, },
"Default": { // Rules to run for packages not listed in any other set. "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.Linq.Expressions;
using System.Reflection; using System.Reflection;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
using Microsoft.Framework.DependencyInjection.Abstractions; using Microsoft.Extensions.DependencyInjection.Abstractions;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
/// <summary> /// <summary>
/// Helper code for the various activator services. /// 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.Framework.DependencyInjection.Abstractions; using Microsoft.Extensions.DependencyInjection.Abstractions;
using Microsoft.Framework.Internal; using Microsoft.Extensions.Internal;
namespace Microsoft.Framework.DependencyInjection.Extensions namespace Microsoft.Extensions.DependencyInjection.Extensions
{ {
public static class ServiceCollectionExtensions public static class ServiceCollectionExtensions
{ {

Просмотреть файл

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
/// <summary> /// <summary>
/// Specifies the contract for a collection of service descriptors. /// Specifies the contract for a collection of service descriptors.

Просмотреть файл

@ -3,12 +3,12 @@
using System; using System;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
/// <summary> /// <summary>
/// The <see cref="System.IDisposable.Dispose"/> method ends the scope lifetime. Once Dispose /// The <see cref="System.IDisposable.Dispose"/> method ends the scope lifetime. Once Dispose
/// is called, any scoped services that have been resolved from /// 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. /// disposed.
/// </summary> /// </summary>
public interface IServiceScope : IDisposable public interface IServiceScope : IDisposable

Просмотреть файл

@ -1,19 +1,19 @@
// 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. // 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 public interface IServiceScopeFactory
{ {
/// <summary> /// <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 /// contains an <see cref="System.IServiceProvider"/> used to resolve dependencies from a
/// newly created scope. /// newly created scope.
/// </summary> /// </summary>
/// <returns> /// <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 /// 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. /// will also be disposed.
/// </returns> /// </returns>
IServiceScope CreateScope(); IServiceScope CreateScope();

Просмотреть файл

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
/// <summary> /// <summary>
/// The result of <see cref="ActivatorUtilities.CreateFactory(Type, Type[])"/>. /// The result of <see cref="ActivatorUtilities.CreateFactory(Type, Type[])"/>.

Просмотреть файл

@ -5,6 +5,6 @@ using System.Reflection;
using System.Resources; using System.Resources;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.Framework.DependencyInjection.Tests")] [assembly: InternalsVisibleTo("Microsoft.Extensions.DependencyInjection.Tests")]
[assembly: AssemblyMetadata("Serviceable", "True")] [assembly: AssemblyMetadata("Serviceable", "True")]
[assembly: NeutralResourcesLanguage("en-us")] [assembly: NeutralResourcesLanguage("en-us")]

Просмотреть файл

@ -1,5 +1,5 @@
// <auto-generated /> // <auto-generated />
namespace Microsoft.Framework.DependencyInjection.Abstractions namespace Microsoft.Extensions.DependencyInjection.Abstractions
{ {
using System.Globalization; using System.Globalization;
using System.Reflection; using System.Reflection;
@ -8,7 +8,7 @@ namespace Microsoft.Framework.DependencyInjection.Abstractions
internal static class Resources internal static class Resources
{ {
private static readonly ResourceManager _resourceManager 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> /// <summary>
/// Multiple constructors accepting all given argument types have been found in type '{0}'. There should only be one applicable constructor. /// 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.Framework.Internal; using Microsoft.Extensions.Internal;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
public static class ServiceCollectionExtensions public static class ServiceCollectionExtensions
{ {

Просмотреть файл

@ -4,10 +4,10 @@
using System; using System;
using System.Diagnostics; using System.Diagnostics;
using System.Reflection; using System.Reflection;
using Microsoft.Framework.DependencyInjection.Abstractions; using Microsoft.Extensions.DependencyInjection.Abstractions;
using Microsoft.Framework.Internal; using Microsoft.Extensions.Internal;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
[DebuggerDisplay("Lifetime = {Lifetime}, ServiceType = {ServiceType}, ImplementationType = {ImplementationType}")] [DebuggerDisplay("Lifetime = {Lifetime}, ServiceType = {ServiceType}, ImplementationType = {ImplementationType}")]
public class ServiceDescriptor public class ServiceDescriptor

Просмотреть файл

@ -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. // 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 public enum ServiceLifetime
{ {

Просмотреть файл

@ -3,10 +3,10 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection.Abstractions; using Microsoft.Extensions.DependencyInjection.Abstractions;
using Microsoft.Framework.Internal; using Microsoft.Extensions.Internal;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
public static class ServiceProviderExtensions public static class ServiceProviderExtensions
{ {

Просмотреть файл

@ -9,7 +9,7 @@
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"Microsoft.Framework.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" } "Microsoft.Extensions.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" }
}, },
"frameworks": { "frameworks": {
"net45": { "net45": {

Просмотреть файл

@ -5,7 +5,7 @@ using System.Reflection;
using System.Resources; using System.Resources;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.Framework.DependencyInjection.Tests")] [assembly: InternalsVisibleTo("Microsoft.Extensions.DependencyInjection.Tests")]
[assembly: AssemblyMetadata("Serviceable", "True")] [assembly: AssemblyMetadata("Serviceable", "True")]
[assembly: NeutralResourcesLanguage("en-us")] [assembly: NeutralResourcesLanguage("en-us")]

Просмотреть файл

@ -1,5 +1,5 @@
// <auto-generated /> // <auto-generated />
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
using System.Globalization; using System.Globalization;
using System.Reflection; using System.Reflection;
@ -8,7 +8,7 @@ namespace Microsoft.Framework.DependencyInjection
internal static class Resources internal static class Resources
{ {
private static readonly ResourceManager _resourceManager 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> /// <summary>
/// Unable to activate type '{0}'. The following constructors are ambigious: /// Unable to activate type '{0}'. The following constructors are ambigious:

Просмотреть файл

@ -4,7 +4,7 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
/// <summary> /// <summary>
/// Default implementation of <see cref="IServiceCollection"/>. /// Default implementation of <see cref="IServiceCollection"/>.

Просмотреть файл

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
public static class ServiceCollectionExtensions public static class ServiceCollectionExtensions
{ {

Просмотреть файл

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Linq.Expressions; using System.Linq.Expressions;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class ClosedIEnumerableService : IService 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq.Expressions; using System.Linq.Expressions;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class ConstantCallSite : IServiceCallSite 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -7,7 +7,7 @@ using System.Linq.Expressions;
using System.Reflection; using System.Reflection;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class ConstructorCallSite : IServiceCallSite 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class CreateInstanceCallSite : IServiceCallSite internal class CreateInstanceCallSite : IServiceCallSite
{ {

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq.Expressions; using System.Linq.Expressions;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class FactoryService : IService, IServiceCallSite internal class FactoryService : IService, IServiceCallSite
{ {

Просмотреть файл

@ -4,7 +4,7 @@
using System; using System;
using System.Reflection; using System.Reflection;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class GenericService : IGenericService internal class GenericService : IGenericService
{ {

Просмотреть файл

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal interface IGenericService internal interface IGenericService
{ {

Просмотреть файл

@ -4,7 +4,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal interface IService internal interface IService
{ {

Просмотреть файл

@ -3,7 +3,7 @@
using System.Linq.Expressions; using System.Linq.Expressions;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
/// <summary> /// <summary>
/// Summary description for IServiceCallSite /// Summary description for IServiceCallSite

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq.Expressions; using System.Linq.Expressions;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
/// <summary> /// <summary>
/// Summary description for InstanceService /// Summary description for InstanceService

Просмотреть файл

@ -4,7 +4,7 @@
using System; using System;
using System.Reflection; using System.Reflection;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class OpenIEnumerableService : IGenericService internal class OpenIEnumerableService : IGenericService
{ {

Просмотреть файл

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class Service : IService internal class Service : IService
{ {

Просмотреть файл

@ -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. // 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 internal class ServiceEntry
{ {

Просмотреть файл

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq.Expressions; using System.Linq.Expressions;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class ServiceProviderService : IService, IServiceCallSite internal class ServiceProviderService : IService, IServiceCallSite
{ {

Просмотреть файл

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class ServiceScope : IServiceScope internal class ServiceScope : IServiceScope
{ {

Просмотреть файл

@ -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. // 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 internal class ServiceScopeFactory : IServiceScopeFactory
{ {

Просмотреть файл

@ -7,7 +7,7 @@ using System.Linq;
using System.Linq.Expressions; using System.Linq.Expressions;
using System.Reflection; using System.Reflection;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class ServiceScopeService : IService, IServiceCallSite internal class ServiceScopeService : IService, IServiceCallSite
{ {

Просмотреть файл

@ -7,7 +7,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Reflection; using System.Reflection;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
internal class ServiceTable internal class ServiceTable
{ {

Просмотреть файл

@ -8,9 +8,9 @@ using System.Linq.Expressions;
using System.Reflection; using System.Reflection;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.DependencyInjection.ServiceLookup; using Microsoft.Extensions.DependencyInjection.ServiceLookup;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
/// <summary> /// <summary>
/// The default IServiceProvider. /// The default IServiceProvider.

Просмотреть файл

@ -9,8 +9,8 @@
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"Microsoft.Framework.DependencyInjection.Abstractions": "1.0.0-*", "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-*",
"Microsoft.Framework.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" } "Microsoft.Extensions.NotNullAttribute.Sources": { "version": "1.0.0-*", "type": "build" }
}, },
"frameworks": { "frameworks": {
"net45": { }, "net45": { },

Просмотреть файл

@ -4,10 +4,10 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.Framework.DependencyInjection.Tests.Fakes; using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
using Xunit; using Xunit;
namespace Microsoft.Framework.DependencyInjection.Abstractions.Tests namespace Microsoft.Extensions.DependencyInjection.Abstractions.Tests
{ {
public class ActivatorUtilitiesTests public class ActivatorUtilitiesTests
{ {

Просмотреть файл

@ -4,10 +4,10 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.Framework.DependencyInjection.Tests.Fakes; using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
using Xunit; using Xunit;
namespace Microsoft.Framework.DependencyInjection.Tests namespace Microsoft.Extensions.DependencyInjection.Tests
{ {
public abstract class AllContainerTestsBase public abstract class AllContainerTestsBase
{ {

Просмотреть файл

@ -5,11 +5,11 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq.Expressions; using System.Linq.Expressions;
using Microsoft.Framework.DependencyInjection.ServiceLookup; using Microsoft.Extensions.DependencyInjection.ServiceLookup;
using Microsoft.Framework.DependencyInjection.Tests.Fakes; using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
using Xunit; using Xunit;
namespace Microsoft.Framework.DependencyInjection.Tests namespace Microsoft.Extensions.DependencyInjection.Tests
{ {
public class CallSiteTests 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.Framework.DependencyInjection.Tests.Fakes; using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
using Xunit; using Xunit;
namespace Microsoft.Framework.DependencyInjection.Tests namespace Microsoft.Extensions.DependencyInjection.Tests
{ {
public class CircularDependencyTests public class CircularDependencyTests
{ {

Просмотреть файл

@ -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. // 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 public abstract class AbstractClass
{ {

Просмотреть файл

@ -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. // 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 public class AnotherClass
{ {

Просмотреть файл

@ -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. // 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 public class AnotherClassAcceptingData
{ {

Просмотреть файл

@ -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. // 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> public class CircularDependencyGeneric<TDependency>
{ {

Просмотреть файл

@ -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. // 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 public class DirectCircularDependencyA
{ {

Просмотреть файл

@ -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. // 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 public class DirectCircularDependencyB
{ {

Просмотреть файл

@ -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. // 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 public interface ISelfCircularDependencyWithInterface
{ {

Просмотреть файл

@ -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. // 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 public class IndirectCircularDependencyA
{ {

Просмотреть файл

@ -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. // 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 public class IndirectCircularDependencyB
{ {

Просмотреть файл

@ -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. // 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 public class IndirectCircularDependencyC
{ {

Просмотреть файл

@ -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. // 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 // A
// / | \ // / | \

Просмотреть файл

@ -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. // 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 public class NoCircularDependencySameTypeMultipleTimesB
{ {

Просмотреть файл

@ -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. // 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 public class NoCircularDependencySameTypeMultipleTimesC
{ {

Просмотреть файл

@ -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. // 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 public class SelfCircularDependency
{ {

Просмотреть файл

@ -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. // 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> public class SelfCircularDependencyGeneric<TDependency>
{ {

Просмотреть файл

@ -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. // 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 public class SelfCircularDependencyWithInterface : ISelfCircularDependencyWithInterface
{ {

Просмотреть файл

@ -1,4 +1,4 @@
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
{ {
public class ClassWithAmbiguousCtors 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. // 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 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
{ {
public class ClassWithNestedReferencesToProvider : IDisposable public class ClassWithNestedReferencesToProvider : IDisposable
{ {

Просмотреть файл

@ -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. // 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 public class ClassWithOptionalArgsCtor
{ {

Просмотреть файл

@ -1,4 +1,4 @@
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
{ {
public class ClassWithPrivateCtor 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. // 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 public class ClassWithProtectedConstructor
{ {

Просмотреть файл

@ -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. // 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 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 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 public class ClassWithThrowingEmptyCtor
{ {

Просмотреть файл

@ -3,7 +3,7 @@
using System.Threading; using System.Threading;
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
{ {
public class CreationCountFakeService public class CreationCountFakeService
{ {

Просмотреть файл

@ -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. // 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 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. // 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 public class DependsOnServiceWithoutImplementation
{ {

Просмотреть файл

@ -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. // 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> public class FakeOpenGenericService<T> : IFakeOpenGenericService<T>
{ {

Просмотреть файл

@ -4,7 +4,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
{ {
public class FakeOuterService : IFakeOuterService public class FakeOuterService : IFakeOuterService
{ {

Просмотреть файл

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.Framework.DependencyInjection.Tests.Fakes namespace Microsoft.Extensions.DependencyInjection.Tests.Fakes
{ {
public class FakeService : IFakeEveryService, IDisposable public class FakeService : IFakeEveryService, IDisposable
{ {

Просмотреть файл

@ -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. // 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 public interface 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. // 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 public interface IFactoryService
{ {

Просмотреть файл

@ -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. // 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 : interface IFakeEveryService :
IFakeService, IFakeService,

Просмотреть файл

@ -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. // 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 public interface IFakeMultipleService : IFakeService
{ {

Просмотреть файл

@ -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. // 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> public interface IFakeOpenGenericService<T>
{ {

Просмотреть файл

@ -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. // 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 public interface IFakeOuterService
{ {

Просмотреть файл

@ -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. // 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 public interface IFakeScopedService : IFakeService
{ {

Просмотреть файл

@ -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. // 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 public interface IFakeService
{ {

Просмотреть файл

@ -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. // 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 interface IFakeServiceInstance : IFakeService
{ {

Просмотреть файл

@ -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. // 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 interface IFakeSingletonService : IFakeService
{ {

Просмотреть файл

@ -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. // 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 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. // 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 public interface IServiceWithoutImplementation
{ {

Просмотреть файл

@ -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. // 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 public class ScopedFactoryService
{ {

Просмотреть файл

@ -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. // 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 public class ServiceAcceptingFactoryService
{ {

Просмотреть файл

@ -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. // 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 public static class TestServices
{ {

Просмотреть файл

@ -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. // 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 public class TransientFactoryService : IFactoryService
{ {

Просмотреть файл

@ -5,10 +5,10 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading; using System.Threading;
using Microsoft.Framework.DependencyInjection.Tests.Fakes; using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
using Xunit; using Xunit;
namespace Microsoft.Framework.DependencyInjection.Tests namespace Microsoft.Extensions.DependencyInjection.Tests
{ {
public abstract class ScopingContainerTestBase : AllContainerTestsBase public abstract class ScopingContainerTestBase : AllContainerTestsBase
{ {

Просмотреть файл

@ -3,13 +3,13 @@
using System; using System;
using Microsoft.AspNet.Testing; using Microsoft.AspNet.Testing;
using Microsoft.Framework.DependencyInjection.Extensions; using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Framework.DependencyInjection.Tests.Fakes; using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
using Xunit; 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 public class ServiceCollectionExtensionTest
{ {

Просмотреть файл

@ -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. // 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.Extensions.DependencyInjection.Extensions;
using Microsoft.Framework.DependencyInjection.Tests.Fakes; using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
using Xunit; using Xunit;
namespace Microsoft.Framework.DependencyInjection namespace Microsoft.Extensions.DependencyInjection
{ {
public class ServiceCollectionTests 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.Framework.DependencyInjection.Extensions; using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Framework.DependencyInjection.Tests.Fakes; using Microsoft.Extensions.DependencyInjection.Tests.Fakes;
using Xunit; using Xunit;
namespace Microsoft.Framework.DependencyInjection.ServiceLookup namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{ {
public class ServiceTest public class ServiceTest
{ {

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше