main
1<?xml version="1.0"?>
2<doc>
3 <assembly>
4 <name>Castle.DynamicProxy2</name>
5 </assembly>
6 <members>
7 <member name="T:Castle.DynamicProxy.Generators.Emitters.SimpleAST.IndirectReference">
8 <summary>
9 Wraps a reference that is passed
10 ByRef and provides indirect load/store support.
11 </summary>
12 </member>
13 <member name="T:Castle.DynamicProxy.Generators.Emitters.SimpleAST.NewArrayExpression">
14 <summary>
15 Summary description for NewArrayExpression.
16 </summary>
17 </member>
18 <member name="T:Castle.DynamicProxy.Generators.Emitters.SimpleAST.ReferencesToObjectArrayExpression">
19 <summary>
20
21 </summary>
22 </member>
23 <member name="M:Castle.DynamicProxy.Generators.Emitters.CustomAttributeUtil.InitializeConstructorArgs(System.Type,System.Attribute,System.Object[],System.Reflection.ParameterInfo[])">
24 <summary>
25 Here we try to match a constructor argument to its value.
26 Since we can't get the values from the assembly, we use some heuristics to get it.
27 a/ we first try to match all the properties on the attributes by name (case insensitive) to the argument
28 b/ if we fail we try to match them by property type, with some smarts about convertions (i,e: can use Guid for string).
29 </summary>
30 </member>
31 <member name="M:Castle.DynamicProxy.Generators.Emitters.CustomAttributeUtil.ReplaceIfBetterMatch(System.Reflection.ParameterInfo,System.Reflection.PropertyInfo,System.Reflection.PropertyInfo)">
32 <summary>
33 We have the following rules here.
34 Try to find a matching type, failing that, if the parameter is string, get the first property (under the assumption that
35 we can convert it.
36 </summary>
37 </member>
38 <member name="M:Castle.DynamicProxy.Generators.Emitters.CustomAttributeUtil.ConvertValue(System.Object,System.Type)">
39 <summary>
40 Attributes can only accept simple types, so we return null for null,
41 if the value is passed as string we call to string (should help with converting),
42 otherwise, we use the value as is (enums, integer, etc).
43 </summary>
44 </member>
45 <member name="T:Castle.DynamicProxy.Generators.Emitters.LdcOpCodesDictionary">
46 <summary>s
47 Provides appropriate Ldc.X opcode for the type of primitive value to be loaded.
48 </summary>
49 </member>
50 <member name="T:Castle.DynamicProxy.Generators.Emitters.LdindOpCodesDictionary">
51 <summary>
52 Provides appropriate Ldind.X opcode for
53 the type of primitive value to be loaded indirectly.
54 </summary>
55 </member>
56 <member name="M:Castle.DynamicProxy.Generators.Emitters.MethodEmitter.CopyParametersAndReturnTypeFrom(System.Reflection.MethodInfo,Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter)">
57 <summary>
58 Inspect the base method for generic definitions
59 and set the return type and the parameters
60 accordingly
61 </summary>
62 </member>
63 <member name="M:Castle.DynamicProxy.Generators.Emitters.OpCodeUtil.EmitLoadOpCodeForConstantValue(System.Reflection.Emit.ILGenerator,System.Object)">
64 <summary>
65 Emits a load opcode of the appropriate kind for a constant string or
66 primitive value.
67 </summary>
68 <param name="gen"></param>
69 <param name="value"></param>
70 </member>
71 <member name="M:Castle.DynamicProxy.Generators.Emitters.OpCodeUtil.EmitLoadOpCodeForDefaultValueOfType(System.Reflection.Emit.ILGenerator,System.Type)">
72 <summary>
73 Emits a load opcode of the appropriate kind for the constant default value of a
74 type, such as 0 for value types and null for reference types.
75 </summary>
76 </member>
77 <member name="M:Castle.DynamicProxy.Generators.Emitters.OpCodeUtil.EmitLoadIndirectOpCodeForType(System.Reflection.Emit.ILGenerator,System.Type)">
78 <summary>
79 Emits a load indirect opcode of the appropriate type for a value or object reference.
80 Pops a pointer off the evaluation stack, dereferences it and loads
81 a value of the specified type.
82 </summary>
83 <param name="gen"></param>
84 <param name="type"></param>
85 </member>
86 <member name="M:Castle.DynamicProxy.Generators.Emitters.OpCodeUtil.EmitStoreIndirectOpCodeForType(System.Reflection.Emit.ILGenerator,System.Type)">
87 <summary>
88 Emits a store indirectopcode of the appropriate type for a value or object reference.
89 Pops a value of the specified type and a pointer off the evaluation stack, and
90 stores the value.
91 </summary>
92 <param name="gen"></param>
93 <param name="type"></param>
94 </member>
95 <member name="T:Castle.DynamicProxy.Generators.Emitters.PropertiesCollection">
96 <summary>
97 Summary description for PropertiesCollection.
98 </summary>
99 </member>
100 <member name="T:Castle.DynamicProxy.Generators.Emitters.StindOpCodesDictionary">
101 <summary>
102 Provides appropriate Stind.X opcode
103 for the type of primitive value to be stored indirectly.
104 </summary>
105 </member>
106 <member name="T:Castle.DynamicProxy.Generators.BaseProxyGenerator">
107 <summary>
108 Base class that exposes the common functionalities
109 to proxy generation.
110 </summary>
111 <remarks>
112 TODO:
113 - Add tests and fixes for 'leaking this' problem
114 </remarks>
115 </member>
116 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.GetProxyTargetReference">
117 <summary>
118 Used by dinamically implement <see cref="T:Castle.Core.Interceptor.IProxyTargetAccessor"/>
119 </summary>
120 <returns></returns>
121 </member>
122 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.GenerateParameterlessConstructor(Castle.DynamicProxy.Generators.Emitters.ClassEmitter,System.Type,Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference)">
123 <summary>
124 Generates a parameters constructor that initializes the proxy
125 state with <see cref="T:Castle.Core.Interceptor.StandardInterceptor"/> just to make it non-null.
126 <para>
127 This constructor is important to allow proxies to be XML serializable
128 </para>
129 </summary>
130 </member>
131 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.BuildInvocationNestedType(Castle.DynamicProxy.Generators.Emitters.ClassEmitter,System.Type,System.Type,System.Reflection.MethodInfo,System.Reflection.MethodInfo,Castle.DynamicProxy.Generators.ConstructorVersion)">
132 <summary>
133 If callbackMethod is null the InvokeOnTarget implementation
134 is just the code to throw an exception
135 </summary>
136 <param name="emitter"></param>
137 <param name="targetType"></param>
138 <param name="targetForInvocation"></param>
139 <param name="methodInfo"></param>
140 <param name="callbackMethod"></param>
141 <param name="version"></param>
142 <returns></returns>
143 </member>
144 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.BuildInvocationNestedType(Castle.DynamicProxy.Generators.Emitters.ClassEmitter,System.Type,System.Type,System.Reflection.MethodInfo,System.Reflection.MethodInfo,Castle.DynamicProxy.Generators.ConstructorVersion,System.Boolean)">
145 <summary>
146 If callbackMethod is null the InvokeOnTarget implementation
147 is just the code to throw an exception
148 </summary>
149 <param name="emitter"></param>
150 <param name="targetType"></param>
151 <param name="targetForInvocation"></param>
152 <param name="methodInfo"></param>
153 <param name="callbackMethod"></param>
154 <param name="version"></param>
155 <param name="allowChangeTarget">If true the invocation will implement the IChangeProxyTarget interface</param>
156 <returns></returns>
157 </member>
158 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.CreateIInvocationConstructor(System.Type,Castle.DynamicProxy.Generators.Emitters.NestedClassEmitter,Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference,Castle.DynamicProxy.Generators.ConstructorVersion)">
159 <summary>
160 Generates the constructor for the nested class that extends
161 <see cref="T:Castle.DynamicProxy.AbstractInvocation"/>
162 </summary>
163 <param name="targetFieldType"></param>
164 <param name="nested"></param>
165 <param name="targetField"></param>
166 <param name="version"></param>
167 </member>
168 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.CreateInitializeCacheMethodBody(System.Type,System.Reflection.MethodInfo[],Castle.DynamicProxy.Generators.Emitters.ClassEmitter,Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter)">
169 <summary>
170 Improvement: this cache should be static. We should generate a
171 type constructor instead
172 </summary>
173 </member>
174 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.AcceptMethod(System.Reflection.MethodInfo,System.Boolean)">
175 <summary>
176 Performs some basic screening and invokes the <see cref="T:Castle.DynamicProxy.IProxyGenerationHook"/>
177 to select methods.
178 </summary>
179 <param name="method"></param>
180 <param name="onlyVirtuals"></param>
181 <returns></returns>
182 </member>
183 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.IsAccessible(System.Reflection.MethodInfo)">
184 <summary>
185 Checks if the method is public or protected.
186 </summary>
187 <param name="method"></param>
188 <returns></returns>
189 </member>
190 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.ShouldSkipAttributeReplication(System.Attribute)">
191 <summary>
192 Attributes should be replicated if they are non-inheritable,
193 but there are some special cases where the attributes means
194 something to the CLR, where they should be skipped.
195 </summary>
196 </member>
197 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.ShouldCreateNewSlot(System.Reflection.MethodInfo)">
198 <summary>
199 Checks if the method has the same signature as a method that was marked as
200 one that should generate a new vtable slot.
201 </summary>
202 </member>
203 <member name="M:Castle.DynamicProxy.Generators.CacheKey.#ctor(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
204 <summary>
205 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.Generators.CacheKey"/> class.
206 </summary>
207 <param name="targetType">Type of the target.</param>
208 <param name="interfaces">The interfaces.</param>
209 <param name="options">The options.</param>
210 </member>
211 <member name="T:Castle.DynamicProxy.Generators.ClassProxyGenerator">
212 <summary>
213
214 </summary>
215 </member>
216 <member name="M:Castle.DynamicProxy.Generators.EventToGenerate.#ctor(Castle.DynamicProxy.Generators.Emitters.EventEmitter,System.Reflection.MethodInfo,System.Reflection.MethodInfo,System.Reflection.EventAttributes)">
217 <summary>
218 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.Generators.EventToGenerate"/> class.
219 </summary>
220 <param name="emitter">The emitter.</param>
221 <param name="addMethod">The add method.</param>
222 <param name="removeMethod">The remove method.</param>
223 <param name="attributes">The attributes.</param>
224 </member>
225 <member name="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator">
226 <summary>
227
228 </summary>
229 </member>
230 <member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.FindMethodOnTargetType(System.Reflection.MethodInfo,System.Type,System.Boolean)">
231 <summary>
232 Finds the type of the method on target.
233 </summary>
234 <param name="methodOnInterface">The method on interface.</param>
235 <param name="proxyTargetType">Type of the proxy target.</param>
236 /// <param name="checkMixins">if set to <c>true</c> will check implementation on mixins.</param>
237 <returns></returns>
238 </member>
239 <member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.IsTypeEquivalent(System.Type,System.Type)">
240 <summary>
241 Checks whether the given types are the same. This is
242 more complicated than it looks.
243 </summary>
244 <param name="sourceType"></param>
245 <param name="targetType"></param>
246 <returns></returns>
247 </member>
248 <member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.IsMethodEquivalent(System.Reflection.MethodInfo,System.Reflection.MethodInfo)">
249 <summary>
250 Checks whether the given methods are the same.
251 </summary>
252 <param name="methodInfo"></param>
253 <param name="methodOnInterface"></param>
254 <returns>True if the methods are the same.</returns>
255 </member>
256 <member name="T:Castle.DynamicProxy.Generators.InterfaceGeneratorType">
257 <summary>
258 This is used by the ProxyObjectReference class durin de-serialiation, to know
259 which generator it should use
260 </summary>
261 </member>
262 <member name="T:Castle.DynamicProxy.Generators.MethodFinder">
263 <summary>
264 Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue
265 where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded.
266 </summary>
267 </member>
268 <member name="T:Castle.DynamicProxy.Serialization.ProxyObjectReference">
269 <summary>
270 Handles the deserialization of proxies.
271 </summary>
272 </member>
273 <member name="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.ResetScope">
274 <summary>
275 Resets the <see cref="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope"/> used for deserialization to a new scope.
276 </summary>
277 <remarks>This is useful for test cases.</remarks>
278 </member>
279 <member name="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.SetScope(Castle.DynamicProxy.ModuleScope)">
280 <summary>
281 Resets the <see cref="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope"/> used for deserialization to a given <paramref name="scope"/>.
282 </summary>
283 <param name="scope">The scope to be used for deserialization.</param>
284 <remarks>By default, the deserialization process uses a different scope than the rest of the application, which can lead to multiple proxies
285 being generated for the same type. By explicitly setting the deserialization scope to the application's scope, this can be avoided.</remarks>
286 </member>
287 <member name="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope">
288 <summary>
289 Gets the <see cref="T:Castle.DynamicProxy.ModuleScope"/> used for deserialization.
290 </summary>
291 <value>As <see cref="T:Castle.DynamicProxy.Serialization.ProxyObjectReference"/> has no way of automatically determining the scope used by the application (and the application
292 might use more than one scope at the same time), <see cref="T:Castle.DynamicProxy.Serialization.ProxyObjectReference"/> uses a dedicated scope instance for deserializing proxy
293 types. This instance can be reset and set to a specific value via <see cref="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.ResetScope"/> and <see cref="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.SetScope(Castle.DynamicProxy.ModuleScope)"/>.</value>
294 </member>
295 <member name="T:Castle.DynamicProxy.IProxyGenerationHook">
296 <summary>
297 Used during the target type inspection process.
298 Implementors have a chance to interfere in the
299 proxy generation process
300 </summary>
301 </member>
302 <member name="M:Castle.DynamicProxy.IProxyGenerationHook.ShouldInterceptMethod(System.Type,System.Reflection.MethodInfo)">
303 <summary>
304 Invoked by the generation process to know if
305 the specified member should be proxied
306 </summary>
307 <param name="type"></param>
308 <param name="memberInfo"></param>
309 <returns></returns>
310 </member>
311 <member name="M:Castle.DynamicProxy.IProxyGenerationHook.NonVirtualMemberNotification(System.Type,System.Reflection.MemberInfo)">
312 <summary>
313 Invoked by the generation process to notify that a
314 member wasn't marked as virtual.
315 </summary>
316 <param name="type"></param>
317 <param name="memberInfo"></param>
318 </member>
319 <member name="M:Castle.DynamicProxy.IProxyGenerationHook.MethodsInspected">
320 <summary>
321 Invoked by the generation process to notify
322 that the whole process is completed.
323 </summary>
324 </member>
325 <member name="T:Castle.DynamicProxy.CacheMappingsAttribute">
326 <summary>
327 Applied to the assemblies saved by <see cref="T:Castle.DynamicProxy.ModuleScope"/> in order to persist the cache data included in the persisted assembly.
328 </summary>
329 </member>
330 <member name="T:Castle.DynamicProxy.IProxyBuilder">
331 <summary>
332 Abstracts the implementation of proxy constructions
333 </summary>
334 </member>
335 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateClassProxy(System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
336 <summary>
337 Implementors should return a proxy for the specified type.
338 </summary>
339 <param name="theClass">The proxy base class.</param>
340 <param name="options">The proxy generation options.</param>
341 <returns>The generated proxy type.</returns>
342 </member>
343 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateClassProxy(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
344 <summary>
345 Implementors should return a proxy for the specified
346 type and interfaces. The interfaces must be only "mark" interfaces
347 </summary>
348 <param name="theClass"></param>
349 <param name="interfaces"></param>
350 <param name="options"></param>
351 <returns></returns>
352 </member>
353 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithTarget(System.Type,System.Type[],System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
354 <summary>
355 Implementors should return a proxy for the specified
356 interface that 'proceeds' executions to the
357 specified target.
358 </summary>
359 <param name="theInterface"></param>
360 <param name="interfaces"></param>
361 <param name="targetType"></param>
362 <param name="options"></param>
363 <returns></returns>
364 </member>
365 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
366 <summary>
367 Implementors should return a proxy for the specified
368 interface that delegate all executions to the
369 specified interceptor(s).
370 </summary>
371 <param name="theInterface"></param>
372 <param name="interfaces"></param>
373 <param name="options"></param>
374 <returns></returns>
375 </member>
376 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithTargetInterface(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
377 <summary>
378 Implementors should return a proxy for the specified
379 interface(s) that delegate all executions to the
380 specified interceptor(s) and uses an instance of the interface
381 as their targets, rather than a class. All IInvocation's
382 should then implement IChangeProxyTarget.
383 </summary>
384 <param name="theInterface"></param>
385 <param name="interfaces"></param>
386 <param name="options"></param>
387 <returns></returns>
388 </member>
389 <member name="P:Castle.DynamicProxy.IProxyBuilder.ModuleScope">
390 <summary>
391 Gets the module scope used by this builder for generating code.
392 </summary>
393 <value>The module scope used by this builder.</value>
394 </member>
395 <member name="M:Castle.DynamicProxy.InternalsHelper.IsInternalToDynamicProxy(System.Reflection.Assembly)">
396 <summary>
397 Determines whether this assembly has internals visible to dynamic proxy.
398 </summary>
399 <param name="asm">The assembly to inspect.</param>
400 </member>
401 <member name="M:Castle.DynamicProxy.InternalsHelper.IsInternal(System.Reflection.MethodInfo)">
402 <summary>
403 Determines whether the specified method is internal.
404 </summary>
405 <param name="method">The method.</param>
406 <returns>
407 <c>true</c> if the specified method is internal; otherwise, <c>false</c>.
408 </returns>
409 </member>
410 <member name="M:Castle.DynamicProxy.MixinData.#ctor(System.Collections.Generic.IEnumerable{System.Object})">
411 <summary>
412 Because we need to cache the types based on the mixed in mixins, we do the following here:
413 - Get all the mixin interfaces
414 - Sort them by full name
415 - Return them by position
416
417 The idea is to have reproducable behavior for the case that mixins are registered in different orders.
418 This method is here because it is required
419 </summary>
420 </member>
421 <member name="T:Castle.DynamicProxy.ModuleScope">
422 <summary>
423 Summary description for ModuleScope.
424 </summary>
425 </member>
426 <member name="F:Castle.DynamicProxy.ModuleScope.DEFAULT_FILE_NAME">
427 <summary>
428 The default file name used when the assembly is saved using <see cref="F:Castle.DynamicProxy.ModuleScope.DEFAULT_FILE_NAME"/>.
429 </summary>
430 </member>
431 <member name="F:Castle.DynamicProxy.ModuleScope.DEFAULT_ASSEMBLY_NAME">
432 <summary>
433 The default assembly (simple) name used for the assemblies generated by a <see cref="T:Castle.DynamicProxy.ModuleScope"/> instance.
434 </summary>
435 </member>
436 <member name="M:Castle.DynamicProxy.ModuleScope.#ctor">
437 <summary>
438 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ModuleScope"/> class; assemblies created by this instance will not be saved.
439 </summary>
440 </member>
441 <member name="M:Castle.DynamicProxy.ModuleScope.#ctor(System.Boolean)">
442 <summary>
443 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ModuleScope"/> class, allowing to specify whether the assemblies generated by this instance
444 should be saved.
445 </summary>
446 <param name="savePhysicalAssembly">If set to <c>true</c> saves the generated module.</param>
447 </member>
448 <member name="M:Castle.DynamicProxy.ModuleScope.#ctor(System.Boolean,System.String,System.String,System.String,System.String)">
449 <summary>
450 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ModuleScope"/> class, allowing to specify whether the assemblies generated by this instance
451 should be saved and what simple names are to be assigned to them.
452 </summary>
453 <param name="savePhysicalAssembly">If set to <c>true</c> saves the generated module.</param>
454 <param name="strongAssemblyName">The simple name of the strong-named assembly generated by this <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</param>
455 <param name="strongModulePath">The path and file name of the manifest module of the strong-named assembly generated by this <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</param>
456 <param name="weakAssemblyName">The simple name of the weak-named assembly generated by this <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</param>
457 <param name="weakModulePath">The path and file name of the manifest module of the weak-named assembly generated by this <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</param>
458 </member>
459 <member name="M:Castle.DynamicProxy.ModuleScope.GetFromCache(Castle.DynamicProxy.Generators.CacheKey)">
460 <summary>
461 Returns a type from this scope's type cache, or null if the key cannot be found.
462 </summary>
463 <param name="key">The key to be looked up in the cache.</param>
464 <returns>The type from this scope's type cache matching the key, or null if the key cannot be found</returns>
465 </member>
466 <member name="M:Castle.DynamicProxy.ModuleScope.RegisterInCache(Castle.DynamicProxy.Generators.CacheKey,System.Type)">
467 <summary>
468 Registers a type in this scope's type cache.
469 </summary>
470 <param name="key">The key to be associated with the type.</param>
471 <param name="type">The type to be stored in the cache.</param>
472 </member>
473 <member name="M:Castle.DynamicProxy.ModuleScope.GetKeyPair">
474 <summary>
475 Gets the key pair used to sign the strong-named assembly generated by this <see cref="T:Castle.DynamicProxy.ModuleScope"/>.
476 </summary>
477 <returns></returns>
478 </member>
479 <member name="M:Castle.DynamicProxy.ModuleScope.ObtainDynamicModule(System.Boolean)">
480 <summary>
481 Gets the specified module generated by this scope, creating a new one if none has yet been generated.
482 </summary>
483 <param name="isStrongNamed">If set to true, a strong-named module is returned; otherwise, a weak-named module is returned.</param>
484 <returns>A strong-named or weak-named module generated by this scope, as specified by the <paramref name="isStrongNamed"/> parameter.</returns>
485 </member>
486 <member name="M:Castle.DynamicProxy.ModuleScope.ObtainDynamicModuleWithStrongName">
487 <summary>
488 Gets the strong-named module generated by this scope, creating a new one if none has yet been generated.
489 </summary>
490 <returns>A strong-named module generated by this scope.</returns>
491 </member>
492 <member name="M:Castle.DynamicProxy.ModuleScope.ObtainDynamicModuleWithWeakName">
493 <summary>
494 Gets the weak-named module generated by this scope, creating a new one if none has yet been generated.
495 </summary>
496 <returns>A weak-named module generated by this scope.</returns>
497 </member>
498 <member name="M:Castle.DynamicProxy.ModuleScope.SaveAssembly">
499 <summary>
500 Saves the generated assembly with the name and directory information given when this <see cref="T:Castle.DynamicProxy.ModuleScope"/> instance was created (or with
501 the <see cref="F:Castle.DynamicProxy.ModuleScope.DEFAULT_FILE_NAME"/> and current directory if none was given).
502 </summary>
503 <remarks>
504 <para>
505 This method stores the generated assembly in the directory passed as part of the module information specified when this instance was
506 constructed (if any, else the current directory is used). If both a strong-named and a weak-named assembly
507 have been generated, it will throw an exception; in this case, use the <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly(System.Boolean)"/> overload.
508 </para>
509 <para>
510 If this <see cref="T:Castle.DynamicProxy.ModuleScope"/> was created without indicating that the assembly should be saved, this method does nothing.
511 </para></remarks>
512 <exception cref="T:System.InvalidOperationException">Both a strong-named and a weak-named assembly have been generated.</exception>
513 <returns>The path of the generated assembly file, or null if no file has been generated.</returns>
514 </member>
515 <member name="M:Castle.DynamicProxy.ModuleScope.SaveAssembly(System.Boolean)">
516 <summary>
517 Saves the specified generated assembly with the name and directory information given when this <see cref="T:Castle.DynamicProxy.ModuleScope"/> instance was created
518 (or with the <see cref="F:Castle.DynamicProxy.ModuleScope.DEFAULT_FILE_NAME"/> and current directory if none was given).
519 </summary>
520 <param name="strongNamed">True if the generated assembly with a strong name should be saved (see <see cref="P:Castle.DynamicProxy.ModuleScope.StrongNamedModule"/>);
521 false if the generated assembly without a strong name should be saved (see <see cref="P:Castle.DynamicProxy.ModuleScope.WeakNamedModule"/>.</param>
522 <remarks>
523 <para>
524 This method stores the specified generated assembly in the directory passed as part of the module information specified when this instance was
525 constructed (if any, else the current directory is used).
526 </para>
527 <para>
528 If this <see cref="T:Castle.DynamicProxy.ModuleScope"/> was created without indicating that the assembly should be saved, this method does nothing.
529 </para>
530 </remarks>
531 <exception cref="T:System.InvalidOperationException">No assembly has been generated that matches the <paramref name="strongNamed"/> parameter.
532 </exception>
533 <returns>The path of the generated assembly file, or null if no file has been generated.</returns>
534 </member>
535 <member name="M:Castle.DynamicProxy.ModuleScope.LoadAssemblyIntoCache(System.Reflection.Assembly)">
536 <summary>
537 Loads the generated types from the given assembly into this <see cref="T:Castle.DynamicProxy.ModuleScope"/>'s cache.
538 </summary>
539 <param name="assembly">The assembly to load types from. This assembly must have been saved via <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly(System.Boolean)"/> or
540 <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly"/>, or it must have the <see cref="T:Castle.DynamicProxy.CacheMappingsAttribute"/> manually applied.</param>
541 <remarks>
542 This method can be used to load previously generated and persisted proxy types from disk into this scope's type cache, eg. in order
543 to avoid the performance hit associated with proxy generation.
544 </remarks>
545 </member>
546 <member name="P:Castle.DynamicProxy.ModuleScope.RWLock">
547 <summary>
548 Users of this <see cref="T:Castle.DynamicProxy.ModuleScope"/> should use this lock when accessing the cache.
549 </summary>
550 </member>
551 <member name="P:Castle.DynamicProxy.ModuleScope.StrongNamedModule">
552 <summary>
553 Gets the strong-named module generated by this scope, or <see langword="null"/> if none has yet been generated.
554 </summary>
555 <value>The strong-named module generated by this scope, or <see langword="null"/> if none has yet been generated.</value>
556 </member>
557 <member name="P:Castle.DynamicProxy.ModuleScope.StrongNamedModuleName">
558 <summary>
559 Gets the file name of the strongly named module generated by this scope.
560 </summary>
561 <value>The file name of the strongly named module generated by this scope.</value>
562 </member>
563 <member name="P:Castle.DynamicProxy.ModuleScope.StrongNamedModuleDirectory">
564 <summary>
565 Gets the directory where the strongly named module generated by this scope will be saved, or <see langword="null"/> if the current directory
566 is used.
567 </summary>
568 <value>The directory where the strongly named module generated by this scope will be saved when <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly"/> is called
569 (if this scope was created to save modules).</value>
570 </member>
571 <member name="P:Castle.DynamicProxy.ModuleScope.WeakNamedModule">
572 <summary>
573 Gets the weak-named module generated by this scope, or <see langword="null"/> if none has yet been generated.
574 </summary>
575 <value>The weak-named module generated by this scope, or <see langword="null"/> if none has yet been generated.</value>
576 </member>
577 <member name="P:Castle.DynamicProxy.ModuleScope.WeakNamedModuleName">
578 <summary>
579 Gets the file name of the weakly named module generated by this scope.
580 </summary>
581 <value>The file name of the weakly named module generated by this scope.</value>
582 </member>
583 <member name="P:Castle.DynamicProxy.ModuleScope.WeakNamedModuleDirectory">
584 <summary>
585 Gets the directory where the weakly named module generated by this scope will be saved, or <see langword="null"/> if the current directory
586 is used.
587 </summary>
588 <value>The directory where the weakly named module generated by this scope will be saved when <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly"/> is called
589 (if this scope was created to save modules).</value>
590 </member>
591 <member name="T:Castle.DynamicProxy.PersistentProxyBuilder">
592 <summary>
593 ProxyBuilder that persists the generated type.
594 </summary>
595 <remarks>
596 The saved assembly contains just the last generated type.
597 </remarks>
598 </member>
599 <member name="M:Castle.DynamicProxy.PersistentProxyBuilder.#ctor">
600 <summary>
601 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.PersistentProxyBuilder"/> class.
602 </summary>
603 </member>
604 <member name="M:Castle.DynamicProxy.PersistentProxyBuilder.SaveAssembly">
605 <summary>
606 Saves the generated assembly to a physical file. Note that this renders the <see cref="T:Castle.DynamicProxy.PersistentProxyBuilder"/> unusable.
607 </summary>
608 <returns>The path of the generated assembly file, or null if no assembly has been generated.</returns>
609 <remarks>This method does not support saving multiple files. If both a signed and an unsigned module have been generated, use the
610 respective methods of the <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</remarks>
611 </member>
612 <member name="M:Castle.DynamicProxy.ProxyGenerationOptions.#ctor(Castle.DynamicProxy.IProxyGenerationHook)">
613 <summary>
614 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/> class.
615 </summary>
616 <param name="hook">The hook.</param>
617 </member>
618 <member name="M:Castle.DynamicProxy.ProxyGenerationOptions.#ctor">
619 <summary>
620 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/> class.
621 </summary>
622 </member>
623 <member name="M:Castle.DynamicProxy.ProxyGenerator.#ctor(Castle.DynamicProxy.IProxyBuilder)">
624 <summary>
625 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> class.
626 </summary>
627 <param name="builder">The builder.</param>
628 </member>
629 <member name="M:Castle.DynamicProxy.ProxyGenerator.#ctor">
630 <summary>
631 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> class.
632 </summary>
633 </member>
634 <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.Core.Interceptor.IInterceptor[])">
635 <summary>
636 Creates the class proxy.
637 </summary>
638 <param name="targetType">Type of the target.</param>
639 <param name="interfaces">The interfaces.</param>
640 <param name="interceptors">The interceptors.</param>
641 <returns></returns>
642 </member>
643 <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.Core.Interceptor.IInterceptor[],System.Object[])">
644 <summary>
645 Creates the class proxy.
646 </summary>
647 <param name="targetType">Type of the target.</param>
648 <param name="interceptors">The interceptors.</param>
649 <param name="constructorArgs">The constructor args.</param>
650 <returns></returns>
651 </member>
652 <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
653 <summary>
654
655 </summary>
656 <param name="targetType"></param>
657 <param name="options"></param>
658 <param name="interceptors"></param>
659 <returns></returns>
660 </member>
661 <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions,System.Object[],Castle.Core.Interceptor.IInterceptor[])">
662 <summary>
663 Creates the class proxy.
664 </summary>
665 <param name="targetType">Type of the target.</param>
666 <param name="interfaces">The interfaces.</param>
667 <param name="options">The options.</param>
668 <param name="constructorArgs">The constructor args.</param>
669 <param name="interceptors">The interceptors.</param>
670 <returns></returns>
671 </member>
672 <member name="P:Castle.DynamicProxy.ProxyGenerator.ProxyBuilder">
673 <summary>
674 Gets the proxy builder instance.
675 </summary>
676 <value>The proxy builder.</value>
677 </member>
678 <member name="M:Castle.DynamicProxy.RemotableInvocation.Proceed">
679 <summary>
680
681 </summary>
682 <returns></returns>
683 </member>
684 <member name="P:Castle.DynamicProxy.RemotableInvocation.Method">
685 <summary>
686
687 </summary>
688 </member>
689 <member name="P:Castle.DynamicProxy.RemotableInvocation.MethodInvocationTarget">
690 <summary>
691 For interface proxies, this will point to the
692 <see cref="T:System.Reflection.MethodInfo"/> on the target class
693 </summary>
694 </member>
695 </members>
696</doc>