Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ENikS committed Oct 8, 2017
1 parent 48d007b commit 0ad3498
Show file tree
Hide file tree
Showing 54 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ContainerIntegration/AdditionalInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Microsoft.Practices.ObjectBuilder2;
using Unity.Interception.Properties;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/ContainerIntegration/DefaultInterceptionBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/ContainerIntegration/DefaultInterceptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
2 changes: 2 additions & 0 deletions src/ContainerIntegration/Interception.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
using Microsoft.Practices.ObjectBuilder2;
using Unity.Interception.Properties;
using Microsoft.Practices.Unity.ObjectBuilder;
using Unity;
using Unity.Extension;
using Guard = Microsoft.Practices.Unity.Utility.Guard;

namespace Microsoft.Practices.Unity.InterceptionExtension
Expand Down
1 change: 1 addition & 0 deletions src/ContainerIntegration/InterceptionBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/ContainerIntegration/InterceptionBehaviorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
2 changes: 2 additions & 0 deletions src/ContainerIntegration/InterceptionMember.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions src/ContainerIntegration/Interceptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.Reflection;
using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/ContainerIntegration/PolicyDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.ObjectBuilder2;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/PolicyInjection/Policies/AttributeDrivenPolicy.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using System.Collections.Generic;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/PolicyInjection/Policies/HandlerAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/PolicyInjection/Policies/InjectionPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/PolicyInjection/Policies/PolicySet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/PolicyInjection/Policies/RuleDrivenPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions src/PolicyInjection/PolicyInjectionBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Practices.Unity.Utility;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension
{
Expand Down
1 change: 1 addition & 0 deletions tests/AttributeDrivenPolicyFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Collections.Generic;
using Microsoft.Practices.Unity.Utility;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/CodeplexIssuesFixture.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/ConvenienceConfigurationFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/EventInterceptionFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using System.Text;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/HandlerInvocationFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/InterceptionConfigurationFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/InterceptionFixture.Desktop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using System.Text;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/InterceptionFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.InterfaceInterception
{
Expand Down
1 change: 1 addition & 0 deletions tests/InterfaceInterception/InterfaceInterceptorFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.InterfaceInterception
{
Expand Down
1 change: 1 addition & 0 deletions tests/MethodSignatureFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
2 changes: 2 additions & 0 deletions tests/ObjectsUnderTest/TestHandlerAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest
{
public class TestHandlerAttribute : HandlerAttribute
Expand Down
1 change: 1 addition & 0 deletions tests/PipelineFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/PolicyFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using Microsoft.Practices.Unity.InterceptionExtension.Tests.ObjectsUnderTest;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
1 change: 1 addition & 0 deletions tests/PolicyInjection/PolicyInjectionBehaviorFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.PolicyInjection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.PolicyInjection
{
Expand Down
1 change: 1 addition & 0 deletions tests/PolicyInjection/VirtualMethodOverrideFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests.PolicyInjection
{
Expand Down
1 change: 1 addition & 0 deletions tests/PolicySetFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Reflection;
using Microsoft.Practices.Unity.TestSupport;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.InterceptionExtension.Tests
{
Expand Down
2 changes: 2 additions & 0 deletions tests/TestSupport/ExtensibilityTestExtension.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using Unity.Extension;

namespace Microsoft.Practices.Unity.TestSupport
{
public interface IConfigOne : IUnityContainerExtensionConfigurator
Expand Down
1 change: 1 addition & 0 deletions tests/TestSupport/GlobalCountCallHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Collections.Specialized;
using Microsoft.Practices.Unity.InterceptionExtension;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity;

namespace Microsoft.Practices.Unity.TestSupport
{
Expand Down
Loading

0 comments on commit 0ad3498

Please sign in to comment.