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