11// -------------------------------------------------------------------------------------------------
22// <copyright file="FactoryInterceptor.cs" company="Ninject Project Contributors">
3- // Copyright (c) 2009-2017 Ninject Project Contributors
3+ // Copyright (c) 2009-2017 Ninject Project Contributors. All rights reserved.
4+ //
45// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL).
6+ // You may not use this file except in compliance with one of the Licenses.
7+ // You may obtain a copy of the License at
8+ //
9+ // http://www.apache.org/licenses/LICENSE-2.0
10+ // or
11+ // http://www.microsoft.com/opensource/licenses.mspx
12+ //
13+ // Unless required by applicable law or agreed to in writing, software
14+ // distributed under the License is distributed on an "AS IS" BASIS,
15+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ // See the License for the specific language governing permissions and
17+ // limitations under the License.
518// </copyright>
619// -------------------------------------------------------------------------------------------------
720
8- #if ! SILVERLIGHT_20 && ! WINDOWS_PHONE && ! NETCF_35
921namespace Ninject . Extensions . Factory
1022{
1123 using Castle . DynamicProxy ;
@@ -43,5 +55,4 @@ public void Intercept(IInvocation invocation)
4355 invocation . ReturnValue = this . instanceProvider . GetInstance ( this , invocation . Method , invocation . Arguments ) ;
4456 }
4557 }
46- }
47- #endif
58+ }
0 commit comments