User: xtoff
Date: 2009/12/05 01:38 AM
Modified:
/InversionOfControl/trunk/lib/mono-3.5/
Castle.Core.dll, Castle.DynamicProxy2.dll, Castle.DynamicProxy2.xml
/InversionOfControl/trunk/lib/net-3.5/
Castle.Core.dll, Castle.DynamicProxy2.dll, Castle.DynamicProxy2.xml
/InversionOfControl/trunk/src/Castle.MicroKernel.Tests/
Castle.MicroKernel.Tests-vs2008.csproj
/InversionOfControl/trunk/src/Castle.MicroKernel/
Castle.MicroKernel-vs2008.csproj
/InversionOfControl/trunk/src/Castle.Windsor.Tests/
Castle.Windsor.Tests-vs2008.csproj
/InversionOfControl/trunk/src/Castle.Windsor/
Castle.Windsor-vs2008.csproj
Log:
- Updated references to DynamicProxy 2.2 beta and Core 1.2 beta
File Changes:
Directory: /InversionOfControl/trunk/src/Castle.MicroKernel/
============================================================
File [modified]: Castle.MicroKernel-vs2008.csproj
Delta lines: +1 -1
===================================================================
---
InversionOfControl/trunk/src/Castle.MicroKernel.Tests/Castle.MicroKernel.Tests-vs2008.csproj
2009-12-04 16:13:37 UTC (rev 6390)
+++
InversionOfControl/trunk/src/Castle.MicroKernel.Tests/Castle.MicroKernel.Tests-vs2008.csproj
2009-12-05 08:38:19 UTC (rev 6391)
@@ -78,7 +78,7 @@
<UseVSHostingProcess>true</UseVSHostingProcess>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Castle.Core, Version=1.1.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <Reference Include="Castle.Core, Version=1.2.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\net-3.5\Castle.Core.dll</HintPath>
Directory: /InversionOfControl/trunk/src/Castle.MicroKernel.Tests/
==================================================================
File [modified]: Castle.MicroKernel.Tests-vs2008.csproj
Delta lines: +3 -3
===================================================================
--- InversionOfControl/trunk/src/Castle.Windsor/Castle.Windsor-vs2008.csproj
2009-12-04 16:13:37 UTC (rev 6390)
+++ InversionOfControl/trunk/src/Castle.Windsor/Castle.Windsor-vs2008.csproj
2009-12-05 08:38:19 UTC (rev 6391)
@@ -87,13 +87,13 @@
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Castle.Core, Version=1.1.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <Reference Include="Castle.Core, Version=1.2.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\net-3.5\Castle.Core.dll</HintPath>
</Reference>
- <Reference Include="Castle.DynamicProxy, Version=2.1.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <Reference Include="Castle.DynamicProxy2, Version=2.2.0.0,
Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\net-3.5\Castle.DynamicProxy.dll</HintPath>
+ <HintPath>..\..\lib\net-3.5\Castle.DynamicProxy2.dll</HintPath>
</Reference>
<Reference Include="System">
Directory: /InversionOfControl/trunk/src/Castle.Windsor/
========================================================
File [modified]: Castle.Windsor-vs2008.csproj
Delta lines: +3 -3
===================================================================
---
InversionOfControl/trunk/src/Castle.Windsor.Tests/Castle.Windsor.Tests-vs2008.csproj
2009-12-04 16:13:37 UTC (rev 6390)
+++
InversionOfControl/trunk/src/Castle.Windsor.Tests/Castle.Windsor.Tests-vs2008.csproj
2009-12-05 08:38:19 UTC (rev 6391)
@@ -93,13 +93,13 @@
<UseVSHostingProcess>true</UseVSHostingProcess>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Castle.Core, Version=1.1.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <Reference Include="Castle.Core, Version=1.2.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\net-3.5\Castle.Core.dll</HintPath>
</Reference>
- <Reference Include="Castle.DynamicProxy, Version=2.1.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <Reference Include="Castle.DynamicProxy2, Version=2.2.0.0,
Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\net-3.5\Castle.DynamicProxy.dll</HintPath>
+ <HintPath>..\..\lib\net-3.5\Castle.DynamicProxy2.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=2.5.0.9122, Culture=neutral,
PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
Directory: /InversionOfControl/trunk/src/Castle.Windsor.Tests/
==============================================================
File [modified]: Castle.Windsor.Tests-vs2008.csproj
Delta lines: +0 -0
===================================================================
Directory: /InversionOfControl/trunk/lib/mono-3.5/
==================================================
File [modified]: Castle.Core.dll
Delta lines: None
None
File [modified]: Castle.DynamicProxy2.dll
Delta lines: None
None
File [modified]: Castle.DynamicProxy2.xml
Delta lines: +126 -16
===================================================================
--- InversionOfControl/trunk/lib/net-3.5/Castle.DynamicProxy2.xml
2009-12-04 16:13:37 UTC (rev 6390)
+++ InversionOfControl/trunk/lib/net-3.5/Castle.DynamicProxy2.xml
2009-12-05 08:38:19 UTC (rev 6391)
@@ -163,14 +163,32 @@
<param name="interface"></param>
<param name="mapping"></param>
</member>
- <member
name="M:Castle.DynamicProxy.Generators.CacheKey.#ctor(System.Reflection.MemberInfo,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
+ <member
name="M:Castle.DynamicProxy.Generators.CacheKey.#ctor(System.Reflection.MemberInfo,System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
Initializes a new instance of the <see
cref="T:Castle.DynamicProxy.Generators.CacheKey"/> class.
</summary>
+ <param name="target">Target element. This is either target type or
target method for invocation types.</param>
+ <param name="type">The type of the proxy. This is base type for
invocation types.</param>
+ <param name="interfaces">The interfaces.</param>
+ <param name="options">The options.</param>
+ </member>
+ <member
name="M:Castle.DynamicProxy.Generators.CacheKey.#ctor(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
+ <summary>
+ Initializes a new instance of the <see
cref="T:Castle.DynamicProxy.Generators.CacheKey"/> class.
+ </summary>
<param name="target">Type of the target.</param>
<param name="interfaces">The interfaces.</param>
<param name="options">The options.</param>
</member>
+ <member
name="M:Castle.DynamicProxy.Generators.InvocationTypeGenerator.GetCtorArgumentsAndBaseCtorToCall(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,System.Reflection.ConstructorInfo@)">
+ <summary>
+ Generates the constructor for the class that extends
+ <see cref="T:Castle.DynamicProxy.AbstractInvocation"/>
+ </summary>
+ <param name="targetFieldType"></param>
+ <param name="proxyGenerationOptions"></param>
+ <param name="baseConstructor"></param>
+ </member>
<member name="T:Castle.DynamicProxy.Generators.ClassProxyGenerator">
<summary>
@@ -212,15 +230,6 @@
</summary>
<returns>New naming scope.</returns>
</member>
- <member
name="M:Castle.DynamicProxy.Generators.InvocationTypeGenerator.CreateIInvocationConstructor(System.Type,Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter,Castle.DynamicProxy.ProxyGenerationOptions)">
- <summary>
- Generates the constructor for the nested class that extends
- <see cref="T:Castle.DynamicProxy.AbstractInvocation"/>
- </summary>
- <param name="targetFieldType"></param>
- <param name="nested"></param>
- <param name="proxyGenerationOptions"></param>
- </member>
<member
name="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator">
<summary>
@@ -462,6 +471,11 @@
pointing to Castle Dynamic Proxy assembly, in assembly containing
that type, if this is appropriate.</exception>
<seealso
cref="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetInterfaceGenerator"/>
</member>
+ <member name="P:Castle.DynamicProxy.IProxyBuilder.Logger">
+ <summary>
+ Gets or sets the <see cref="T:Castle.Core.Logging.ILogger"/> that
this <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> logs to.
+ </summary>
+ </member>
<member name="P:Castle.DynamicProxy.IProxyBuilder.ModuleScope">
<summary>
Gets the <see
cref="P:Castle.DynamicProxy.IProxyBuilder.ModuleScope"/> associated with this
builder.
@@ -749,11 +763,13 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface``1(``0,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
- <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget``1(System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTarget``1(``0,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
<summary>
Creates proxy object intercepting calls to members of interface
<typeparamref name="TInterface"/> on <paramref name="target"/> object with
given <paramref name="interceptors"/>.
</summary>
@@ -770,6 +786,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface``1(``0,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -793,6 +811,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Object,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -817,6 +837,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -841,6 +863,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Type[],System.Object,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -866,6 +890,8 @@
<exception cref="T:System.MissingMethodException">Thrown when no
default constructor exists on actual type of <paramref name="target"/>
object.</exception>
<exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of actual type of <paramref name="target"/> throws an
exception.</exception>
<remarks>
+ This method generates new proxy type for each type of <paramref
name="target"/>, which affects performance. If you don't want to proxy types
differently depending on the type of the target
+ use <see
cref="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithTargetInterface(System.Type,System.Type[],System.Object,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])"/>
method.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -1022,11 +1048,12 @@
<returns>
Object proxying calls to members of <typeparamref
name="TInterface"/> types on generated target object.
</returns>
- <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptor"/> object is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptor"/> array is a null reference (Nothing in Visual
Basic).</exception>
<exception cref="T:System.ArgumentException">Thrown when given
<typeparamref name="TInterface"/> is not an interface type.</exception>
<remarks>
Since this method uses an empty-shell implementation of interfaces
to proxy generated at runtime, the actual implementation of proxied methods
must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/>
implementations.
They are responsible for setting return value (and out parameters)
on proxied methods. It is also illegal for an interceptor to call <see
cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual
implementation to proceed with.
+ As a result of that also at least one <see
cref="T:Castle.Core.Interceptor.IInterceptor"/> implementation must be provided.
This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
@@ -1050,17 +1077,37 @@
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget``1(Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface
<typeparamref name="TInterface"/> on target object generated at runtime with
given <paramref name="interceptors"/>.
+ </summary>
+ <typeparam name="TInterface">Type of the interface which will be
proxied.</typeparam>
+ <param name="options">The proxy generation options used to
influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the
invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <typeparamref
name="TInterface"/> types on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptors"/> array is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<typeparamref name="TInterface"/> is not an interface type.</exception>
+ <remarks>
+ Since this method uses an empty-shell implementation of interfaces
to proxy generated at runtime, the actual implementation of proxied methods
must be provided by given <see cref="T:Castle.Core.Interceptor.IInterceptor"/>
implementations.
+ They are responsible for setting return value (and out parameters)
on proxied methods. It is also illegal for an interceptor to call <see
cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual
implementation to proceed with.
+ As a result of that also at least one <see
cref="T:Castle.Core.Interceptor.IInterceptor"/> implementation must be provided.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,Castle.Core.Interceptor.IInterceptor)">
<summary>
Creates proxy object intercepting calls to members of interface
<paramref name="interfaceToProxy"/> on target object generated at runtime with
given <paramref name="interceptor"/>.
</summary>
<param name="interfaceToProxy">Type of the interface which will be
proxied.</param>
- <param name="interceptor">The interceptor called during the
invocation of proxied methods.</param>
+ <param name="interceptor">The interceptors called during the
invocation of proxied methods.</param>
<returns>
Object proxying calls to members of <paramref
name="interfaceToProxy"/> type on generated target object.
</returns>
<exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interfaceToProxy"/> object is a null reference (Nothing in
Visual Basic).</exception>
- <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptor"/> object is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptor"/> array is a null reference (Nothing in Visual
Basic).</exception>
<exception cref="T:System.ArgumentException">Thrown when given
<paramref name="interfaceToProxy"/> is a generic type definition.</exception>
<exception cref="T:System.ArgumentException">Thrown when given
<paramref name="interfaceToProxy"/> is not an interface type.</exception>
<remarks>
@@ -1111,6 +1158,26 @@
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to members of interface
<paramref name="interfaceToProxy"/> on target object generated at runtime with
given <paramref name="interceptors"/>.
+ </summary>
+ <param name="interfaceToProxy">Type of the interface which will be
proxied.</param>
+ <param name="options">The proxy generation options used to
influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the
invocation of proxied methods.</param>
+ <returns>
+ Object proxying calls to members of <paramref
name="interfaceToProxy"/> on generated target object.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interfaceToProxy"/> object is a null reference (Nothing in
Visual Basic).</exception>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="interceptors"/> array is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<paramref name="interfaceToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<paramref name="interfaceToProxy"/> is not an interface type.</exception>
+ <remarks>
+ They are responsible for setting return value (and out parameters)
on proxied methods. It is also illegal for an interceptor to call <see
cref="M:Castle.Core.Interceptor.IInvocation.Proceed"/>, since there's no actual
implementation to proceed with.
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
<summary>
Creates proxy object intercepting calls to members of interface
<paramref name="interfaceToProxy"/> on target object generated at runtime with
given <paramref name="interceptors"/>.
@@ -1150,6 +1217,24 @@
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy``1(Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to virtual members of type
<typeparamref name="TClass"/> on newly created instance of that type with given
<paramref name="interceptors"/>.
+ </summary>
+ <typeparam name="TClass">Type of class which will be
proxied.</typeparam>
+ <param name="options">The proxy generation options used to
influence generated proxy type and object.</param>
+ <param name="interceptors">The interceptors called during the
invocation of proxied methods.</param>
+ <returns>
+ New object of type <typeparamref name="TClass"/> proxying calls to
virtual members of <typeparamref name="TClass"/> type.
+ </returns>
+ <exception cref="T:System.ArgumentException">Thrown when given
<typeparamref name="TClass"/> is not a class type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when no
default constructor exists on type <typeparamref name="TClass"/>.</exception>
+ <exception
cref="T:System.Reflection.TargetInvocationException">Thrown when default
constructor of type <typeparamref name="TClass"/> throws an
exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.Core.Interceptor.IInterceptor[])">
<summary>
Creates proxy object intercepting calls to virtual members of type
<paramref name="classToProxy"/> on newly created instance of that type with
given <paramref name="interceptors"/>.
@@ -1190,6 +1275,27 @@
As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
</remarks>
</member>
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,System.Object[],Castle.Core.Interceptor.IInterceptor[])">
+ <summary>
+ Creates proxy object intercepting calls to virtual members of type
<paramref name="classToProxy"/> on newly created instance of that type with
given <paramref name="interceptors"/>.
+ </summary>
+ <param name="classToProxy">Type of class which will be
proxied.</param>
+ <param name="options">The proxy generation options used to
influence generated proxy type and object.</param>
+ <param name="constructorArguments">Arguments of constructor of
type <paramref name="classToProxy"/> which should be used to create a new
instance of that type.</param>
+ <param name="interceptors">The interceptors called during the
invocation of proxied methods.</param>
+ <returns>
+ New object of type <paramref name="classToProxy"/> proxying calls
to virtual members of <paramref name="classToProxy"/> type.
+ </returns>
+ <exception cref="T:System.ArgumentNullException">Thrown when given
<paramref name="classToProxy"/> object is a null reference (Nothing in Visual
Basic).</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<paramref name="classToProxy"/> is a generic type definition.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when given
<paramref name="classToProxy"/> is not a class type.</exception>
+ <exception cref="T:System.ArgumentException">Thrown when no
constructor exists on type <paramref name="classToProxy"/> with parameters
matching <paramref name="constructorArguments"/>.</exception>
+ <exception
cref="T:System.Reflection.TargetInvocationException">Thrown when constructor of
type <paramref name="classToProxy"/> throws an exception.</exception>
+ <remarks>
+ This method uses <see cref="T:Castle.DynamicProxy.IProxyBuilder"/>
implementation to generate a proxy type.
+ As such caller should expect any type of exception that given <see
cref="T:Castle.DynamicProxy.IProxyBuilder"/> implementation may throw.
+ </remarks>
+ </member>
<member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Object[],Castle.Core.Interceptor.IInterceptor[])">
<summary>
Creates proxy object intercepting calls to virtual members of type
<paramref name="classToProxy"/> on newly created instance of that type with
given <paramref name="interceptors"/>.
@@ -1314,13 +1420,12 @@
<param name="options">The options for proxy generation
process.</param>
<returns><see cref="T:System.Type"/> of proxy.</returns>
</member>
- <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyTypeWithTargetInterface(System.Type,System.Type[],System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
+ <member
name="M:Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyTypeWithTargetInterface(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
<summary>
Creates the proxy type for interface proxy with target interface
for given <paramref name="interfaceToProxy"/> interface, implementing given
<paramref name="additionalInterfacesToProxy"/> on given <paramref
name="targetType"/> and using provided <paramref name="options"/>.
</summary>
<param name="interfaceToProxy">The interface proxy type should
implement.</param>
<param name="additionalInterfacesToProxy">The additional
interfaces proxy type should implement.</param>
- <param name="targetType">Actual type that the proxy type will
encompass.</param>
<param name="options">The options for proxy generation
process.</param>
<returns><see cref="T:System.Type"/> of proxy.</returns>
</member>
@@ -1333,6 +1438,11 @@
<param name="options">The options for proxy generation
process.</param>
<returns><see cref="T:System.Type"/> of proxy.</returns>
</member>
+ <member name="P:Castle.DynamicProxy.ProxyGenerator.Logger">
+ <summary>
+ Gets or sets the <see cref="T:Castle.Core.Logging.ILogger"/> that
this <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> log to.
+ </summary>
+ </member>
<member name="P:Castle.DynamicProxy.ProxyGenerator.ProxyBuilder">
<summary>
Directory: /InversionOfControl/trunk/lib/net-3.5/
=================================================
File [modified]: Castle.Core.dll
Delta lines: None
None
File [modified]: Castle.DynamicProxy2.dll
Delta lines: None
None
File [modified]: Castle.DynamicProxy2.xml
Delta lines: +1 -1
===================================================================
---
InversionOfControl/trunk/src/Castle.MicroKernel/Castle.MicroKernel-vs2008.csproj
2009-12-04 16:13:37 UTC (rev 6390)
+++
InversionOfControl/trunk/src/Castle.MicroKernel/Castle.MicroKernel-vs2008.csproj
2009-12-05 08:38:19 UTC (rev 6391)
@@ -72,7 +72,7 @@
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Castle.Core, Version=1.1.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <Reference Include="Castle.Core, Version=1.2.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\net-3.5\Castle.Core.dll</HintPath>
--
You received this message because you are subscribed to the Google Groups
"Castle Project Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-commits?hl=en.