From 4edc7c703f3853cd26a2eb40c6f7729ad77b988e Mon Sep 17 00:00:00 2001 From: hammett Date: Thu, 23 Aug 2007 17:24:28 +0000 Subject: [PATCH] - Added IServiceProviderEx which extends IServiceProvider git-svn-id: https://svn.castleproject.org/svn/castle/trunk@4182 73e77b4c-caa6-f847-a29a-24ab75ae54b6 --- Core/Castle.Core/Castle.Core-vs2005.csproj | 1 + Core/Castle.Core/IServiceProviderEx.cs | 26 ++++++++++++++++++++++++++ Core/Changes.txt | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 Core/Castle.Core/IServiceProviderEx.cs diff --git a/Core/Castle.Core/Castle.Core-vs2005.csproj b/Core/Castle.Core/Castle.Core-vs2005.csproj index c4baadc0d..90c3dc097 100644 --- a/Core/Castle.Core/Castle.Core-vs2005.csproj +++ b/Core/Castle.Core/Castle.Core-vs2005.csproj @@ -62,6 +62,7 @@ + diff --git a/Core/Castle.Core/IServiceProviderEx.cs b/Core/Castle.Core/IServiceProviderEx.cs new file mode 100644 index 000000000..6706c6f39 --- /dev/null +++ b/Core/Castle.Core/IServiceProviderEx.cs @@ -0,0 +1,26 @@ +// Copyright 2004-2007 Castle Project - http://www.castleproject.org/ +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace Castle.Core +{ + using System; + + /// + /// Increments IServiceProvider with a generic service resolution operation. + /// + public interface IServiceProviderEx : IServiceProvider + { + T GetService(); + } +} diff --git a/Core/Changes.txt b/Core/Changes.txt index 901a03f83..56ef51c76 100644 --- a/Core/Changes.txt +++ b/Core/Changes.txt @@ -1,6 +1,8 @@ Release Candidate 3 =================== +- Added IServiceProviderEx which extends IServiceProvider + - Added Pair class. - Applied Bill Pierce's patch fixing CORE-9 -- 2.11.4.GIT