зеркало из
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
# 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
{

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