Skip to content

Commit a33ffb7

Browse files
committed
Add TClass comment
1 parent 1062546 commit a33ffb7

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

ref/Castle.Core-net462.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2690,6 +2690,10 @@ public TClass CreateClassProxy<TClass>(params Castle.DynamicProxy.IInterceptor[]
26902690
where TClass : class { }
26912691
public TClass CreateClassProxy<TClass>(Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors)
26922692
where TClass : class { }
2693+
public TClass CreateClassProxy<TClass>(object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors)
2694+
where TClass : class { }
2695+
public TClass CreateClassProxy<TClass>(Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors)
2696+
where TClass : class { }
26932697
protected object CreateClassProxyInstance(System.Type proxyType, System.Collections.Generic.List<object> proxyArguments, System.Type classToProxy, object[] constructorArguments) { }
26942698
protected System.Type CreateClassProxyType(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { }
26952699
protected System.Type CreateClassProxyTypeWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { }

ref/Castle.Core-net6.0.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2646,6 +2646,10 @@ public TClass CreateClassProxy<TClass>(params Castle.DynamicProxy.IInterceptor[]
26462646
where TClass : class { }
26472647
public TClass CreateClassProxy<TClass>(Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors)
26482648
where TClass : class { }
2649+
public TClass CreateClassProxy<TClass>(object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors)
2650+
where TClass : class { }
2651+
public TClass CreateClassProxy<TClass>(Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors)
2652+
where TClass : class { }
26492653
protected object CreateClassProxyInstance(System.Type proxyType, System.Collections.Generic.List<object> proxyArguments, System.Type classToProxy, object[] constructorArguments) { }
26502654
protected System.Type CreateClassProxyType(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { }
26512655
protected System.Type CreateClassProxyTypeWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { }

ref/Castle.Core-netstandard2.0.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2644,6 +2644,10 @@ public TClass CreateClassProxy<TClass>(params Castle.DynamicProxy.IInterceptor[]
26442644
where TClass : class { }
26452645
public TClass CreateClassProxy<TClass>(Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors)
26462646
where TClass : class { }
2647+
public TClass CreateClassProxy<TClass>(object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors)
2648+
where TClass : class { }
2649+
public TClass CreateClassProxy<TClass>(Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors)
2650+
where TClass : class { }
26472651
protected object CreateClassProxyInstance(System.Type proxyType, System.Collections.Generic.List<object> proxyArguments, System.Type classToProxy, object[] constructorArguments) { }
26482652
protected System.Type CreateClassProxyType(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { }
26492653
protected System.Type CreateClassProxyTypeWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { }

ref/Castle.Core-netstandard2.1.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2644,6 +2644,10 @@ public TClass CreateClassProxy<TClass>(params Castle.DynamicProxy.IInterceptor[]
26442644
where TClass : class { }
26452645
public TClass CreateClassProxy<TClass>(Castle.DynamicProxy.ProxyGenerationOptions options, params Castle.DynamicProxy.IInterceptor[] interceptors)
26462646
where TClass : class { }
2647+
public TClass CreateClassProxy<TClass>(object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors)
2648+
where TClass : class { }
2649+
public TClass CreateClassProxy<TClass>(Castle.DynamicProxy.ProxyGenerationOptions options, object[] constructorArguments, params Castle.DynamicProxy.IInterceptor[] interceptors)
2650+
where TClass : class { }
26472651
protected object CreateClassProxyInstance(System.Type proxyType, System.Collections.Generic.List<object> proxyArguments, System.Type classToProxy, object[] constructorArguments) { }
26482652
protected System.Type CreateClassProxyType(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { }
26492653
protected System.Type CreateClassProxyTypeWithTarget(System.Type classToProxy, System.Type[] additionalInterfacesToProxy, Castle.DynamicProxy.ProxyGenerationOptions options) { }

src/Castle.Core/DynamicProxy/ProxyGenerator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,7 @@ public TClass CreateClassProxy<TClass>(ProxyGenerationOptions options, params II
12021202
/// Creates proxy object intercepting calls to virtual members of type <typeparamref name = "TClass" /> on newly created instance of that type with given <paramref
12031203
/// name = "interceptors" />.
12041204
/// </summary>
1205+
/// <typeparam name = "TClass">Type of class which will be proxied.</typeparam>
12051206
/// <param name = "options">The proxy generation options used to influence generated proxy type and object.</param>
12061207
/// <param name = "constructorArguments">Arguments of constructor of type <typeparamref name = "TClass" /> which should be used to create a new instance of that type.</param>
12071208
/// <param name = "interceptors">The interceptors called during the invocation of proxied methods.</param>
@@ -1228,6 +1229,7 @@ public TClass CreateClassProxy<TClass>(ProxyGenerationOptions options, object[]
12281229
/// Creates proxy object intercepting calls to virtual members of type <typeparamref name = "TClass" /> on newly created instance of that type with given <paramref
12291230
/// name = "interceptors" />.
12301231
/// </summary>
1232+
/// <typeparam name = "TClass">Type of class which will be proxied.</typeparam>
12311233
/// <param name = "constructorArguments">Arguments of constructor of type <typeparamref name = "TClass" /> which should be used to create a new instance of that type.</param>
12321234
/// <param name = "interceptors">The interceptors called during the invocation of proxied methods.</param>
12331235
/// <returns>

0 commit comments

Comments
 (0)