castle.windsor 2.0.0.0 → 2.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/docs/Committers.txt +5 -1
- data/docs/ReleaseNotes/{InversionOfControl Release Notes.txt → Changes.txt} +32 -0
- data/lib/net-3.5/Castle.Facilities.Logging.dll +0 -0
- data/lib/net-3.5/Castle.Facilities.Logging.xml +75 -0
- data/lib/net-3.5/Castle.MicroKernel.dll +0 -0
- data/lib/{Castle.MicroKernel.xml → net-3.5/Castle.MicroKernel.xml} +206 -18
- data/lib/net-3.5/Castle.Windsor.dll +0 -0
- data/lib/{Castle.Windsor.xml → net-3.5/Castle.Windsor.xml} +0 -0
- data/lib/sl-3.0/Castle.MicroKernel.dll +0 -0
- data/lib/sl-3.0/Castle.MicroKernel.xml +5404 -0
- data/lib/sl-3.0/Castle.Windsor.dll +0 -0
- data/lib/sl-3.0/Castle.Windsor.xml +1157 -0
- metadata +20 -35
- data/docs/Geting the source.txt +0 -11
- data/docs/ReleaseNotes/Core Release Notes.txt +0 -85
- data/docs/ReleaseNotes/DynamicProxy Release Notes.txt +0 -163
- data/docs/ReleaseNotes/License.txt +0 -14
- data/lib/Castle.MicroKernel.dll +0 -0
- data/lib/Castle.Windsor.dll +0 -0
data/docs/Committers.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
This file names who's behind the Castle Team. You can find more about us at http://www.castleproject.org/community/team.html
|
2
|
-
|
2
|
+
|
3
3
|
Committers
|
4
4
|
==========
|
5
5
|
(ordered by the date when joined the project)
|
@@ -33,6 +33,9 @@ Committers
|
|
33
33
|
- Chris Ortman
|
34
34
|
- Jonathon Rossi
|
35
35
|
- Tuna Toks�z
|
36
|
+
- Krzysztof Kozmic
|
37
|
+
- Mauricio Scheffer
|
38
|
+
- John Simons
|
36
39
|
|
37
40
|
Managers
|
38
41
|
========
|
@@ -62,6 +65,7 @@ PMC Members
|
|
62
65
|
- Fabio David Batista
|
63
66
|
- Roelof Blom
|
64
67
|
- Josh Robb
|
68
|
+
- Jonathon Rossi
|
65
69
|
|
66
70
|
Emeritus
|
67
71
|
========
|
@@ -1,6 +1,38 @@
|
|
1
|
+
2.1.1 (2010-01-13)
|
2
|
+
==================
|
3
|
+
- Reverted factory support facility changes in r6595, r6596 and r6653 which fixed IOC-ISSUE-153, however caused other bugs
|
4
|
+
reported on the mailing list (http://groups.google.com/group/castle-project-users/browse_thread/thread/3f2b602e738a08c6?hl=en)
|
5
|
+
|
6
|
+
2.1.0 (2010-01-12)
|
7
|
+
==================
|
8
|
+
- Moved the logging facility project into the Windsor project:
|
9
|
+
- Applied Tom Allard's patch fixing FACILITIES-93
|
10
|
+
"Extra constructors on LoggingFacility"
|
11
|
+
- Added test case supplied by chris ortman
|
12
|
+
- Register base logger and factory when using extended logger.
|
13
|
+
- Fixed FACILITIES-77
|
14
|
+
"ILoggerFactory instance creation requires constructor with one argument"
|
15
|
+
|
16
|
+
- simplified API for attaching interceptors.
|
17
|
+
|
18
|
+
- added support for forwarded types in XML config
|
19
|
+
|
20
|
+
- added WithParameters method to fluent registration that enables inspecting and modifying arguments passed to Resolve method.
|
21
|
+
- BREAKING CHANGE - AbstractHandler.Resolve method is no longer abstract and instead a ResolveCore protected abstract method was added. To fix this, implementers should override ResolveCore instead of Resolve.
|
22
|
+
|
23
|
+
- added OnCreate method (refactored from OnCreateFacility created by Tehlike) which allows to specify actions to be invoked on the component right after it is created, and before it's returned from the container
|
24
|
+
|
1
25
|
2.0
|
2
26
|
====
|
3
27
|
|
28
|
+
- Updated FactorySupportFacility and fluent registration to allow propagation
|
29
|
+
of CreationContext to factory methods
|
30
|
+
|
31
|
+
- Fixed Burden release issue in which children were being released if the
|
32
|
+
component was not destroyed
|
33
|
+
|
34
|
+
- Automatically configure proxy to omit target if no implementation
|
35
|
+
|
4
36
|
- Fluent interface for factory support
|
5
37
|
|
6
38
|
- Fixed an issue with of not considering unregistered service dependencies in arrays
|
Binary file
|
@@ -0,0 +1,75 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<doc>
|
3
|
+
<assembly>
|
4
|
+
<name>Castle.Facilities.Logging</name>
|
5
|
+
</assembly>
|
6
|
+
<members>
|
7
|
+
<member name="T:Castle.Facilities.Logging.LoggerResolver">
|
8
|
+
<summary>
|
9
|
+
Custom resolver used by the MicroKernel. It gives
|
10
|
+
us some contextual information that we use to set up a logging
|
11
|
+
before satisfying the dependency
|
12
|
+
</summary>
|
13
|
+
</member>
|
14
|
+
<member name="T:Castle.Facilities.Logging.LoggerImplementation">
|
15
|
+
<summary>
|
16
|
+
The supported <see cref="T:Castle.Core.Logging.ILogger"/> implementations
|
17
|
+
</summary>
|
18
|
+
</member>
|
19
|
+
<member name="T:Castle.Facilities.Logging.LoggingFacility">
|
20
|
+
<summary>
|
21
|
+
A facility for logging support.
|
22
|
+
</summary>
|
23
|
+
<remarks>TODO: Document its inner working and configuration scheme</remarks>
|
24
|
+
</member>
|
25
|
+
<member name="M:Castle.Facilities.Logging.LoggingFacility.#ctor">
|
26
|
+
<summary>
|
27
|
+
Initializes a new instance of the <see cref="T:Castle.Facilities.Logging.LoggingFacility"/> class.
|
28
|
+
</summary>
|
29
|
+
</member>
|
30
|
+
<member name="M:Castle.Facilities.Logging.LoggingFacility.#ctor(Castle.Facilities.Logging.LoggerImplementation)">
|
31
|
+
<summary>
|
32
|
+
Initializes a new instance of the <see cref="T:Castle.Facilities.Logging.LoggingFacility"/> class.
|
33
|
+
</summary>
|
34
|
+
<param name="loggingApi">
|
35
|
+
The LoggerImplementation that should be used
|
36
|
+
</param>
|
37
|
+
</member>
|
38
|
+
<member name="M:Castle.Facilities.Logging.LoggingFacility.#ctor(Castle.Facilities.Logging.LoggerImplementation,System.String)">
|
39
|
+
<summary>
|
40
|
+
Initializes a new instance of the <see cref="T:Castle.Facilities.Logging.LoggingFacility"/> class.
|
41
|
+
</summary>
|
42
|
+
<param name="loggingApi">
|
43
|
+
The LoggerImplementation that should be used
|
44
|
+
</param>
|
45
|
+
<param name="configFile">
|
46
|
+
The configuration file that should be used by the chosen LoggerImplementation
|
47
|
+
</param>
|
48
|
+
</member>
|
49
|
+
<member name="M:Castle.Facilities.Logging.LoggingFacility.#ctor(System.String,System.String)">
|
50
|
+
<summary>
|
51
|
+
Initializes a new instance of the <see cref="T:Castle.Facilities.Logging.LoggingFacility"/> class using a custom LoggerImplementation
|
52
|
+
</summary>
|
53
|
+
<param name="configFile">
|
54
|
+
The configuration file that should be used by the chosen LoggerImplementation
|
55
|
+
</param>
|
56
|
+
<param name="customLoggerFactory">
|
57
|
+
The type name of the type of the custom logger factory.
|
58
|
+
</param>
|
59
|
+
</member>
|
60
|
+
<member name="M:Castle.Facilities.Logging.LoggingFacility.#ctor(Castle.Facilities.Logging.LoggerImplementation,System.String,System.String)">
|
61
|
+
<summary>
|
62
|
+
Initializes a new instance of the <see cref="T:Castle.Facilities.Logging.LoggingFacility"/> class.
|
63
|
+
</summary>
|
64
|
+
<param name="loggingApi">
|
65
|
+
The LoggerImplementation that should be used
|
66
|
+
</param>
|
67
|
+
<param name="configFile">
|
68
|
+
The configuration file that should be used by the chosen LoggerImplementation
|
69
|
+
</param>
|
70
|
+
<param name="customLoggerFactory">
|
71
|
+
The type name of the type of the custom logger factory. (only used when loggingApi is set to LoggerImplementation.Custom)
|
72
|
+
</param>
|
73
|
+
</member>
|
74
|
+
</members>
|
75
|
+
</doc>
|
Binary file
|
@@ -206,11 +206,16 @@
|
|
206
206
|
Initializes a new instance of the <see cref="T:Castle.MicroKernel.CreationContext"/> class.
|
207
207
|
</summary>
|
208
208
|
</member>
|
209
|
-
<member name="M:Castle.MicroKernel.CreationContext.
|
209
|
+
<member name="M:Castle.MicroKernel.CreationContext.IsInResolutionContext(Castle.MicroKernel.IHandler)">
|
210
210
|
<summary>
|
211
|
-
|
212
|
-
and as such, we shouldn't try to resolve that.
|
211
|
+
Method used by handlers to test whether they are being resolved in the context.
|
213
212
|
</summary>
|
213
|
+
<param name="handler"></param>
|
214
|
+
<returns></returns>
|
215
|
+
<remarks>
|
216
|
+
This method is provided as part of double dispatch mechanism for use by handlers.
|
217
|
+
Outside of handlers, call <see cref="M:Castle.MicroKernel.IHandler.IsBeingResolvedInContext(Castle.MicroKernel.CreationContext)"/> instead.
|
218
|
+
</remarks>
|
214
219
|
</member>
|
215
220
|
<member name="P:Castle.MicroKernel.CreationContext.Empty">
|
216
221
|
<summary>Creates a new, empty <see cref="T:Castle.MicroKernel.CreationContext"/> instance.</summary>
|
@@ -768,16 +773,61 @@
|
|
768
773
|
<param name="model">The model.</param>
|
769
774
|
<param name="component">The component.</param>
|
770
775
|
</member>
|
776
|
+
<member name="M:Castle.MicroKernel.Facilities.TypedFactory.ITypedFactoryComponentSelector.SelectComponent(System.Reflection.MethodInfo,System.Type,System.Object[])">
|
777
|
+
<summary>
|
778
|
+
Selects one or both of component name and type, for given method
|
779
|
+
called on given typed factory type.
|
780
|
+
When component should be requested by type only,
|
781
|
+
componentName should be null.
|
782
|
+
When component should be requested by name only,
|
783
|
+
componentType should be null.
|
784
|
+
|
785
|
+
</summary>
|
786
|
+
<param name="method"></param>
|
787
|
+
<param name="type"></param>
|
788
|
+
<param name="arguments"></param>
|
789
|
+
<returns></returns>
|
790
|
+
</member>
|
791
|
+
<member name="M:Castle.MicroKernel.Facilities.TypedFactory.ITypedFactoryMethod.Invoke(Castle.Core.Interceptor.IInvocation)">
|
792
|
+
<summary>
|
793
|
+
Performs actual invocation of typed factory method.
|
794
|
+
</summary>
|
795
|
+
<param name="invocation"></param>
|
796
|
+
</member>
|
771
797
|
<member name="T:Castle.Facilities.TypedFactory.FactoryInterceptor">
|
772
798
|
<summary>
|
773
799
|
Summary description for FactoryInterceptor.
|
774
800
|
</summary>
|
775
801
|
</member>
|
802
|
+
<member name="T:Castle.MicroKernel.Facilities.TypedFactory.Release">
|
803
|
+
<summary>
|
804
|
+
Releases components passed as arguments from the container.
|
805
|
+
</summary>
|
806
|
+
</member>
|
807
|
+
<member name="T:Castle.MicroKernel.Facilities.TypedFactory.Resolve">
|
808
|
+
<summary>
|
809
|
+
resolves componet selected by given <see cref="T:Castle.MicroKernel.Facilities.TypedFactory.ITypedFactoryComponentSelector"/> from the container
|
810
|
+
</summary>
|
811
|
+
</member>
|
776
812
|
<member name="T:Castle.Facilities.TypedFactory.TypedFactoryFacility">
|
777
813
|
<summary>
|
778
814
|
Summary description for TypedFactoryFacility.
|
779
815
|
</summary>
|
780
816
|
</member>
|
817
|
+
<member name="M:Castle.Facilities.TypedFactory.TypedFactoryRegistrationExtensions.AsFactory``1(Castle.MicroKernel.Registration.ComponentRegistration{``0})">
|
818
|
+
<summary>
|
819
|
+
Marks the component as typed factory.
|
820
|
+
</summary>
|
821
|
+
<typeparam name="S"></typeparam>
|
822
|
+
<param name="registration"></param>
|
823
|
+
<returns></returns>
|
824
|
+
<remarks>
|
825
|
+
Only interfaces are legal to use as typed factories. Methods with out parameters are not allowed.
|
826
|
+
When registering component as typed factory no implementation should be provided (in case there is any it will be ignored).
|
827
|
+
Typed factories rely on <see cref="T:Castle.Core.Interceptor.IInterceptorSelector"/> set internally, so users should not set interceptor selectors explicitly;
|
828
|
+
otherwise the factory will not function correctly.
|
829
|
+
</remarks>
|
830
|
+
</member>
|
781
831
|
<member name="T:Castle.MicroKernel.Handlers.AbstractHandler">
|
782
832
|
<summary>
|
783
833
|
Implements the basis of <see cref="T:Castle.MicroKernel.IHandler"/>
|
@@ -811,6 +861,7 @@
|
|
811
861
|
Implementors should dispose the component instance
|
812
862
|
</summary>
|
813
863
|
<param name="instance"></param>
|
864
|
+
<returns>true if destroyed.</returns>
|
814
865
|
</member>
|
815
866
|
<member name="M:Castle.MicroKernel.IHandler.AddCustomDependencyValue(System.String,System.Object)">
|
816
867
|
<summary>
|
@@ -837,6 +888,11 @@
|
|
837
888
|
<param name="key"></param>
|
838
889
|
<returns></returns>
|
839
890
|
</member>
|
891
|
+
<member name="M:Castle.MicroKernel.IHandler.IsBeingResolvedInContext(Castle.MicroKernel.CreationContext)">
|
892
|
+
<summary>
|
893
|
+
Tests whether the handler is already being resolved in given context.
|
894
|
+
</summary>
|
895
|
+
</member>
|
840
896
|
<member name="P:Castle.MicroKernel.IHandler.CurrentState">
|
841
897
|
<summary>
|
842
898
|
Gets the state of the handler
|
@@ -910,20 +966,37 @@
|
|
910
966
|
<param name="kernel"></param>
|
911
967
|
</member>
|
912
968
|
<member name="M:Castle.MicroKernel.Handlers.AbstractHandler.Resolve(Castle.MicroKernel.CreationContext)">
|
969
|
+
<summary>
|
970
|
+
Returns an instance of the component this handler
|
971
|
+
is responsible for
|
972
|
+
</summary>
|
973
|
+
<param name="context"></param>
|
974
|
+
<returns></returns>
|
975
|
+
</member>
|
976
|
+
<member name="M:Castle.MicroKernel.Handlers.AbstractHandler.ResolveCore(Castle.MicroKernel.CreationContext,System.Boolean)">
|
913
977
|
<summary>
|
914
978
|
Should be implemented by derived classes:
|
915
979
|
returns an instance of the component this handler
|
916
980
|
is responsible for
|
917
981
|
</summary>
|
918
982
|
<param name="context"></param>
|
983
|
+
<param name="track"></param>
|
919
984
|
<returns></returns>
|
920
985
|
</member>
|
921
986
|
<member name="M:Castle.MicroKernel.Handlers.AbstractHandler.Release(System.Object)">
|
987
|
+
<summary>
|
988
|
+
disposes the component instance (or recycle it).
|
989
|
+
</summary>
|
990
|
+
<param name="instance"></param>
|
991
|
+
<returns></returns>
|
992
|
+
</member>
|
993
|
+
<member name="M:Castle.MicroKernel.Handlers.AbstractHandler.ReleaseCore(System.Object)">
|
922
994
|
<summary>
|
923
995
|
Should be implemented by derived classes:
|
924
996
|
disposes the component instance (or recycle it)
|
925
997
|
</summary>
|
926
998
|
<param name="instance"></param>
|
999
|
+
<returns>true if destroyed.</returns>
|
927
1000
|
</member>
|
928
1001
|
<member name="M:Castle.MicroKernel.Handlers.AbstractHandler.AddCustomDependencyValue(System.String,System.Object)">
|
929
1002
|
<summary>
|
@@ -984,7 +1057,7 @@
|
|
984
1057
|
</remarks>
|
985
1058
|
<param name="dependency"></param>
|
986
1059
|
</member>
|
987
|
-
<member name="M:Castle.MicroKernel.Handlers.AbstractHandler.DependencySatisfied(
|
1060
|
+
<member name="M:Castle.MicroKernel.Handlers.AbstractHandler.DependencySatisfied(System.Boolean@)">
|
988
1061
|
<summary>
|
989
1062
|
Invoked by the kernel
|
990
1063
|
when one of registered dependencies were satisfied by
|
@@ -993,7 +1066,6 @@
|
|
993
1066
|
<remarks>
|
994
1067
|
Handler for the event <see cref="E:Castle.MicroKernel.IKernelEvents.HandlerRegistered"/>
|
995
1068
|
</remarks>
|
996
|
-
<param name="handler"></param>
|
997
1069
|
<param name="stateChanged"></param>
|
998
1070
|
</member>
|
999
1071
|
<member name="M:Castle.MicroKernel.Handlers.AbstractHandler.OnAddedAsChildKernel(System.Object,System.EventArgs)">
|
@@ -1072,19 +1144,21 @@
|
|
1072
1144
|
</summary>
|
1073
1145
|
<param name="model"></param>
|
1074
1146
|
</member>
|
1075
|
-
<member name="M:Castle.MicroKernel.Handlers.DefaultHandler.
|
1147
|
+
<member name="M:Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(Castle.MicroKernel.CreationContext,System.Boolean)">
|
1076
1148
|
<summary>
|
1077
1149
|
Returns an instance of the component this handler
|
1078
1150
|
is responsible for
|
1079
1151
|
</summary>
|
1080
1152
|
<param name="context"></param>
|
1153
|
+
<param name="track"></param>
|
1081
1154
|
<returns></returns>
|
1082
1155
|
</member>
|
1083
|
-
<member name="M:Castle.MicroKernel.Handlers.DefaultHandler.
|
1156
|
+
<member name="M:Castle.MicroKernel.Handlers.DefaultHandler.ReleaseCore(System.Object)">
|
1084
1157
|
<summary>
|
1085
1158
|
disposes the component instance (or recycle it)
|
1086
1159
|
</summary>
|
1087
1160
|
<param name="instance"></param>
|
1161
|
+
<returns>true if destroyed</returns>
|
1088
1162
|
</member>
|
1089
1163
|
<member name="T:Castle.MicroKernel.Handlers.DefaultHandlerFactory">
|
1090
1164
|
<summary>
|
@@ -1243,6 +1317,16 @@
|
|
1243
1317
|
|
1244
1318
|
</summary>
|
1245
1319
|
</member>
|
1320
|
+
<member name="T:Castle.MicroKernel.Lifestyle.PerThreadThreadStaticLifestyleManager">
|
1321
|
+
<summary>
|
1322
|
+
per thread LifestyleManager implementation compatibile with Silverlight.
|
1323
|
+
</summary>
|
1324
|
+
</member>
|
1325
|
+
<member name="M:Castle.MicroKernel.Lifestyle.PerThreadThreadStaticLifestyleManager.Dispose">
|
1326
|
+
<summary>
|
1327
|
+
|
1328
|
+
</summary>
|
1329
|
+
</member>
|
1246
1330
|
<member name="T:Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleManager">
|
1247
1331
|
<summary>
|
1248
1332
|
Implements a Lifestyle Manager for Web Apps that
|
@@ -1290,7 +1374,7 @@
|
|
1290
1374
|
component configuration and verifies it implements the <see cref="T:Castle.MicroKernel.IComponentActivator"/>
|
1291
1375
|
interface.
|
1292
1376
|
</summary>
|
1293
|
-
<exception cref="T:System.
|
1377
|
+
<exception cref="T:System.Exception">
|
1294
1378
|
If the type does not implement the proper interface
|
1295
1379
|
</exception>
|
1296
1380
|
<param name="model"></param>
|
@@ -1332,7 +1416,7 @@
|
|
1332
1416
|
Reads the proxy behavior associated with the
|
1333
1417
|
component configuration/type and applies it to the model.
|
1334
1418
|
</summary>
|
1335
|
-
<exception cref="T:System.
|
1419
|
+
<exception cref="T:System.Exception">
|
1336
1420
|
If the conversion fails
|
1337
1421
|
</exception>
|
1338
1422
|
<param name="kernel"></param>
|
@@ -1388,11 +1472,6 @@
|
|
1388
1472
|
magic numbers and hardcode names.
|
1389
1473
|
</summary>
|
1390
1474
|
</member>
|
1391
|
-
<member name="T:Castle.MicroKernel.ModelBuilder.Inspectors.GenericInspector">
|
1392
|
-
<summary>
|
1393
|
-
|
1394
|
-
</summary>
|
1395
|
-
</member>
|
1396
1475
|
<member name="T:Castle.MicroKernel.ModelBuilder.Inspectors.InterceptorInspector">
|
1397
1476
|
<summary>
|
1398
1477
|
Inspect the component for <c>InterceptorAttribute</c> and
|
@@ -1732,6 +1811,11 @@
|
|
1732
1811
|
Gets or sets the proxy hook.
|
1733
1812
|
</summary>
|
1734
1813
|
</member>
|
1814
|
+
<member name="P:Castle.MicroKernel.Proxy.ProxyOptions.Selector">
|
1815
|
+
<summary>
|
1816
|
+
Gets or sets the interceptor selector.
|
1817
|
+
</summary>
|
1818
|
+
</member>
|
1735
1819
|
<member name="P:Castle.MicroKernel.Proxy.ProxyOptions.OmitTarget">
|
1736
1820
|
<summary>
|
1737
1821
|
Determines if the proxied component uses a target.
|
@@ -2569,6 +2653,38 @@
|
|
2569
2653
|
<param name="interceptors">The interceptors.</param>
|
2570
2654
|
<returns></returns>
|
2571
2655
|
</member>
|
2656
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Interceptors(System.Type[])">
|
2657
|
+
<summary>
|
2658
|
+
Set the interceptors for this component.
|
2659
|
+
</summary>
|
2660
|
+
<param name="interceptors">The interceptors.</param>
|
2661
|
+
<returns></returns>
|
2662
|
+
</member>
|
2663
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Interceptors``1">
|
2664
|
+
<summary>
|
2665
|
+
Set the interceptor for this component.
|
2666
|
+
</summary>
|
2667
|
+
<returns></returns>
|
2668
|
+
</member>
|
2669
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Interceptors``2">
|
2670
|
+
<summary>
|
2671
|
+
Set the interceptor for this component.
|
2672
|
+
</summary>
|
2673
|
+
<returns></returns>
|
2674
|
+
</member>
|
2675
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Interceptors(System.String[])">
|
2676
|
+
<summary>
|
2677
|
+
Set the interceptor for this component.
|
2678
|
+
</summary>
|
2679
|
+
<returns></returns>
|
2680
|
+
</member>
|
2681
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.SelectInterceptorsWith(Castle.Core.Interceptor.IInterceptorSelector)">
|
2682
|
+
<summary>
|
2683
|
+
Sets the interceptor selector for this component.
|
2684
|
+
</summary>
|
2685
|
+
<param name="selector"></param>
|
2686
|
+
<returns></returns>
|
2687
|
+
</member>
|
2572
2688
|
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.Startable">
|
2573
2689
|
<summary>
|
2574
2690
|
Marks the component as startable.
|
@@ -2595,6 +2711,27 @@
|
|
2595
2711
|
<remarks>Be sure that you first added the <see cref="T:Castle.Facilities.Startable.StartableFacility"/>
|
2596
2712
|
to the kernel, before registering this component.</remarks>
|
2597
2713
|
</member>
|
2714
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.OnCreate(Castle.MicroKernel.LifecycleConcerns.OnCreateActionDelegate{`0}[])">
|
2715
|
+
<summary>
|
2716
|
+
Stores a set of <see cref="T:Castle.MicroKernel.LifecycleConcerns.OnCreateActionDelegate`1"/> which will be invoked when the component
|
2717
|
+
is created and before it's returned from the container.
|
2718
|
+
</summary>
|
2719
|
+
<param name="actions">A set of actions to be executed right after the component is created and before it's returned from the container.</param>
|
2720
|
+
</member>
|
2721
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.DynamicParameters(Castle.MicroKernel.Registration.DynamicParametersDelegate)">
|
2722
|
+
<summary>
|
2723
|
+
Allows custom dependencies to by defined dyncamically.
|
2724
|
+
</summary>
|
2725
|
+
<param name="resolve">The delegate used for providing dynamic parameters.</param>
|
2726
|
+
<returns></returns>
|
2727
|
+
</member>
|
2728
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.DynamicParameters(Castle.MicroKernel.Registration.DynamicParametersResolveDelegate)">
|
2729
|
+
<summary>
|
2730
|
+
Allows custom dependencies to by defined dyncamically with releasing capability.
|
2731
|
+
</summary>
|
2732
|
+
<param name="resolve">The delegate used for providing dynamic parameters.</param>
|
2733
|
+
<returns></returns>
|
2734
|
+
</member>
|
2598
2735
|
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.ActAs(System.Object[])">
|
2599
2736
|
<summary>
|
2600
2737
|
Marks the components with one or more actors.
|
@@ -2661,6 +2798,15 @@
|
|
2661
2798
|
<param name="factoryMethod">Factory method</param>
|
2662
2799
|
<returns></returns>
|
2663
2800
|
</member>
|
2801
|
+
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.UsingFactoryMethod``1(System.Func{Castle.MicroKernel.IKernel,Castle.MicroKernel.CreationContext,``0})">
|
2802
|
+
<summary>
|
2803
|
+
Uses a factory method to instantiate the component.
|
2804
|
+
Requires the <see cref="T:Castle.Facilities.FactorySupport.FactorySupportFacility"/> to be installed.
|
2805
|
+
</summary>
|
2806
|
+
<typeparam name="T">Implementation type</typeparam>
|
2807
|
+
<param name="factoryMethod">Factory method</param>
|
2808
|
+
<returns></returns>
|
2809
|
+
</member>
|
2664
2810
|
<member name="M:Castle.MicroKernel.Registration.ComponentRegistration`1.UsingFactory``2(System.Converter{``0,``1})">
|
2665
2811
|
<summary>
|
2666
2812
|
Uses a factory to instantiate the component
|
@@ -2724,13 +2870,19 @@
|
|
2724
2870
|
</summary>
|
2725
2871
|
<typeparam name="T"></typeparam>
|
2726
2872
|
</member>
|
2727
|
-
<member name="T:Castle.MicroKernel.Registration.
|
2873
|
+
<member name="T:Castle.MicroKernel.Registration.GenericFactory`1">
|
2728
2874
|
<summary>
|
2729
2875
|
Helper factory class
|
2730
2876
|
</summary>
|
2731
2877
|
<typeparam name="T"></typeparam>
|
2732
2878
|
</member>
|
2733
|
-
<member name="T:Castle.MicroKernel.Registration.
|
2879
|
+
<member name="T:Castle.MicroKernel.Registration.GenericFactoryWithContext`1">
|
2880
|
+
<summary>
|
2881
|
+
Helper factory class
|
2882
|
+
</summary>
|
2883
|
+
<typeparam name="T"></typeparam>
|
2884
|
+
</member>
|
2885
|
+
<member name="T:Castle.MicroKernel.Registration.GenericFactoryWithKernel`1">
|
2734
2886
|
<summary>
|
2735
2887
|
Helper factory class
|
2736
2888
|
</summary>
|
@@ -2875,6 +3027,12 @@
|
|
2875
3027
|
</summary>
|
2876
3028
|
<param name="configuration">The configuration.</param>
|
2877
3029
|
</member>
|
3030
|
+
<member name="T:Castle.MicroKernel.Registration.OnCreateComponentDescriptor`1">
|
3031
|
+
<summary>
|
3032
|
+
Adds the actions to ExtendedProperties.
|
3033
|
+
</summary>
|
3034
|
+
<typeparam name="S"></typeparam>
|
3035
|
+
</member>
|
2878
3036
|
<member name="T:Castle.MicroKernel.Registration.Parameter">
|
2879
3037
|
<summary>
|
2880
3038
|
Represents a configuration parameter.
|
@@ -3246,6 +3404,30 @@
|
|
3246
3404
|
<param name="info">The object that holds the serialized object data.</param>
|
3247
3405
|
<param name="context">The contextual information about the source or destination.</param>
|
3248
3406
|
</member>
|
3407
|
+
<member name="T:Castle.MicroKernel.Resolvers.ILazyComponentLoader">
|
3408
|
+
<summary>
|
3409
|
+
Provides lazy registration capabilities to the container.
|
3410
|
+
</summary>
|
3411
|
+
<remarks>
|
3412
|
+
When a component is requested from a container and it was not registered,
|
3413
|
+
container loads up all registered implementers of this interface and asks
|
3414
|
+
them in turn whethere they can provide that component, until it finds one that will.
|
3415
|
+
</remarks>
|
3416
|
+
</member>
|
3417
|
+
<member name="M:Castle.MicroKernel.Resolvers.ILazyComponentLoader.Load(System.String,System.Type)">
|
3418
|
+
<summary>
|
3419
|
+
Used by container to allow the loader gister component for given <paramref name="key"/> and <paramref name="service"/> to the container at the time when it is requested
|
3420
|
+
</summary>
|
3421
|
+
<param name="key">Key of the requested component or null</param>
|
3422
|
+
<param name="service">Type of requested service or null</param>
|
3423
|
+
<returns>Registration that registers component for given key and/or service or null.</returns>
|
3424
|
+
<remarks>
|
3425
|
+
While either key or service can be null reference it is guaranteed that at least one of them will not be null.
|
3426
|
+
When implementer opts in to provide the requested component (by returning not-null registration) it is required
|
3427
|
+
to register component for requested key/service combination (when one of the elements is null, it should be ignored as well).
|
3428
|
+
When implementer does not want to register the requested component it nust return null.
|
3429
|
+
</remarks>
|
3430
|
+
</member>
|
3249
3431
|
<member name="T:Castle.MicroKernel.SubSystems.Configuration.DefaultConfigurationStore">
|
3250
3432
|
<summary>
|
3251
3433
|
This implementation of <see cref="T:Castle.MicroKernel.IConfigurationStore"/>
|
@@ -3743,9 +3925,9 @@
|
|
3743
3925
|
</summary>
|
3744
3926
|
<param name="properties">Property list.</param>
|
3745
3927
|
</member>
|
3746
|
-
<member name="M:Castle.MicroKernel.SubSystems.Naming.ComponentName.SetupProperties(System.Collections.IDictionary)">
|
3928
|
+
<member name="M:Castle.MicroKernel.SubSystems.Naming.ComponentName.SetupProperties(System.Collections.Generic.IDictionary{System.String,System.String})">
|
3747
3929
|
<summary>
|
3748
|
-
Validates a properties
|
3930
|
+
Validates a properties IDictionary.
|
3749
3931
|
</summary>
|
3750
3932
|
<param name="properties">Property list.</param>
|
3751
3933
|
</member>
|
@@ -4136,6 +4318,12 @@
|
|
4136
4318
|
(it might be in a valid or waiting dependency state)
|
4137
4319
|
</summary>
|
4138
4320
|
</member>
|
4321
|
+
<member name="E:Castle.MicroKernel.IKernelEvents.HandlersChanged">
|
4322
|
+
<summary>
|
4323
|
+
Event fired when a new handler is registered
|
4324
|
+
(it might be in a valid or waiting dependency state)
|
4325
|
+
</summary>
|
4326
|
+
</member>
|
4139
4327
|
<member name="E:Castle.MicroKernel.IKernelEvents.DependencyResolving">
|
4140
4328
|
<summary>
|
4141
4329
|
Event fired when a dependency is being resolved,
|