Moved Lifetime managers into Abstractions
This commit is contained in:
Родитель
0ad34986d6
Коммит
c24abaed59
|
@ -6,6 +6,7 @@ using Microsoft.Practices.ObjectBuilder2;
|
|||
using Unity.Interception.Properties;
|
||||
using Microsoft.Practices.Unity.Utility;
|
||||
using Unity;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
using System;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -4,6 +4,8 @@ using System;
|
|||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Microsoft.Practices.Unity.Utility;
|
||||
using Unity;
|
||||
using Unity.Policy;
|
||||
using Unity.Registration;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
using System;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -4,6 +4,8 @@ using System;
|
|||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Microsoft.Practices.Unity.Utility;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
|
||||
|
||||
using Unity;
|
||||
using Unity.Registration;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ using System;
|
|||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Microsoft.Practices.Unity.Utility;
|
||||
using Unity;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
using System;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -5,6 +5,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -5,6 +5,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -4,6 +4,8 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Microsoft.Practices.Unity.Utility;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ using System;
|
|||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Microsoft.Practices.Unity.Utility;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -7,6 +7,8 @@ using System.Reflection;
|
|||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Microsoft.Practices.Unity.Utility;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -5,6 +5,8 @@ using System.Collections.Generic;
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
using Microsoft.Practices.Unity.Utility;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
using Unity.Registration;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -5,6 +5,8 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
using Unity.Policy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@ using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
|
|||
using Microsoft.Practices.Unity.TestSupport;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Text;
|
|||
using Microsoft.Practices.Unity.TestSupport;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@ using System.Text;
|
|||
using Microsoft.Practices.Unity.TestSupport;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
|
|||
using Microsoft.Practices.Unity.TestSupport;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
|
||||
{
|
||||
|
|
|
@ -7,6 +7,7 @@ using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
|
|||
using Microsoft.Practices.Unity.TestSupport;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.InterfaceInterception
|
||||
{
|
||||
|
|
|
@ -4,6 +4,12 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Builder;
|
||||
using Unity.Exceptions;
|
||||
using Unity.Lifetime;
|
||||
using Unity.Policy;
|
||||
using Unity.Resolve;
|
||||
using Unity.Strategy;
|
||||
|
||||
namespace Microsoft.Practices.Unity.TestSupport
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace Microsoft.Practices.Unity.TestSupport
|
||||
{
|
||||
|
|
|
@ -6,6 +6,7 @@ using System.ComponentModel;
|
|||
using System.Globalization;
|
||||
using Microsoft.Practices.ObjectBuilder2;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace Microsoft.Practices.Unity.TestSupport
|
||||
{
|
||||
|
|
|
@ -5,6 +5,7 @@ using System.ComponentModel;
|
|||
using Microsoft.Practices.Unity.TestSupport;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Unity;
|
||||
using Unity.Lifetime;
|
||||
|
||||
namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.VirtualMethodInterception
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче