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>
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 - Use the interceptor selector if provided
114 - Add tests and fixes for 'leaking this' problem
115 - Mixin support
116 </remarks>
117 </member>
118 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.GetProxyTargetReference">
119 <summary>
120 Used by dinamically implement <see cref="T:Castle.Core.Interceptor.IProxyTargetAccessor"/>
121 </summary>
122 <returns></returns>
123 </member>
124 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.GenerateParameterlessConstructor(Castle.DynamicProxy.Generators.Emitters.ClassEmitter,System.Type,Castle.DynamicProxy.Generators.Emitters.SimpleAST.FieldReference)">
125 <summary>
126 Generates a parameters constructor that initializes the proxy
127 state with <see cref="T:Castle.Core.Interceptor.StandardInterceptor"/> just to make it non-null.
128 <para>
129 This constructor is important to allow proxies to be XML serializable
130 </para>
131 </summary>
132 </member>
133 <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)">
134 <summary>
135 If callbackMethod is null the InvokeOnTarget implementation
136 is just the code to throw an exception
137 </summary>
138 <param name="emitter"></param>
139 <param name="targetType"></param>
140 <param name="targetForInvocation"></param>
141 <param name="methodInfo"></param>
142 <param name="callbackMethod"></param>
143 <param name="version"></param>
144 <returns></returns>
145 </member>
146 <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)">
147 <summary>
148 If callbackMethod is null the InvokeOnTarget implementation
149 is just the code to throw an exception
150 </summary>
151 <param name="emitter"></param>
152 <param name="targetType"></param>
153 <param name="targetForInvocation"></param>
154 <param name="methodInfo"></param>
155 <param name="callbackMethod"></param>
156 <param name="version"></param>
157 <param name="allowChangeTarget">If true the invocation will implement the IChangeProxyTarget interface</param>
158 <returns></returns>
159 </member>
160 <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)">
161 <summary>
162 Generates the constructor for the nested class that extends
163 <see cref="T:Castle.DynamicProxy.AbstractInvocation"/>
164 </summary>
165 <param name="targetFieldType"></param>
166 <param name="nested"></param>
167 <param name="targetField"></param>
168 <param name="version"></param>
169 </member>
170 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.CreateInitializeCacheMethodBody(System.Type,System.Reflection.MethodInfo[],Castle.DynamicProxy.Generators.Emitters.ClassEmitter,Castle.DynamicProxy.Generators.Emitters.ConstructorEmitter)">
171 <summary>
172 Improvement: this cache should be static. We should generate a
173 type constructor instead
174 </summary>
175 </member>
176 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.AcceptMethod(System.Reflection.MethodInfo,System.Boolean)">
177 <summary>
178 Performs some basic screening and invokes the <see cref="T:Castle.DynamicProxy.IProxyGenerationHook"/>
179 to select methods.
180 </summary>
181 <param name="method"></param>
182 <param name="onlyVirtuals"></param>
183 <returns></returns>
184 </member>
185 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.IsAccessible(System.Reflection.MethodInfo)">
186 <summary>
187 Checks if the method is public or protected.
188 </summary>
189 <param name="method"></param>
190 <returns></returns>
191 </member>
192 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.ShouldSkipAttributeReplication(System.Attribute)">
193 <summary>
194 Attributes should be replicated if they are non-inheritable,
195 but there are some special cases where the attributes means
196 something to the CLR, where they should be skipped.
197 </summary>
198 </member>
199 <member name="M:Castle.DynamicProxy.Generators.BaseProxyGenerator.ShouldCreateNewSlot(System.Reflection.MethodInfo)">
200 <summary>
201 Checks if the method has the same signature as a method that was marked as
202 one that should generate a new vtable slot.
203 </summary>
204 </member>
205 <member name="M:Castle.DynamicProxy.Generators.CacheKey.#ctor(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
206 <summary>
207 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.Generators.CacheKey"/> class.
208 </summary>
209 <param name="targetType">Type of the target.</param>
210 <param name="interfaces">The interfaces.</param>
211 <param name="options">The options.</param>
212 </member>
213 <member name="T:Castle.DynamicProxy.Generators.ClassProxyGenerator">
214 <summary>
215
216 </summary>
217 </member>
218 <member name="M:Castle.DynamicProxy.Generators.EventToGenerate.#ctor(Castle.DynamicProxy.Generators.Emitters.EventEmitter,System.Reflection.MethodInfo,System.Reflection.MethodInfo,System.Reflection.EventAttributes)">
219 <summary>
220 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.Generators.EventToGenerate"/> class.
221 </summary>
222 <param name="emitter">The emitter.</param>
223 <param name="addMethod">The add method.</param>
224 <param name="removeMethod">The remove method.</param>
225 <param name="attributes">The attributes.</param>
226 </member>
227 <member name="T:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator">
228 <summary>
229
230 </summary>
231 </member>
232 <member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.FindMethodOnTargetType(System.Reflection.MethodInfo,System.Type)">
233 <summary>
234 Finds the type of the method on target.
235 </summary>
236 <param name="methodOnInterface">The method on interface.</param>
237 <param name="proxyTargetType">Type of the proxy target.</param>
238 <returns></returns>
239 </member>
240 <member name="M:Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.IsTypeEquivalent(System.Type,System.Type)">
241 <summary>
242 Checks whether the given types are the same. This is
243 more complicated than it looks.
244 </summary>
245 <param name="sourceType"></param>
246 <param name="targetType"></param>
247 <returns></returns>
248 </member>
249 <member name="T:Castle.DynamicProxy.Generators.InterfaceGeneratorType">
250 <summary>
251 This is used by the ProxyObjectReference class durin de-serialiation, to know
252 which generator it should use
253 </summary>
254 </member>
255 <member name="T:Castle.DynamicProxy.Generators.MethodFinder">
256 <summary>
257 Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue
258 where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded.
259 </summary>
260 </member>
261 <member name="T:Castle.DynamicProxy.Serialization.ProxyObjectReference">
262 <summary>
263 Handles the deserialization of proxies.
264 </summary>
265 </member>
266 <member name="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.ResetScope">
267 <summary>
268 Resets the <see cref="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope"/> used for deserialization to a new scope.
269 </summary>
270 <remarks>This is useful for test cases.</remarks>
271 </member>
272 <member name="M:Castle.DynamicProxy.Serialization.ProxyObjectReference.SetScope(Castle.DynamicProxy.ModuleScope)">
273 <summary>
274 Resets the <see cref="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope"/> used for deserialization to a given <paramref name="scope"/>.
275 </summary>
276 <param name="scope">The scope to be used for deserialization.</param>
277 <remarks>By default, the deserialization process uses a different scope than the rest of the application, which can lead to multiple proxies
278 being generated for the same type. By explicitly setting the deserialization scope to the application's scope, this can be avoided.</remarks>
279 </member>
280 <member name="P:Castle.DynamicProxy.Serialization.ProxyObjectReference.ModuleScope">
281 <summary>
282 Gets the <see cref="T:Castle.DynamicProxy.ModuleScope"/> used for deserialization.
283 </summary>
284 <value>As <see cref="T:Castle.DynamicProxy.Serialization.ProxyObjectReference"/> has no way of automatically determining the scope used by the application (and the application
285 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
286 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>
287 </member>
288 <member name="T:Castle.DynamicProxy.IProxyGenerationHook">
289 <summary>
290 Used during the target type inspection process.
291 Implementors have a chance to interfere in the
292 proxy generation process
293 </summary>
294 </member>
295 <member name="M:Castle.DynamicProxy.IProxyGenerationHook.ShouldInterceptMethod(System.Type,System.Reflection.MethodInfo)">
296 <summary>
297 Invoked by the generation process to know if
298 the specified member should be proxied
299 </summary>
300 <param name="type"></param>
301 <param name="memberInfo"></param>
302 <returns></returns>
303 </member>
304 <member name="M:Castle.DynamicProxy.IProxyGenerationHook.NonVirtualMemberNotification(System.Type,System.Reflection.MemberInfo)">
305 <summary>
306 Invoked by the generation process to notify that a
307 member wasn't marked as virtual.
308 </summary>
309 <param name="type"></param>
310 <param name="memberInfo"></param>
311 </member>
312 <member name="M:Castle.DynamicProxy.IProxyGenerationHook.MethodsInspected">
313 <summary>
314 Invoked by the generation process to notify
315 that the whole process is completed.
316 </summary>
317 </member>
318 <member name="T:Castle.DynamicProxy.CacheMappingsAttribute">
319 <summary>
320 Applied to the assemblies saved by <see cref="T:Castle.DynamicProxy.ModuleScope"/> in order to persist the cache data included in the persisted assembly.
321 </summary>
322 </member>
323 <member name="T:Castle.DynamicProxy.IProxyBuilder">
324 <summary>
325 Abstracts the implementation of proxy constructions
326 </summary>
327 </member>
328 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateClassProxy(System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
329 <summary>
330 Implementors should return a proxy for the specified type.
331 </summary>
332 <param name="theClass">The proxy base class.</param>
333 <param name="options">The proxy generation options.</param>
334 <returns>The generated proxy type.</returns>
335 </member>
336 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateClassProxy(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
337 <summary>
338 Implementors should return a proxy for the specified
339 type and interfaces. The interfaces must be only "mark" interfaces
340 </summary>
341 <param name="theClass"></param>
342 <param name="interfaces"></param>
343 <param name="options"></param>
344 <returns></returns>
345 </member>
346 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithTarget(System.Type,System.Type[],System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
347 <summary>
348 Implementors should return a proxy for the specified
349 interface that 'proceeds' executions to the
350 specified target.
351 </summary>
352 <param name="theInterface"></param>
353 <param name="interfaces"></param>
354 <param name="targetType"></param>
355 <param name="options"></param>
356 <returns></returns>
357 </member>
358 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithoutTarget(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions)">
359 <summary>
360 Implementors should return a proxy for the specified
361 interface that delegate all executions to the
362 specified interceptor(s).
363 </summary>
364 <param name="theInterface"></param>
365 <param name="interfaces"></param>
366 <param name="options"></param>
367 <returns></returns>
368 </member>
369 <member name="M:Castle.DynamicProxy.IProxyBuilder.CreateInterfaceProxyTypeWithTargetInterface(System.Type,Castle.DynamicProxy.ProxyGenerationOptions)">
370 <summary>
371 Implementors should return a proxy for the specified
372 interface that delegate all executions to the
373 specified interceptor(s) and uses an instance of the interface
374 as their targets, rather than a class. All IInvocation's
375 should then implement IChangeProxyTarget.
376 </summary>
377 <param name="theInterface"></param>
378 <param name="options"></param>
379 <returns></returns>
380 </member>
381 <member name="P:Castle.DynamicProxy.IProxyBuilder.ModuleScope">
382 <summary>
383 Gets the module scope used by this builder for generating code.
384 </summary>
385 <value>The module scope used by this builder.</value>
386 </member>
387 <member name="M:Castle.DynamicProxy.InternalsHelper.IsInternalToDynamicProxy(System.Reflection.Assembly)">
388 <summary>
389 Determines whether this assembly has internals visisble to dynamic proxy.
390 </summary>
391 <param name="asm">The asm.</param>
392 </member>
393 <member name="M:Castle.DynamicProxy.InternalsHelper.IsInternal(System.Reflection.MethodInfo)">
394 <summary>
395 Determines whether the specified method is internal.
396 </summary>
397 <param name="method">The method.</param>
398 <returns>
399 <c>true</c> if the specified method is internal; otherwise, <c>false</c>.
400 </returns>
401 </member>
402 <member name="T:Castle.DynamicProxy.ModuleScope">
403 <summary>
404 Summary description for ModuleScope.
405 </summary>
406 </member>
407 <member name="F:Castle.DynamicProxy.ModuleScope.DEFAULT_FILE_NAME">
408 <summary>
409 The default file name used when the assembly is saved using <see cref="F:Castle.DynamicProxy.ModuleScope.DEFAULT_FILE_NAME"/>.
410 </summary>
411 </member>
412 <member name="F:Castle.DynamicProxy.ModuleScope.DEFAULT_ASSEMBLY_NAME">
413 <summary>
414 The default assembly (simple) name used for the assemblies generated by a <see cref="T:Castle.DynamicProxy.ModuleScope"/> instance.
415 </summary>
416 </member>
417 <member name="M:Castle.DynamicProxy.ModuleScope.#ctor">
418 <summary>
419 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ModuleScope"/> class; assemblies created by this instance will not be saved.
420 </summary>
421 </member>
422 <member name="M:Castle.DynamicProxy.ModuleScope.#ctor(System.Boolean)">
423 <summary>
424 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ModuleScope"/> class, allowing to specify whether the assemblies generated by this instance
425 should be saved.
426 </summary>
427 <param name="savePhysicalAssembly">If set to <c>true</c> saves the generated module.</param>
428 </member>
429 <member name="M:Castle.DynamicProxy.ModuleScope.#ctor(System.Boolean,System.String,System.String,System.String,System.String)">
430 <summary>
431 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ModuleScope"/> class, allowing to specify whether the assemblies generated by this instance
432 should be saved and what simple names are to be assigned to them.
433 </summary>
434 <param name="savePhysicalAssembly">If set to <c>true</c> saves the generated module.</param>
435 <param name="strongAssemblyName">The simple name of the strong-named assembly generated by this <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</param>
436 <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>
437 <param name="weakAssemblyName">The simple name of the weak-named assembly generated by this <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</param>
438 <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>
439 </member>
440 <member name="M:Castle.DynamicProxy.ModuleScope.GetFromCache(Castle.DynamicProxy.Generators.CacheKey)">
441 <summary>
442 Returns a type from this scope's type cache, or null if the key cannot be found.
443 </summary>
444 <param name="key">The key to be looked up in the cache.</param>
445 <returns>The type from this scope's type cache matching the key, or null if the key cannot be found</returns>
446 </member>
447 <member name="M:Castle.DynamicProxy.ModuleScope.RegisterInCache(Castle.DynamicProxy.Generators.CacheKey,System.Type)">
448 <summary>
449 Registers a type in this scope's type cache.
450 </summary>
451 <param name="key">The key to be associated with the type.</param>
452 <param name="type">The type to be stored in the cache.</param>
453 </member>
454 <member name="M:Castle.DynamicProxy.ModuleScope.GetKeyPair">
455 <summary>
456 Gets the key pair used to sign the strong-named assembly generated by this <see cref="T:Castle.DynamicProxy.ModuleScope"/>.
457 </summary>
458 <returns></returns>
459 </member>
460 <member name="M:Castle.DynamicProxy.ModuleScope.ObtainDynamicModule(System.Boolean)">
461 <summary>
462 Gets the specified module generated by this scope, creating a new one if none has yet been generated.
463 </summary>
464 <param name="isStrongNamed">If set to true, a strong-named module is returned; otherwise, a weak-named module is returned.</param>
465 <returns>A strong-named or weak-named module generated by this scope, as specified by the <paramref name="isStrongNamed"/> parameter.</returns>
466 </member>
467 <member name="M:Castle.DynamicProxy.ModuleScope.ObtainDynamicModuleWithStrongName">
468 <summary>
469 Gets the strong-named module generated by this scope, creating a new one if none has yet been generated.
470 </summary>
471 <returns>A strong-named module generated by this scope.</returns>
472 </member>
473 <member name="M:Castle.DynamicProxy.ModuleScope.ObtainDynamicModuleWithWeakName">
474 <summary>
475 Gets the weak-named module generated by this scope, creating a new one if none has yet been generated.
476 </summary>
477 <returns>A weak-named module generated by this scope.</returns>
478 </member>
479 <member name="M:Castle.DynamicProxy.ModuleScope.SaveAssembly">
480 <summary>
481 Saves the generated assembly with the name and directory information given when this <see cref="T:Castle.DynamicProxy.ModuleScope"/> instance was created (or with
482 the <see cref="F:Castle.DynamicProxy.ModuleScope.DEFAULT_FILE_NAME"/> and current directory if none was given).
483 </summary>
484 <remarks>
485 <para>
486 This method stores the generated assembly in the directory passed as part of the module information specified when this instance was
487 constructed (if any, else the current directory is used). If both a strong-named and a weak-named assembly
488 have been generated, it will throw an exception; in this case, use the <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly(System.Boolean)"/> overload.
489 </para>
490 <para>
491 If this <see cref="T:Castle.DynamicProxy.ModuleScope"/> was created without indicating that the assembly should be saved, this method does nothing.
492 </para></remarks>
493 <exception cref="T:System.InvalidOperationException">Both a strong-named and a weak-named assembly have been generated.</exception>
494 <returns>The path of the generated assembly file, or null if no file has been generated.</returns>
495 </member>
496 <member name="M:Castle.DynamicProxy.ModuleScope.SaveAssembly(System.Boolean)">
497 <summary>
498 Saves the specified generated assembly with the name and directory information given when this <see cref="T:Castle.DynamicProxy.ModuleScope"/> instance was created
499 (or with the <see cref="F:Castle.DynamicProxy.ModuleScope.DEFAULT_FILE_NAME"/> and current directory if none was given).
500 </summary>
501 <param name="strongNamed">True if the generated assembly with a strong name should be saved (see <see cref="P:Castle.DynamicProxy.ModuleScope.StrongNamedModule"/>);
502 false if the generated assembly without a strong name should be saved (see <see cref="P:Castle.DynamicProxy.ModuleScope.WeakNamedModule"/>.</param>
503 <remarks>
504 <para>
505 This method stores the specified 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).
507 </para>
508 <para>
509 If this <see cref="T:Castle.DynamicProxy.ModuleScope"/> was created without indicating that the assembly should be saved, this method does nothing.
510 </para>
511 </remarks>
512 <exception cref="T:System.InvalidOperationException">No assembly has been generated that matches the <paramref name="strongNamed"/> parameter.
513 </exception>
514 <returns>The path of the generated assembly file, or null if no file has been generated.</returns>
515 </member>
516 <member name="M:Castle.DynamicProxy.ModuleScope.LoadAssemblyIntoCache(System.Reflection.Assembly)">
517 <summary>
518 Loads the generated types from the given assembly into this <see cref="T:Castle.DynamicProxy.ModuleScope"/>'s cache.
519 </summary>
520 <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
521 <see cref="M:Castle.DynamicProxy.ModuleScope.SaveAssembly"/>, or it must have the <see cref="T:Castle.DynamicProxy.CacheMappingsAttribute"/> manually applied.</param>
522 <remarks>
523 This method can be used to load previously generated and persisted proxy types from disk into this scope's type cache, eg. in order
524 to avoid the performance hit associated with proxy generation.
525 </remarks>
526 </member>
527 <member name="P:Castle.DynamicProxy.ModuleScope.RWLock">
528 <summary>
529 Users of this <see cref="T:Castle.DynamicProxy.ModuleScope"/> should use this lock when accessing the cache.
530 </summary>
531 </member>
532 <member name="P:Castle.DynamicProxy.ModuleScope.StrongNamedModule">
533 <summary>
534 Gets the strong-named module generated by this scope, or <see langword="null"/> if none has yet been generated.
535 </summary>
536 <value>The strong-named module generated by this scope, or <see langword="null"/> if none has yet been generated.</value>
537 </member>
538 <member name="P:Castle.DynamicProxy.ModuleScope.StrongNamedModuleName">
539 <summary>
540 Gets the file name of the strongly named module generated by this scope.
541 </summary>
542 <value>The file name of the strongly named module generated by this scope.</value>
543 </member>
544 <member name="P:Castle.DynamicProxy.ModuleScope.StrongNamedModuleDirectory">
545 <summary>
546 Gets the directory where the strongly named module generated by this scope will be saved, or <see langword="null"/> if the current directory
547 is used.
548 </summary>
549 <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
550 (if this scope was created to save modules).</value>
551 </member>
552 <member name="P:Castle.DynamicProxy.ModuleScope.WeakNamedModule">
553 <summary>
554 Gets the weak-named module generated by this scope, or <see langword="null"/> if none has yet been generated.
555 </summary>
556 <value>The weak-named module generated by this scope, or <see langword="null"/> if none has yet been generated.</value>
557 </member>
558 <member name="P:Castle.DynamicProxy.ModuleScope.WeakNamedModuleName">
559 <summary>
560 Gets the file name of the weakly named module generated by this scope.
561 </summary>
562 <value>The file name of the weakly named module generated by this scope.</value>
563 </member>
564 <member name="P:Castle.DynamicProxy.ModuleScope.WeakNamedModuleDirectory">
565 <summary>
566 Gets the directory where the weakly named module generated by this scope will be saved, or <see langword="null"/> if the current directory
567 is used.
568 </summary>
569 <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
570 (if this scope was created to save modules).</value>
571 </member>
572 <member name="T:Castle.DynamicProxy.PersistentProxyBuilder">
573 <summary>
574 ProxyBuilder that persists the generated type.
575 </summary>
576 <remarks>
577 The saved assembly contains just the last generated type.
578 </remarks>
579 </member>
580 <member name="M:Castle.DynamicProxy.PersistentProxyBuilder.#ctor">
581 <summary>
582 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.PersistentProxyBuilder"/> class.
583 </summary>
584 </member>
585 <member name="M:Castle.DynamicProxy.PersistentProxyBuilder.SaveAssembly">
586 <summary>
587 Saves the generated assembly to a physical file. Note that this renders the <see cref="T:Castle.DynamicProxy.PersistentProxyBuilder"/> unusable.
588 </summary>
589 <returns>The path of the generated assembly file, or null if no assembly has been generated.</returns>
590 <remarks>This method does not support saving multiple files. If both a signed and an unsigned module have been generated, use the
591 respective methods of the <see cref="T:Castle.DynamicProxy.ModuleScope"/>.</remarks>
592 </member>
593 <member name="M:Castle.DynamicProxy.ProxyGenerationOptions.#ctor(Castle.DynamicProxy.IProxyGenerationHook)">
594 <summary>
595 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/> class.
596 </summary>
597 <param name="hook">The hook.</param>
598 </member>
599 <member name="M:Castle.DynamicProxy.ProxyGenerationOptions.#ctor">
600 <summary>
601 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerationOptions"/> class.
602 </summary>
603 </member>
604 <member name="M:Castle.DynamicProxy.ProxyGenerator.#ctor(Castle.DynamicProxy.IProxyBuilder)">
605 <summary>
606 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> class.
607 </summary>
608 <param name="builder">The builder.</param>
609 </member>
610 <member name="M:Castle.DynamicProxy.ProxyGenerator.#ctor">
611 <summary>
612 Initializes a new instance of the <see cref="T:Castle.DynamicProxy.ProxyGenerator"/> class.
613 </summary>
614 </member>
615 <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.Core.Interceptor.IInterceptor[])">
616 <summary>
617 Creates the class proxy.
618 </summary>
619 <param name="targetType">Type of the target.</param>
620 <param name="interfaces">The interfaces.</param>
621 <param name="interceptors">The interceptors.</param>
622 <returns></returns>
623 </member>
624 <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.Core.Interceptor.IInterceptor[],System.Object[])">
625 <summary>
626 Creates the class proxy.
627 </summary>
628 <param name="targetType">Type of the target.</param>
629 <param name="interceptors">The interceptors.</param>
630 <param name="constructorArgs">The constructor args.</param>
631 <returns></returns>
632 </member>
633 <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,Castle.DynamicProxy.ProxyGenerationOptions,Castle.Core.Interceptor.IInterceptor[])">
634 <summary>
635
636 </summary>
637 <param name="targetType"></param>
638 <param name="options"></param>
639 <param name="interceptors"></param>
640 <returns></returns>
641 </member>
642 <member name="M:Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(System.Type,System.Type[],Castle.DynamicProxy.ProxyGenerationOptions,System.Object[],Castle.Core.Interceptor.IInterceptor[])">
643 <summary>
644 Creates the class proxy.
645 </summary>
646 <param name="targetType">Type of the target.</param>
647 <param name="interfaces">The interfaces.</param>
648 <param name="options">The options.</param>
649 <param name="constructorArgs">The constructor args.</param>
650 <param name="interceptors">The interceptors.</param>
651 <returns></returns>
652 </member>
653 <member name="P:Castle.DynamicProxy.ProxyGenerator.ProxyBuilder">
654 <summary>
655 Gets the proxy builder instance.
656 </summary>
657 <value>The proxy builder.</value>
658 </member>
659 <member name="M:Castle.DynamicProxy.RemotableInvocation.Proceed">
660 <summary>
661
662 </summary>
663 <returns></returns>
664 </member>
665 <member name="P:Castle.DynamicProxy.RemotableInvocation.Method">
666 <summary>
667
668 </summary>
669 </member>
670 <member name="P:Castle.DynamicProxy.RemotableInvocation.MethodInvocationTarget">
671 <summary>
672 For interface proxies, this will point to the
673 <see cref="T:System.Reflection.MethodInfo"/> on the target class
674 </summary>
675 </member>
676 </members>
677</doc>