You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Creates proxy object intercepting calls to virtual members of type <typeparamref name = "TClass" /> on newly created instance of that type with given <paramref
1035
+
/// name = "interceptors" />.
1036
+
/// </summary>
1037
+
/// <typeparam name = "TClass">Type of class which will be proxied.</typeparam>
1038
+
/// <param name = "options">The proxy generation options used to influence generated proxy type and object.</param>
1039
+
/// <param name = "constructorArguments">Arguments of constructor of type <typeparamref name = "TClass" /> which should be used to create a new instance of that type.</param>
1040
+
/// <param name = "interceptors">The interceptors called during the invocation of proxied methods.</param>
1041
+
/// <returns>
1042
+
/// New object of type <typeparamref name = "TClass" /> proxying calls to virtual members of <typeparamref name = "TClass" /> type.
1043
+
/// </returns>
1044
+
/// <exception cref = "ArgumentNullException">Thrown when given <typeparamref name = "TClass" /> object is a null reference (Nothing in Visual Basic).</exception>
1045
+
/// <exception cref = "ArgumentException">Thrown when given <typeparamref name = "TClass" /> is a generic type definition.</exception>
1046
+
/// <exception cref = "ArgumentException">Thrown when given <typeparamref name = "TClass" /> is not a class type.</exception>
1047
+
/// <exception cref = "ArgumentException">Thrown when no constructor exists on type <typeparamref name = "TClass" /> with parameters matching <paramref
1048
+
/// name = "constructorArguments" />.</exception>
1049
+
/// <exception cref = "TargetInvocationException">Thrown when constructor of type <typeparamref name = "TClass" /> throws an exception.</exception>
1050
+
/// <remarks>
1051
+
/// This method uses <see cref = "IProxyBuilder" /> implementation to generate a proxy type.
1052
+
/// As such caller should expect any type of exception that given <see cref = "IProxyBuilder" /> implementation may throw.
/// Creates proxy object intercepting calls to virtual members of type <typeparamref name = "TClass" /> on newly created instance of that type with given <paramref
1058
+
/// name = "interceptors" />.
1059
+
/// </summary>
1060
+
/// <typeparam name = "TClass">Type of class which will be proxied.</typeparam>
1061
+
/// <param name = "constructorArguments">Arguments of constructor of type <typeparamref name = "TClass" /> which should be used to create a new instance of that type.</param>
1062
+
/// <param name = "interceptors">The interceptors called during the invocation of proxied methods.</param>
1063
+
/// <returns>
1064
+
/// New object of type <typeparamref name = "TClass" /> proxying calls to virtual members of <typeparamref name = "TClass" /> type.
1065
+
/// </returns>
1066
+
/// <exception cref = "ArgumentNullException">Thrown when given <typeparamref name = "TClass" /> object is a null reference (Nothing in Visual Basic).</exception>
1067
+
/// <exception cref = "ArgumentException">Thrown when given <typeparamref name = "TClass" /> is a generic type definition.</exception>
1068
+
/// <exception cref = "ArgumentException">Thrown when given <typeparamref name = "TClass" /> is not a class type.</exception>
1069
+
/// <exception cref = "ArgumentException">Thrown when no constructor exists on type <typeparamref name = "TClass" /> with parameters matching <paramref
1070
+
/// name = "constructorArguments" />.</exception>
1071
+
/// <exception cref = "TargetInvocationException">Thrown when constructor of type <typeparamref name = "TClass" /> throws an exception.</exception>
1072
+
/// <remarks>
1073
+
/// This method uses <see cref = "IProxyBuilder" /> implementation to generate a proxy type.
1074
+
/// As such caller should expect any type of exception that given <see cref = "IProxyBuilder" /> implementation may throw.
/// Creates proxy object intercepting calls to virtual members of type <typeparamref name = "TClass" /> on newly created instance of that type with given <paramref
1203
+
/// name = "interceptors" />.
1204
+
/// </summary>
1205
+
/// <typeparam name = "TClass">Type of class which will be proxied.</typeparam>
1206
+
/// <param name = "options">The proxy generation options used to influence generated proxy type and object.</param>
1207
+
/// <param name = "constructorArguments">Arguments of constructor of type <typeparamref name = "TClass" /> which should be used to create a new instance of that type.</param>
1208
+
/// <param name = "interceptors">The interceptors called during the invocation of proxied methods.</param>
1209
+
/// <returns>
1210
+
/// New object of type <typeparamref name = "TClass" /> proxying calls to virtual members of <typeparamref name = "TClass" /> type.
1211
+
/// </returns>
1212
+
/// <exception cref = "ArgumentNullException">Thrown when given <typeparamref name = "TClass" /> object is a null reference (Nothing in Visual Basic).</exception>
1213
+
/// <exception cref = "ArgumentException">Thrown when given <typeparamref name = "TClass" /> is a generic type definition.</exception>
1214
+
/// <exception cref = "ArgumentException">Thrown when given <typeparamref name = "TClass" /> is not a class type.</exception>
1215
+
/// <exception cref = "ArgumentException">Thrown when no constructor exists on type <typeparamref name = "TClass" /> with parameters matching <paramref
1216
+
/// name = "constructorArguments" />.</exception>
1217
+
/// <exception cref = "TargetInvocationException">Thrown when constructor of type <typeparamref name = "TClass" /> throws an exception.</exception>
1218
+
/// <remarks>
1219
+
/// This method uses <see cref = "IProxyBuilder" /> implementation to generate a proxy type.
1220
+
/// As such caller should expect any type of exception that given <see cref = "IProxyBuilder" /> implementation may throw.
/// Creates proxy object intercepting calls to virtual members of type <typeparamref name = "TClass" /> on newly created instance of that type with given <paramref
1230
+
/// name = "interceptors" />.
1231
+
/// </summary>
1232
+
/// <typeparam name = "TClass">Type of class which will be proxied.</typeparam>
1233
+
/// <param name = "constructorArguments">Arguments of constructor of type <typeparamref name = "TClass" /> which should be used to create a new instance of that type.</param>
1234
+
/// <param name = "interceptors">The interceptors called during the invocation of proxied methods.</param>
1235
+
/// <returns>
1236
+
/// New object of type <typeparamref name = "TClass" /> proxying calls to virtual members of <typeparamref name = "TClass" /> type.
1237
+
/// </returns>
1238
+
/// <exception cref = "ArgumentNullException">Thrown when given <typeparamref name = "TClass" /> object is a null reference (Nothing in Visual Basic).</exception>
1239
+
/// <exception cref = "ArgumentException">Thrown when given <typeparamref name = "TClass" /> is a generic type definition.</exception>
1240
+
/// <exception cref = "ArgumentException">Thrown when given <typeparamref name = "TClass" /> is not a class type.</exception>
1241
+
/// <exception cref = "ArgumentException">Thrown when no constructor exists on type <typeparamref name = "TClass" /> with parameters matching <paramref
1242
+
/// name = "constructorArguments" />.</exception>
1243
+
/// <exception cref = "TargetInvocationException">Thrown when constructor of type <typeparamref name = "TClass" /> throws an exception.</exception>
1244
+
/// <remarks>
1245
+
/// This method uses <see cref = "IProxyBuilder" /> implementation to generate a proxy type.
1246
+
/// As such caller should expect any type of exception that given <see cref = "IProxyBuilder" /> implementation may throw.
/// Creates proxy object intercepting calls to virtual members of type <paramref name = "classToProxy" /> on newly created instance of that type with given <paramref
1203
1256
/// name = "interceptors" />.
@@ -1565,4 +1618,4 @@ protected Type CreateClassProxyTypeWithTarget(Type classToProxy, Type[] addition
0 commit comments