unity 1.2.0.0 → 2.0.414.0.20100813

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/docs/2.0/Eula.rtf +0 -0
  2. data/docs/2.0/Release notes.htm +393 -0
  3. data/docs/2.0/Unity20.HxS +0 -0
  4. data/docs/2.0/UnityApiDocs.HxS +0 -0
  5. data/docs/2.0/UnityDocs.url +2 -0
  6. data/docs/2.0/UnityQuickStarts.zip +0 -0
  7. data/docs/2.0/UnitySource.zip +0 -0
  8. data/docs/2.0/_AIndex_38962f070c7d4bac941c455220fb6651.HxK +3 -0
  9. data/docs/2.0/_Collection_38962f070c7d4bac941c455220fb6651.HxC +16 -0
  10. data/docs/2.0/_FIndex_38962f070c7d4bac941c455220fb6651.HxK +3 -0
  11. data/docs/2.0/_KIndex_38962f070c7d4bac941c455220fb6651.HxK +3 -0
  12. data/docs/2.0/_NUrlIndex_38962f070c7d4bac941c455220fb6651.HxK +3 -0
  13. data/docs/2.0/_TOC_38962f070c7d4bac941c455220fb6651.HxT +8 -0
  14. data/docs/Silverlight/Eula.rtf +0 -0
  15. data/docs/Silverlight/Silverlight Release notes.htm +354 -0
  16. data/docs/Silverlight/UnityDocs.url +2 -0
  17. data/docs/Silverlight/UnitySilverlightQuickStarts.zip +0 -0
  18. data/docs/Silverlight/UnitySilverlightSource.zip +0 -0
  19. data/lib/net-2.0/Eula.rtf +0 -0
  20. data/lib/net-2.0/Microsoft.Practices.ServiceLocation.dll +0 -0
  21. data/lib/net-2.0/Microsoft.Practices.Unity.Configuration.dll +0 -0
  22. data/lib/net-2.0/Microsoft.Practices.Unity.Configuration.pdb +0 -0
  23. data/lib/net-2.0/Microsoft.Practices.Unity.Configuration.xml +2451 -0
  24. data/lib/net-2.0/Microsoft.Practices.Unity.Interception.Configuration.dll +0 -0
  25. data/lib/net-2.0/Microsoft.Practices.Unity.Interception.Configuration.pdb +0 -0
  26. data/lib/net-2.0/Microsoft.Practices.Unity.Interception.Configuration.xml +716 -0
  27. data/lib/net-2.0/Microsoft.Practices.Unity.Interception.dll +0 -0
  28. data/lib/net-2.0/Microsoft.Practices.Unity.Interception.pdb +0 -0
  29. data/lib/net-2.0/Microsoft.Practices.Unity.Interception.xml +3460 -0
  30. data/lib/net-2.0/Microsoft.Practices.Unity.ServiceLocatorAdapter.dll +0 -0
  31. data/lib/net-2.0/Microsoft.Practices.Unity.dll +0 -0
  32. data/lib/net-2.0/Microsoft.Practices.Unity.pdb +0 -0
  33. data/lib/net-2.0/Microsoft.Practices.Unity.xml +4812 -1879
  34. data/lib/net-2.0/Release notes.htm +393 -0
  35. data/lib/silverlight-3.0/Microsoft.Practices.ServiceLocation.dll +0 -0
  36. data/lib/silverlight-3.0/Microsoft.Practices.Unity.Silverlight.dll +0 -0
  37. data/lib/silverlight-3.0/Microsoft.Practices.Unity.Silverlight.pdb +0 -0
  38. data/lib/silverlight-3.0/Microsoft.Practices.Unity.Silverlight.xml +5871 -0
  39. metadata +39 -6
  40. data/lib/net-2.0/Microsoft.Practices.ObjectBuilder2.dll +0 -0
  41. data/lib/net-2.0/Microsoft.Practices.ObjectBuilder2.pdb +0 -0
  42. data/lib/net-2.0/Microsoft.Practices.ObjectBuilder2.xml +0 -3182
metadata CHANGED
@@ -3,18 +3,19 @@ name: unity
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
- - 1
7
6
  - 2
8
7
  - 0
8
+ - 414
9
9
  - 0
10
- version: 1.2.0.0
10
+ - 20100813
11
+ version: 2.0.414.0.20100813
11
12
  platform: ruby
12
13
  authors:
13
14
  - Microsoft Patterns & Practices
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
- date: 2010-08-20 00:00:00 -05:00
18
+ date: 2010-08-13 00:00:00 -05:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
  description: Unity is a Dependency Injection container for .NET
@@ -23,12 +24,44 @@ executables: []
23
24
  extensions: []
24
25
  extra_rdoc_files: []
25
26
  files:
26
- - lib/net-2.0/Microsoft.Practices.ObjectBuilder2.dll
27
- - lib/net-2.0/Microsoft.Practices.ObjectBuilder2.pdb
28
- - lib/net-2.0/Microsoft.Practices.ObjectBuilder2.xml
27
+ - lib/net-2.0/Eula.rtf
28
+ - lib/net-2.0/Microsoft.Practices.ServiceLocation.dll
29
+ - lib/net-2.0/Microsoft.Practices.Unity.Configuration.dll
30
+ - lib/net-2.0/Microsoft.Practices.Unity.Configuration.pdb
31
+ - lib/net-2.0/Microsoft.Practices.Unity.Configuration.xml
29
32
  - lib/net-2.0/Microsoft.Practices.Unity.dll
33
+ - lib/net-2.0/Microsoft.Practices.Unity.Interception.Configuration.dll
34
+ - lib/net-2.0/Microsoft.Practices.Unity.Interception.Configuration.pdb
35
+ - lib/net-2.0/Microsoft.Practices.Unity.Interception.Configuration.xml
36
+ - lib/net-2.0/Microsoft.Practices.Unity.Interception.dll
37
+ - lib/net-2.0/Microsoft.Practices.Unity.Interception.pdb
38
+ - lib/net-2.0/Microsoft.Practices.Unity.Interception.xml
30
39
  - lib/net-2.0/Microsoft.Practices.Unity.pdb
40
+ - lib/net-2.0/Microsoft.Practices.Unity.ServiceLocatorAdapter.dll
31
41
  - lib/net-2.0/Microsoft.Practices.Unity.xml
42
+ - lib/net-2.0/Release notes.htm
43
+ - lib/silverlight-3.0/Microsoft.Practices.ServiceLocation.dll
44
+ - lib/silverlight-3.0/Microsoft.Practices.Unity.Silverlight.dll
45
+ - lib/silverlight-3.0/Microsoft.Practices.Unity.Silverlight.pdb
46
+ - lib/silverlight-3.0/Microsoft.Practices.Unity.Silverlight.xml
47
+ - docs/2.0/Eula.rtf
48
+ - docs/2.0/Release notes.htm
49
+ - docs/2.0/Unity20.HxS
50
+ - docs/2.0/UnityApiDocs.HxS
51
+ - docs/2.0/UnityDocs.url
52
+ - docs/2.0/UnityQuickStarts.zip
53
+ - docs/2.0/UnitySource.zip
54
+ - docs/2.0/_AIndex_38962f070c7d4bac941c455220fb6651.HxK
55
+ - docs/2.0/_Collection_38962f070c7d4bac941c455220fb6651.HxC
56
+ - docs/2.0/_FIndex_38962f070c7d4bac941c455220fb6651.HxK
57
+ - docs/2.0/_KIndex_38962f070c7d4bac941c455220fb6651.HxK
58
+ - docs/2.0/_NUrlIndex_38962f070c7d4bac941c455220fb6651.HxK
59
+ - docs/2.0/_TOC_38962f070c7d4bac941c455220fb6651.HxT
60
+ - docs/Silverlight/Eula.rtf
61
+ - docs/Silverlight/Silverlight Release notes.htm
62
+ - docs/Silverlight/UnityDocs.url
63
+ - docs/Silverlight/UnitySilverlightQuickStarts.zip
64
+ - docs/Silverlight/UnitySilverlightSource.zip
32
65
  has_rdoc: true
33
66
  homepage: http://unity.codeplex.com
34
67
  licenses: []
@@ -1,3182 +0,0 @@
1
- <?xml version="1.0"?>
2
- <doc>
3
- <assembly>
4
- <name>Microsoft.Practices.ObjectBuilder2</name>
5
- </assembly>
6
- <members>
7
- <member name="T:Microsoft.Practices.ObjectBuilder2.Guard">
8
- <summary>
9
- Represents a simple class for validating parameters and throwing exceptions.
10
- </summary>
11
- </member>
12
- <member name="M:Microsoft.Practices.ObjectBuilder2.Guard.ArgumentNotNull(System.Object,System.String)">
13
- <summary>
14
- Validates <paramref name="argumentValue"/> is not null and throws <see cref="T:System.ArgumentNullException"/> if it is null.
15
- </summary>
16
- <param name="argumentValue">The value to validate.</param>
17
- <param name="argumentName">The name of <paramref name="argumentValue"/>.</param>
18
- </member>
19
- <member name="M:Microsoft.Practices.ObjectBuilder2.Guard.ArgumentNotNullOrEmpty(System.String,System.String)">
20
- <summary>
21
- Validates <paramref name="argumentValue"/> is not null or an empty string and throws <see cref="T:System.ArgumentNullException"/> if it is null or an empty string .
22
- </summary>
23
- <param name="argumentValue">The value to validate.</param>
24
- <param name="argumentName">The name of <paramref name="argumentValue"/>.</param>
25
- </member>
26
- <member name="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1">
27
- <summary>
28
- Represents a chain of responsibility for builder strategies partitioned by stages.
29
- </summary>
30
- <typeparam name="TStageEnum">The stage enumeration to partition the strategies.</typeparam>
31
- </member>
32
- <member name="T:Microsoft.Practices.ObjectBuilder2.IStagedStrategyChain">
33
- <summary>
34
- This interface defines a standard method to convert any
35
- <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> regardless
36
- of the stage enum into a regular, flat strategy chain.
37
- </summary>
38
- </member>
39
- <member name="M:Microsoft.Practices.ObjectBuilder2.IStagedStrategyChain.MakeStrategyChain">
40
- <summary>
41
- Convert this <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> into
42
- a flat <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/>.
43
- </summary>
44
- <returns>The flattened <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/>.</returns>
45
- </member>
46
- <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.#ctor">
47
- <summary>
48
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> class.
49
- </summary>
50
- </member>
51
- <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.#ctor(Microsoft.Practices.ObjectBuilder2.StagedStrategyChain{`0})">
52
- <summary>
53
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> class with an inner strategy chain to use when building.
54
- </summary>
55
- <param name="innerChain">The inner strategy chain to use first when finding strategies in the build operation.</param>
56
- </member>
57
- <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.Add(Microsoft.Practices.ObjectBuilder2.IBuilderStrategy,`0)">
58
- <summary>
59
- Adds a strategy to the chain at a particular stage.
60
- </summary>
61
- <param name="strategy">The strategy to add to the chain.</param>
62
- <param name="stage">The stage to add the strategy.</param>
63
- </member>
64
- <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.AddNew``1(`0)">
65
- <summary>
66
- Add a new strategy for the <paramref name="stage"/>.
67
- </summary>
68
- <typeparam name="TStrategy">The <see cref="T:System.Type"/> of <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/></typeparam>
69
- <param name="stage">The stage to add the strategy.</param>
70
- </member>
71
- <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.Clear">
72
- <summary>
73
- Clear the current strategy chain list.
74
- </summary>
75
- <remarks>
76
- This will not clear the inner strategy chain if this instane was created with one.
77
- </remarks>
78
- </member>
79
- <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.MakeStrategyChain">
80
- <summary>
81
- Makes a strategy chain based on this instance.
82
- </summary>
83
- <returns>A new <see cref="T:Microsoft.Practices.ObjectBuilder2.StrategyChain"/>.</returns>
84
- </member>
85
- <member name="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy">
86
- <summary>
87
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that controls how instances are
88
- persisted and recovered from an external store. Used to implement
89
- things like singletons and per-http-request lifetime.
90
- </summary>
91
- </member>
92
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy">
93
- <summary>
94
- Represents a builder policy interface. Since there are no fixed requirements
95
- for policies, it acts as a marker interface from which to derive all other
96
- policy interfaces.
97
- </summary>
98
- </member>
99
- <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy.GetValue">
100
- <summary>
101
- Retrieve a value from the backing store associated with this Lifetime policy.
102
- </summary>
103
- <returns>the object desired, or null if no such object is currently stored.</returns>
104
- </member>
105
- <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy.SetValue(System.Object)">
106
- <summary>
107
- Stores the given value into backing store for retrieval later.
108
- </summary>
109
- <param name="newValue">The object to store.</param>
110
- </member>
111
- <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy.RemoveValue">
112
- <summary>
113
- Remove the value this lifetime policy is managing from backing store.
114
- </summary>
115
- </member>
116
- <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodPropertySetterStrategy">
117
- <summary>
118
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> that generates IL to resolve properties
119
- on an object being built.
120
- </summary>
121
- </member>
122
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy">
123
- <summary>
124
- Represents a strategy in the <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilder"/>'s chain of responsibility.
125
- Strategies are required to support both BuildUp and TearDown.
126
- </summary>
127
- </member>
128
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy">
129
- <summary>
130
- Represents a strategy in the <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilder"/>'s chain of responsibility.
131
- Strategies are required to support both BuildUp and TearDown. Although you
132
- can implement this interface directly, you may also choose to use
133
- <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> as the base class for your strategies, as
134
- this class provides useful helper methods and makes support BuildUp and TearDown
135
- optional.
136
- </summary>
137
- </member>
138
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
139
- <summary>
140
- Called during the chain of responsibility for a build operation. The
141
- PreBuildUp method is called when the chain is being executed in the
142
- forward direction.
143
- </summary>
144
- <param name="context">Context of the build operation.</param>
145
- </member>
146
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy.PostBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
147
- <summary>
148
- Called during the chain of responsibility for a build operation. The
149
- PostBuildUp method is called when the chain has finished the PreBuildUp
150
- phase and executes in reverse order from the PreBuildUp calls.
151
- </summary>
152
- <param name="context">Context of the build operation.</param>
153
- </member>
154
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy.PreTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
155
- <summary>
156
- Called during the chain of responsibility for a teardown operation. The
157
- PreTearDown method is called when the chain is being executed in the
158
- forward direction.
159
- </summary>
160
- <param name="context">Context of the teardown operation.</param>
161
- </member>
162
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy.PostTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
163
- <summary>
164
- Called during the chain of responsibility for a teardown operation. The
165
- PostTearDown method is called when the chain has finished the PreTearDown
166
- phase and executes in reverse order from the PreTearDown calls.
167
- </summary>
168
- <param name="context"></param>
169
- </member>
170
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
171
- <summary>
172
- Called during the chain of responsibility for a build operation. The
173
- PreBuildUp method is called when the chain is being executed in the
174
- forward direction.
175
- </summary>
176
- <param name="context">Context of the build operation.</param>
177
- </member>
178
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderStrategy.PostBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
179
- <summary>
180
- Called during the chain of responsibility for a build operation. The
181
- PostBuildUp method is called when the chain has finished the PreBuildUp
182
- phase and executes in reverse order from the PreBuildUp calls.
183
- </summary>
184
- <param name="context">Context of the build operation.</param>
185
- </member>
186
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderStrategy.PreTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
187
- <summary>
188
- Called during the chain of responsibility for a teardown operation. The
189
- PreTearDown method is called when the chain is being executed in the
190
- forward direction.
191
- </summary>
192
- <param name="context">Context of the teardown operation.</param>
193
- </member>
194
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderStrategy.PostTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
195
- <summary>
196
- Called during the chain of responsibility for a teardown operation. The
197
- PostTearDown method is called when the chain has finished the PreTearDown
198
- phase and executes in reverse order from the PreTearDown calls.
199
- </summary>
200
- <param name="context"></param>
201
- </member>
202
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodPropertySetterStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
203
- <summary>
204
- Called during the chain of responsibility for a build operation.
205
- </summary>
206
- <param name="context">The context for the operation.</param>
207
- </member>
208
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodPropertySetterStrategy.ThrowOnFailedPropertyValueResolution(System.Exception,System.String)">
209
- <summary>
210
- A helper method called by the generated IL to throw an exception if a property's
211
- value cannot be resolved.
212
- </summary>
213
- <param name="inner">The actual exception that caused the resolution to fail.</param>
214
- <param name="propertyName">Name of the property that didn't resolve.</param>
215
- </member>
216
- <member name="T:Microsoft.Practices.ObjectBuilder2.IDynamicBuilderMethodCreatorPolicy">
217
- <summary>
218
- This interface defines a policy that manages creation of the dynamic methods
219
- used by the ObjectBuilder code generation. This way, we can replace the details
220
- of how the dynamic method is created to handle differences in CLR (like Silverlight
221
- vs desktop) or security policies.
222
- </summary>
223
- </member>
224
- <member name="M:Microsoft.Practices.ObjectBuilder2.IDynamicBuilderMethodCreatorPolicy.CreateBuilderMethod(System.Type,System.String)">
225
- <summary>
226
- Create a builder method for the given type, using the given name.
227
- </summary>
228
- <param name="typeToBuild">Type that will be built by the generated method.</param>
229
- <param name="methodName">Name to give to the method.</param>
230
- <returns>A <see cref="T:System.Reflection.Emit.DynamicMethod"/> object with the proper signature to use
231
- as part of a build plan.</returns>
232
- </member>
233
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingPolicy">
234
- <summary>
235
- Represents a builder policy for mapping build keys.
236
- </summary>
237
- </member>
238
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuildKeyMappingPolicy">
239
- <summary>
240
- Represents a builder policy for mapping build keys.
241
- </summary>
242
- </member>
243
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuildKeyMappingPolicy.Map(System.Object)">
244
- <summary>
245
- Maps the build key.
246
- </summary>
247
- <param name="buildKey">The build key to map.</param>
248
- <returns>The new build key.</returns>
249
- </member>
250
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingPolicy.#ctor(System.Object)">
251
- <summary>
252
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingPolicy"/> with the new build key.
253
- </summary>
254
- <param name="newBuildKey"></param>
255
- </member>
256
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingPolicy.Map(System.Object)">
257
- <summary>
258
- Map the <paramref name="buildKey"/> to a new build key.
259
- </summary>
260
- <param name="buildKey">The build key to mapl</param>
261
- <returns>The new build key.</returns>
262
- </member>
263
- <member name="T:Microsoft.Practices.ObjectBuilder2.LifetimeStrategy">
264
- <summary>
265
- An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/> implementation that uses
266
- a <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"/> to figure out if an object
267
- has already been created and to update or remove that
268
- object from some backing store.
269
- </summary>
270
- </member>
271
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
272
- <summary>
273
- Called during the chain of responsibility for a build operation. The
274
- PreBuildUp method is called when the chain is being executed in the
275
- forward direction.
276
- </summary>
277
- <param name="context">Context of the build operation.</param>
278
- </member>
279
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeStrategy.PostBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
280
- <summary>
281
- Called during the chain of responsibility for a build operation. The
282
- PostBuildUp method is called when the chain has finished the PreBuildUp
283
- phase and executes in reverse order from the PreBuildUp calls.
284
- </summary>
285
- <param name="context">Context of the build operation.</param>
286
- </member>
287
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanPolicy">
288
- <summary>
289
- A build plan is an object that, when invoked, will create a new object
290
- or fill in a given existing one. It encapsulates all the information
291
- gathered by the strategies to construct a particular object.
292
- </summary>
293
- </member>
294
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuildPlanPolicy.BuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
295
- <summary>
296
- Creates an instance of this build plan's type, or fills
297
- in the existing type if passed in.
298
- </summary>
299
- <param name="context">Context used to build up the object.</param>
300
- </member>
301
- <member name="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException">
302
- <summary>
303
- Represents that a dependency could not be resolved.
304
- </summary>
305
- <summary>
306
- Represents that a dependency could not be resolved.
307
- </summary>
308
- </member>
309
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor">
310
- <summary>
311
- Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with no extra information.
312
- </summary>
313
- </member>
314
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor(System.String)">
315
- <summary>
316
- Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with the given message.
317
- </summary>
318
- <param name="message">Some random message.</param>
319
- </member>
320
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor(System.String,System.Exception)">
321
- <summary>
322
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with the given
323
- message and inner exception.
324
- </summary>
325
- <param name="message">Some random message</param>
326
- <param name="innerException">Inner exception.</param>
327
- </member>
328
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor(System.Object)">
329
- <summary>
330
- Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with the build key of the object begin built.
331
- </summary>
332
- <param name="buildKey">The build key of the object begin built.</param>
333
- </member>
334
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
335
- <summary>
336
- Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with serialized data.
337
- </summary>
338
- <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
339
- <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination. </param>
340
- </member>
341
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuildFailedException">
342
- <summary>
343
- The exception that gets thrown if a build or teardown operation fails.
344
- </summary>
345
- </member>
346
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildFailedException.#ctor(Microsoft.Practices.ObjectBuilder2.IBuilderStrategy,System.Int32,System.Object,System.Exception)">
347
- <summary>
348
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.BuildFailedException"/> instance containing
349
- the information about the currently executing strategy that caused
350
- the exception.
351
- </summary>
352
- <param name="executingStrategy">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/> that was
353
- executing at the time the exception was thrown.</param>
354
- <param name="executingStrategyIndex">The index of the current strategy in its
355
- strategy chain.</param>
356
- <param name="buildKey">The build key being built up.</param>
357
- <param name="innerException">Underlying exception.</param>
358
- </member>
359
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildFailedException.#ctor">
360
- <summary>
361
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.BuildFailedException"/>. Do not use this constructor, it
362
- does not take any of the data that makes this type useful.
363
- </summary>
364
- </member>
365
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildFailedException.#ctor(System.String)">
366
- <summary>
367
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.BuildFailedException"/>. Do not use this constructor, it
368
- does not take any of the data that makes this type useful.
369
- </summary>
370
- <param name="message">Error message, ignored.</param>
371
- </member>
372
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildFailedException.#ctor(System.String,System.Exception)">
373
- <summary>
374
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.BuildFailedException"/>. Do not use this constructor, it
375
- does not take any of the data that makes this type useful.
376
- </summary>
377
- <param name="message">Error message, ignored.</param>
378
- <param name="innerException">Inner exception.</param>
379
- </member>
380
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildFailedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
381
- <summary>
382
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.BuildFailedException"/> from the serialized information.
383
- </summary>
384
- <param name="info">Serialization info.</param>
385
- <param name="context">Streaming context.</param>
386
- </member>
387
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildFailedException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
388
- <summary>
389
- When overridden in a derived class, sets the <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> with information about the exception.
390
- </summary>
391
-
392
- <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"></see> that contains contextual information about the source or destination. </param>
393
- <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"></see> that holds the serialized object data about the exception being thrown. </param>
394
- <exception cref="T:System.ArgumentNullException">The info parameter is a null reference (Nothing in Visual Basic). </exception><filterpriority>2</filterpriority><PermissionSet><IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Read="*AllFiles*" PathDiscovery="*AllFiles*" /><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="SerializationFormatter" /></PermissionSet>
395
- </member>
396
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuildFailedException.ExecutingStrategyTypeName">
397
- <summary>
398
- The strategy that was executing when the exception occurred.
399
- </summary>
400
- </member>
401
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuildFailedException.ExecutingStrategyIndex">
402
- <summary>
403
- The index of the currently executing strategy in the build chain.
404
- </summary>
405
- </member>
406
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuildFailedException.BuildKey">
407
- <summary>
408
- The build key that was being built at the time of the exception.
409
- </summary>
410
- </member>
411
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuildFailedException.Message">
412
- <summary>
413
- Gets a message that describes the current exception.
414
- </summary>
415
-
416
- <returns>
417
- The error message that explains the reason for the exception, or an empty string("").
418
- </returns>
419
- <filterpriority>1</filterpriority>
420
- </member>
421
- <member name="T:Microsoft.Practices.ObjectBuilder2.ReadOnlyLocator">
422
- <summary>
423
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator"/> that wraps an existing locator
424
- to ensure items are not written into the locator.
425
- </summary>
426
- </member>
427
- <member name="T:Microsoft.Practices.ObjectBuilder2.ReadableLocator">
428
- <summary>
429
- Represents an abstract implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator"/>.
430
- </summary>
431
- </member>
432
- <member name="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator">
433
- <summary>
434
- Represents a locator that can be read from.
435
- </summary>
436
- <remarks>
437
- <para>A locator is a dictionary of keys to values, but it keeps the values with
438
- weak references, so that locating an object does not keep it alive. If you
439
- want to keep the object alive too, you should consider using an
440
- <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/>.</para>
441
- <para>Locators have a built-in concept of hierarchy, so you can ask questions
442
- of a locator and tell it whether to return results from the current locator
443
- only, or whether to ask the parent locator when local lookups fail.</para>
444
- </remarks>
445
- </member>
446
- <member name="M:Microsoft.Practices.ObjectBuilder2.IReadableLocator.Contains(System.Object)">
447
- <summary>
448
- Determine if the locator contains an object for the given key.
449
- </summary>
450
- <param name="key">The key to check.</param>
451
- <returns>
452
- true if the locator contains an object for the key; returns
453
- false otherwise.
454
- </returns>
455
- </member>
456
- <member name="M:Microsoft.Practices.ObjectBuilder2.IReadableLocator.FindBy(System.Predicate{System.Collections.Generic.KeyValuePair{System.Object,System.Object}})">
457
- <summary>
458
- Finds objects in the locator using the predicate, and returns a temporary locator
459
- filled with the found objects.
460
- </summary>
461
- <param name="predicate">The predicate to test whether to include an object.</param>
462
- <returns>The new locator</returns>
463
- <exception cref="T:System.ArgumentNullException">Predicate is null.</exception>
464
- </member>
465
- <member name="M:Microsoft.Practices.ObjectBuilder2.IReadableLocator.Get``1">
466
- <summary>
467
- Gets an object from the locator, registered with the key of typeof(T).
468
- </summary>
469
- <typeparam name="TItem">The type of the object to find.</typeparam>
470
- <returns>The object, if found; null otherwise.</returns>
471
- </member>
472
- <member name="M:Microsoft.Practices.ObjectBuilder2.IReadableLocator.Get``1(System.Object)">
473
- <summary>
474
- Gets an object from the locator, registered with the given key.
475
- </summary>
476
- <typeparam name="TItem">The type of the object to find.</typeparam>
477
- <param name="key">The key that the object is registered with.</param>
478
- <returns>The object, if found; null otherwise.</returns>
479
- <exception cref="T:System.ArgumentNullException">Key is null.</exception>
480
- </member>
481
- <member name="M:Microsoft.Practices.ObjectBuilder2.IReadableLocator.Get(System.Object)">
482
- <summary>
483
- Gets an object from the locator, registered with the given key.
484
- </summary>
485
- <param name="key">The key that the object is registered with.</param>
486
- <returns>The object, if found; null otherwise.</returns>
487
- <exception cref="T:System.ArgumentNullException">Key is null.</exception>
488
- </member>
489
- <member name="P:Microsoft.Practices.ObjectBuilder2.IReadableLocator.Count">
490
- <summary>
491
- Gets the number of items in the locator.
492
- </summary>
493
- <value>
494
- The number of items in the locator.
495
- </value>
496
- </member>
497
- <member name="P:Microsoft.Practices.ObjectBuilder2.IReadableLocator.ParentLocator">
498
- <summary>
499
- Gets the parent locator.
500
- </summary>
501
- <value>
502
- The parent locator.
503
- </value>
504
- </member>
505
- <member name="P:Microsoft.Practices.ObjectBuilder2.IReadableLocator.ReadOnly">
506
- <summary>
507
- Determines if the locator is read-only.
508
- </summary>
509
- <value>
510
- true if the locator is read-only; otherwise, false.
511
- </value>
512
- </member>
513
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.#ctor">
514
- <summary>
515
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.ReadableLocator"/> class.
516
- </summary>
517
- </member>
518
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.#ctor(Microsoft.Practices.ObjectBuilder2.IReadableLocator)">
519
- <summary>
520
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.ReadableLocator"/> class with a parent <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator"/>.
521
- </summary>
522
- <param name="parentLocator">A parent <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator"/>.</param>
523
- </member>
524
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.Contains(System.Object)">
525
- <summary>
526
- Determine if the locator contains an object for the given key.
527
- </summary>
528
- <param name="key">The key to check.</param>
529
- <returns>
530
- true if the locator contains an object for the key; returns
531
- false otherwise.
532
- </returns>
533
- </member>
534
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.FindBy(System.Predicate{System.Collections.Generic.KeyValuePair{System.Object,System.Object}})">
535
- <summary>
536
- Finds objects in the locator using the predicate, and returns a temporary locator
537
- filled with the found objects.
538
- </summary>
539
- <param name="predicate">The predicate to test whether to include an object.</param>
540
- <returns>The new locator</returns>
541
- <exception cref="T:System.ArgumentNullException">Predicate is null.</exception>
542
- </member>
543
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.Get``1">
544
- <summary>
545
- Gets an object from the locator, registered with the key of typeof(T).
546
- </summary>
547
- <typeparam name="TItem">The type of the object to find.</typeparam>
548
- <returns>The object, if found; null otherwise.</returns>
549
- </member>
550
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.Get``1(System.Object)">
551
- <summary>
552
- Gets an object from the locator, registered with the given key.
553
- </summary>
554
- <typeparam name="TItem">The type of the object to find.</typeparam>
555
- <param name="key">The key that the object is registered with.</param>
556
- <returns>The object, if found; null otherwise.</returns>
557
- <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is null.</exception>
558
- </member>
559
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.Get(System.Object)">
560
- <summary>
561
- Gets an object from the locator, registered with the given key.
562
- </summary>
563
- <param name="key">The key that the object is registered with.</param>
564
- <returns>The object, if found; null otherwise.</returns>
565
- <exception cref="T:System.ArgumentNullException">Key is null.</exception>
566
- </member>
567
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.GetEnumerator">
568
- <summary>
569
- Returns an enumerator that iterates through the locator.
570
- </summary>
571
- <returns>
572
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the locator.
573
- </returns>
574
- </member>
575
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadableLocator.System#Collections#IEnumerable#GetEnumerator">
576
- <summary>
577
- Returns an enumerator that iterates through the locator.
578
- </summary>
579
- <returns>
580
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the locator.
581
- </returns>
582
- </member>
583
- <member name="P:Microsoft.Practices.ObjectBuilder2.ReadableLocator.Count">
584
- <summary>
585
- Gets the number of items in the locator.
586
- </summary>
587
- <value>
588
- The number of items in the locator.
589
- </value>
590
- </member>
591
- <member name="P:Microsoft.Practices.ObjectBuilder2.ReadableLocator.ParentLocator">
592
- <summary>
593
- Gets the parent locator.
594
- </summary>
595
- <value>
596
- The parent locator.
597
- </value>
598
- </member>
599
- <member name="P:Microsoft.Practices.ObjectBuilder2.ReadableLocator.ReadOnly">
600
- <summary>
601
- Determines if the locator is read-only.
602
- </summary>
603
- <value>
604
- true if the locator is read-only; otherwise, false.
605
- </value>
606
- </member>
607
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadOnlyLocator.#ctor(Microsoft.Practices.ObjectBuilder2.IReadableLocator)">
608
- <summary>
609
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.ReadableLocator"/> class with an <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator"/> to wrap.
610
- </summary>
611
- <param name="innerLocator">The inner locator to be wrapped.</param>
612
- </member>
613
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadOnlyLocator.Contains(System.Object)">
614
- <summary>
615
- Determine if the locator contains an object for the given key.
616
- </summary>
617
- <param name="key">The key to check.</param>
618
- <returns>
619
- true if the locator contains an object for the key; returns
620
- false otherwise.
621
- </returns>
622
- </member>
623
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadOnlyLocator.Get(System.Object)">
624
- <summary>
625
- Gets an object from the locator, registered with the given key.
626
- </summary>
627
- <param name="key">The key that the object is registered with.</param>
628
- <returns>The object, if found; null otherwise.</returns>
629
- <exception cref="T:System.ArgumentNullException">Key is null.</exception>
630
- </member>
631
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadOnlyLocator.GetEnumerator">
632
- <summary>
633
- Returns an enumerator that iterates through the locator.
634
- </summary>
635
- <returns>
636
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the locator.
637
- </returns>
638
- </member>
639
- <member name="P:Microsoft.Practices.ObjectBuilder2.ReadOnlyLocator.Count">
640
- <summary>
641
- Gets the number of items in the locator.
642
- </summary>
643
- <value>
644
- The number of items in the locator.
645
- </value>
646
- </member>
647
- <member name="P:Microsoft.Practices.ObjectBuilder2.ReadOnlyLocator.ParentLocator">
648
- <summary>
649
- Gets the parent locator.
650
- </summary>
651
- <value>
652
- The parent locator.
653
- </value>
654
- </member>
655
- <member name="P:Microsoft.Practices.ObjectBuilder2.ReadOnlyLocator.ReadOnly">
656
- <summary>
657
- Determines if the locator is read-only.
658
- </summary>
659
- <value>
660
- true if the locator is read-only; otherwise, false.
661
- </value>
662
- </member>
663
- <member name="T:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException">
664
- <summary>
665
- The exception thrown when injection is attempted on a method
666
- that is an open generic or has out or ref params.
667
- </summary>
668
- <summary>
669
- The exception thrown when injection is attempted on a method
670
- that is an open generic or has out or ref params.
671
- </summary>
672
- </member>
673
- <member name="M:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException.#ctor">
674
- <summary>
675
- Construct a new <see cref="T:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException"/> with no
676
- message.
677
- </summary>
678
- </member>
679
- <member name="M:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException.#ctor(System.String)">
680
- <summary>
681
- Construct a <see cref="T:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException"/> with the given message
682
- </summary>
683
- <param name="message">Message to return.</param>
684
- </member>
685
- <member name="M:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException.#ctor(System.String,System.Exception)">
686
- <summary>
687
- Construct a <see cref="T:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException"/> with the given message
688
- and inner exception.
689
- </summary>
690
- <param name="message">Message to return.</param>
691
- <param name="innerException">Inner exception</param>
692
- </member>
693
- <member name="M:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
694
- <summary>
695
- Used for serialization.
696
- </summary>
697
- <param name="info">Serialization info.</param>
698
- <param name="context">Serialization context.</param>
699
- </member>
700
- <member name="T:Microsoft.Practices.ObjectBuilder2.TransientLifetimePolicy">
701
- <summary>
702
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"/> that does nothing,
703
- ensuring that a new object gets created every time.
704
- </summary>
705
- </member>
706
- <member name="M:Microsoft.Practices.ObjectBuilder2.TransientLifetimePolicy.GetValue">
707
- <summary>
708
- Retrieve a value from the backing store associated with this Lifetime policy.
709
- </summary>
710
- <returns>the object desired, or null if no such object is currently stored.</returns>
711
- </member>
712
- <member name="M:Microsoft.Practices.ObjectBuilder2.TransientLifetimePolicy.SetValue(System.Object)">
713
- <summary>
714
- Stores the given value into backing store for retrieval later.
715
- </summary>
716
- <param name="newValue">The object being stored.</param>
717
- </member>
718
- <member name="M:Microsoft.Practices.ObjectBuilder2.TransientLifetimePolicy.RemoveValue">
719
- <summary>
720
- Remove the given object from backing store.
721
- </summary>
722
- </member>
723
- <member name="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer">
724
- <summary>
725
- Represents a lifetime container.
726
- </summary>
727
- <remarks>
728
- A lifetime container tracks the lifetime of an object, and implements
729
- IDisposable. When the container is disposed, any objects in the
730
- container which implement IDisposable are also disposed.
731
- </remarks>
732
- </member>
733
- <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer.Add(System.Object)">
734
- <summary>
735
- Adds an object to the lifetime container.
736
- </summary>
737
- <param name="item">The item to be added to the lifetime container.</param>
738
- </member>
739
- <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer.Contains(System.Object)">
740
- <summary>
741
- Determine if a given object is in the lifetime container.
742
- </summary>
743
- <param name="item">
744
- The item to locate in the lifetime container.
745
- </param>
746
- <returns>
747
- Returns true if the object is contained in the lifetime
748
- container; returns false otherwise.
749
- </returns>
750
- </member>
751
- <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer.Remove(System.Object)">
752
- <summary>
753
- Removes an item from the lifetime container. The item is
754
- not disposed.
755
- </summary>
756
- <param name="item">The item to be removed.</param>
757
- </member>
758
- <member name="P:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer.Count">
759
- <summary>
760
- Gets the number of references in the lifetime container
761
- </summary>
762
- <value>
763
- The number of references in the lifetime container
764
- </value>
765
- </member>
766
- <member name="T:Microsoft.Practices.ObjectBuilder2.FixedTypeResolverPolicy">
767
- <summary>
768
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that
769
- calls back into the build chain to build up the dependency, passing
770
- a type given at compile time as its build key.
771
- </summary>
772
- </member>
773
- <member name="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy">
774
- <summary>
775
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that is used at build plan execution time
776
- to resolve a dependent value.
777
- </summary>
778
- </member>
779
- <member name="M:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
780
- <summary>
781
- Get the value for a dependency.
782
- </summary>
783
- <param name="context">Current build context.</param>
784
- <returns>The value for the dependency.</returns>
785
- </member>
786
- <member name="M:Microsoft.Practices.ObjectBuilder2.FixedTypeResolverPolicy.#ctor(System.Type)">
787
- <summary>
788
- Create a new instance storing the given type.
789
- </summary>
790
- <param name="typeToBuild">Type to resolve.</param>
791
- </member>
792
- <member name="M:Microsoft.Practices.ObjectBuilder2.FixedTypeResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
793
- <summary>
794
- Get the value for a dependency.
795
- </summary>
796
- <param name="context">Current build context.</param>
797
- <returns>The value for the dependency.</returns>
798
- </member>
799
- <member name="T:Microsoft.Practices.ObjectBuilder2.PropertySelectorPolicy`1">
800
- <summary>
801
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"/> that looks
802
- for properties marked with the <typeparamref name="TResolutionAttribute"/>
803
- attribute that are also settable and not indexers.
804
- </summary>
805
- <typeparam name="TResolutionAttribute"></typeparam>
806
- </member>
807
- <member name="T:Microsoft.Practices.ObjectBuilder2.PropertySelectorBase`1">
808
- <summary>
809
- Base class that provides an implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"/>
810
- which lets you override how the parameter resolvers are created.
811
- </summary>
812
- </member>
813
- <member name="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy">
814
- <summary>
815
- An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that returns a sequence
816
- of properties that should be injected for the given type.
817
- </summary>
818
- </member>
819
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
820
- <summary>
821
- Returns sequence of properties on the given type that
822
- should be set as part of building that object.
823
- </summary>
824
- <param name="context">Current build context.</param>
825
- <returns>Sequence of <see cref="T:System.Reflection.PropertyInfo"/> objects
826
- that contain the properties to set.</returns>
827
- </member>
828
- <member name="M:Microsoft.Practices.ObjectBuilder2.PropertySelectorBase`1.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
829
- <summary>
830
- Returns sequence of properties on the given type that
831
- should be set as part of building that object.
832
- </summary>
833
- <param name="context">current build context.</param>
834
- <returns>Sequence of <see cref="T:System.Reflection.PropertyInfo"/> objects
835
- that contain the properties to set.</returns>
836
- </member>
837
- <member name="M:Microsoft.Practices.ObjectBuilder2.PropertySelectorBase`1.CreateResolver(System.Reflection.PropertyInfo)">
838
- <summary>
839
- Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for the given
840
- property.
841
- </summary>
842
- <param name="property">Property to create resolver for.</param>
843
- <returns>The resolver object.</returns>
844
- </member>
845
- <member name="M:Microsoft.Practices.ObjectBuilder2.PropertySelectorPolicy`1.CreateResolver(System.Reflection.PropertyInfo)">
846
- <summary>
847
- Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for the given
848
- property.
849
- </summary>
850
- <param name="property">Property to create resolver for.</param>
851
- <returns>The resolver object.</returns>
852
- </member>
853
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanCreatorPolicy">
854
- <summary>
855
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that can create and return an <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanPolicy"/>
856
- for the given build key.
857
- </summary>
858
- </member>
859
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuildPlanCreatorPolicy.CreatePlan(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Object)">
860
- <summary>
861
- Create a build plan using the given context and build key.
862
- </summary>
863
- <param name="context">Current build context.</param>
864
- <param name="buildKey">Current build key.</param>
865
- <returns>The build plan.</returns>
866
- </member>
867
- <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodCallStrategy">
868
- <summary>
869
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> that generates IL to call
870
- chosen methods (as specified by the current <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/>)
871
- as part of object build up.
872
- </summary>
873
- </member>
874
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodCallStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
875
- <summary>
876
- Called during the chain of responsibility for a build operation. The
877
- PreBuildUp method is called when the chain is being executed in the
878
- forward direction.
879
- </summary>
880
- <param name="context">Context of the build operation.</param>
881
- </member>
882
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodCallStrategy.ThrowOnParameterResolveFailed(System.Exception,System.String,System.String)">
883
- <summary>
884
- A helper method used by the generated IL to throw an exception
885
- when an injection method parameter could not be resolved.
886
- </summary>
887
- <param name="inner">Exception that provides the failure info.</param>
888
- <param name="methodName">Name of the method that was going to be called.</param>
889
- <param name="parameterName">Parameter that failed to resolve.</param>
890
- </member>
891
- <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters">
892
- <summary>
893
- Base class for return of selector policies that need
894
- to keep track of a set of parameter keys.
895
- </summary>
896
- </member>
897
- <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters.AddParameterKey(System.String)">
898
- <summary>
899
- Add a new parameter key to this object. Keys are assumed
900
- to be in the order of the parameters to the constructor.
901
- </summary>
902
- <param name="newKey">Key for the next parameter to look up.</param>
903
- </member>
904
- <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters.GetParameterKeys">
905
- <summary>
906
- The set of keys for the constructor parameters.
907
- </summary>
908
- </member>
909
- <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters`1">
910
- <summary>
911
- Base class for return values from selector policies that
912
- return a memberinfo of some sort plus a list of parameter
913
- keys to look up the parameter resolvers.
914
- </summary>
915
- </member>
916
- <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters`1.#ctor(`0)">
917
- <summary>
918
- Construct a new <see cref="T:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters`1"/>, storing
919
- the given member info.
920
- </summary>
921
- <param name="memberInfo">Member info to store.</param>
922
- </member>
923
- <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters`1.MemberInfo">
924
- <summary>
925
- The member info stored.
926
- </summary>
927
- </member>
928
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy">
929
- <summary>
930
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> that will look for a build plan
931
- in the current context. If it exists, it invokes it, otherwise
932
- it creates one and stores it for later, and invokes it.
933
- </summary>
934
- </member>
935
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
936
- <summary>
937
- Called during the chain of responsibility for a build operation.
938
- </summary>
939
- <param name="context">The context for the operation.</param>
940
- </member>
941
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilder">
942
- <summary>
943
- Represents the main interface for an object builder.
944
- </summary>
945
- </member>
946
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilder.BuildUp(Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IStrategyChain,System.Object,System.Object)">
947
- <summary>
948
- Performs a build operation.
949
- </summary>
950
- <remarks>
951
- This operation uses the strategies and permanent policies already configured
952
- into the builder, combined with the optional transient policies, and starts a build
953
- operation. Transient policies override any built-in policies, when present.
954
- </remarks>
955
- <param name="locator">The locator to be used for this build operation.</param>
956
- <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this build operation.</param>
957
- <param name="policies">
958
- The transient policies to apply to this build. These
959
- policies take precedence over any permanent policies built into the builder.
960
- </param>
961
- <param name="strategies">
962
- The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this build operation.
963
- </param>
964
- <param name="buildKey">The key of the object to build.</param>
965
- <param name="existing">
966
- The existing object to run the build chain on, if one exists.
967
- If null is passed, a new object instance will typically be created by some strategy
968
- in the chain.
969
- </param>
970
- <returns>The built object.</returns>
971
- </member>
972
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilder.BuildUp``1(Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IStrategyChain,System.Object,System.Object)">
973
- <summary>
974
- Performs a build operation.
975
- </summary>
976
- <remarks>
977
- This operation uses the strategies and permanent policies already configured
978
- into the builder, combined with the optional transient policies, and starts a build
979
- operation. Transient policies override any built-in policies, when present.
980
- </remarks>
981
- <typeparam name="TTypeToBuild">The type to build.</typeparam>
982
- <param name="locator">The locator to be used for this build operation.</param>
983
- <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this build operation.</param>
984
- <param name="policies">
985
- The transient policies to apply to this build. These
986
- policies take precedence over any permanent policies built into the builder.
987
- </param>
988
- <param name="strategies">
989
- The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this build operation.
990
- </param>
991
- <param name="buildKey">The key of the object to build.</param>
992
- <param name="existing">
993
- The existing object to run the build chain on, if one exists.
994
- If null is passed, a new object instance will typically be created by some strategy
995
- in the chain.
996
- </param>
997
- <returns>The built object.</returns>
998
- </member>
999
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilder.TearDown``1(Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IStrategyChain,``0)">
1000
- <summary>
1001
- Performs an unbuild operation.
1002
- </summary>
1003
- <typeparam name="TItem">The type to unbuild. If not provided, it will be inferred from the
1004
- type of item.
1005
- </typeparam>
1006
- <param name="locator">The locator to be used for this build operation.</param>
1007
- <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this build operation.</param>
1008
- <param name="policies">
1009
- The transient policies to apply to this build. These
1010
- policies take precedence over any permanent policies built into the builder.
1011
- </param>
1012
- <param name="strategies">
1013
- The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this build operation.
1014
- </param>
1015
- <param name="item">The item to tear down.</param>
1016
- <returns>The torn down item.</returns>
1017
- </member>
1018
- <member name="T:Microsoft.Practices.ObjectBuilder2.RecoveryStack">
1019
- <summary>
1020
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IRecoveryStack"/>.
1021
- </summary>
1022
- </member>
1023
- <member name="T:Microsoft.Practices.ObjectBuilder2.IRecoveryStack">
1024
- <summary>
1025
- Data structure that stores the set of <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/>
1026
- objects and executes them when requested.
1027
- </summary>
1028
- </member>
1029
- <member name="M:Microsoft.Practices.ObjectBuilder2.IRecoveryStack.Add(Microsoft.Practices.ObjectBuilder2.IRequiresRecovery)">
1030
- <summary>
1031
- Add a new <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> object to this
1032
- list.
1033
- </summary>
1034
- <param name="recovery">Object to add.</param>
1035
- </member>
1036
- <member name="M:Microsoft.Practices.ObjectBuilder2.IRecoveryStack.ExecuteRecovery">
1037
- <summary>
1038
- Execute the <see cref="M:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery.Recover"/> method
1039
- of everything in the recovery list. Recoveries will execute
1040
- in the opposite order of add - it's a stack.
1041
- </summary>
1042
- </member>
1043
- <member name="P:Microsoft.Practices.ObjectBuilder2.IRecoveryStack.Count">
1044
- <summary>
1045
- Return the number of recovery objects currently in the stack.
1046
- </summary>
1047
- </member>
1048
- <member name="M:Microsoft.Practices.ObjectBuilder2.RecoveryStack.Add(Microsoft.Practices.ObjectBuilder2.IRequiresRecovery)">
1049
- <summary>
1050
- Add a new <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> object to this
1051
- list.
1052
- </summary>
1053
- <param name="recovery">Object to add.</param>
1054
- </member>
1055
- <member name="M:Microsoft.Practices.ObjectBuilder2.RecoveryStack.ExecuteRecovery">
1056
- <summary>
1057
- Execute the <see cref="M:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery.Recover"/> method
1058
- of everything in the recovery list. Recoveries will execute
1059
- in the opposite order of add - it's a stack.
1060
- </summary>
1061
- </member>
1062
- <member name="P:Microsoft.Practices.ObjectBuilder2.RecoveryStack.Count">
1063
- <summary>
1064
- Return the number of recovery objects currently in the stack.
1065
- </summary>
1066
- </member>
1067
- <member name="T:Microsoft.Practices.ObjectBuilder2.Locator">
1068
- <summary>
1069
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator"/> and <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator"/>.
1070
- </summary>
1071
- </member>
1072
- <member name="T:Microsoft.Practices.ObjectBuilder2.ReadWriteLocator">
1073
- <summary>
1074
- Represents an abstract implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator"/>.
1075
- </summary>
1076
- </member>
1077
- <member name="T:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator">
1078
- <summary>
1079
- Represents a locator that can be read from and written to.
1080
- </summary>
1081
- <remarks>
1082
- <para>
1083
- A locator is dictionary of keys to values, but it keeps the values with
1084
- weak references, so that locating an object does not keep it alive. If you
1085
- want to keep the object alive too, you should consider using an
1086
- <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/>.
1087
- </para>
1088
- <para>
1089
- Locators have a built-in concept of hierarchy, so you can ask questions
1090
- of a locator and tell it whether to return results from the current locator
1091
- only, or whether to ask the parent locator when local lookups fail.</para>
1092
- </remarks>
1093
- </member>
1094
- <member name="M:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator.Add(System.Object,System.Object)">
1095
- <summary>
1096
- Adds an object to the locator, with the given key.
1097
- </summary>
1098
- <param name="key">The key to register the object with.</param>
1099
- <param name="value">The object to be registered.</param>
1100
- <exception cref="T:System.ArgumentNullException"><paramref name="key"/> or value are null.</exception>
1101
- </member>
1102
- <member name="M:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator.Remove(System.Object)">
1103
- <summary>
1104
- Removes an object from the locator.
1105
- </summary>
1106
- <param name="key">The key under which the object was registered.</param>
1107
- <returns>
1108
- Returns true if the object was found in the locator; returns
1109
- false otherwise.
1110
- </returns>
1111
- <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is null.</exception>
1112
- </member>
1113
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadWriteLocator.#ctor">
1114
- <summary>
1115
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.ReadWriteLocator"/> class.
1116
- </summary>
1117
- </member>
1118
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadWriteLocator.#ctor(Microsoft.Practices.ObjectBuilder2.IReadableLocator)">
1119
- <summary>
1120
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.ReadWriteLocator"/> class with a parent <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator"/>.
1121
- </summary>
1122
- <param name="parentLocator">A parent <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadableLocator"/>.</param>
1123
- </member>
1124
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadWriteLocator.Add(System.Object,System.Object)">
1125
- <summary>
1126
- Adds an object to the locator, with the given key.
1127
- </summary>
1128
- <param name="key">The key to register the object with.</param>
1129
- <param name="value">The object to be registered.</param>
1130
- <exception cref="T:System.ArgumentNullException"><paramref name="key"/> or value are null.</exception>
1131
- </member>
1132
- <member name="M:Microsoft.Practices.ObjectBuilder2.ReadWriteLocator.Remove(System.Object)">
1133
- <summary>
1134
- Removes an object from the locator.
1135
- </summary>
1136
- <param name="key">The key under which the object was registered.</param>
1137
- <returns>
1138
- Returns true if the object was found in the locator; returns
1139
- false otherwise.
1140
- </returns>
1141
- <exception cref="T:System.ArgumentNullException"><paramref name="key"/> is null.</exception>
1142
- </member>
1143
- <member name="P:Microsoft.Practices.ObjectBuilder2.ReadWriteLocator.ReadOnly">
1144
- <summary>
1145
- Determines if the locator is read-only.
1146
- </summary>
1147
- <value>
1148
- true if the locator is read-only; otherwise, false.
1149
- </value>
1150
- </member>
1151
- <member name="M:Microsoft.Practices.ObjectBuilder2.Locator.#ctor">
1152
- <summary>
1153
- Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.Locator"/> class.
1154
- </summary>
1155
- </member>
1156
- <member name="M:Microsoft.Practices.ObjectBuilder2.Locator.#ctor(Microsoft.Practices.ObjectBuilder2.IReadableLocator)">
1157
- <summary>
1158
- Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.Locator"/> class as a child of the <paramref name="parentLocator"/>.
1159
- </summary>
1160
- <param name="parentLocator">The parent locator.</param>
1161
- </member>
1162
- <member name="M:Microsoft.Practices.ObjectBuilder2.Locator.Add(System.Object,System.Object)">
1163
- <summary>
1164
- Adds an object to the locator, with the given key.
1165
- </summary>
1166
- <param name="key">The key to register the object with.</param>
1167
- <param name="value">The object to be registered.</param>
1168
- <exception cref="T:System.ArgumentNullException">Key or value are null.</exception>
1169
- </member>
1170
- <member name="M:Microsoft.Practices.ObjectBuilder2.Locator.Contains(System.Object)">
1171
- <summary>
1172
- Determine if the locator contains an object for the given key.
1173
- </summary>
1174
- <param name="key">The key to check.</param>
1175
- <returns>
1176
- true if the locator contains an object for the key; returns
1177
- false otherwise.
1178
- </returns>
1179
- </member>
1180
- <member name="M:Microsoft.Practices.ObjectBuilder2.Locator.Get(System.Object)">
1181
- <summary>
1182
- Gets an object from the locator, registered with the given key.
1183
- </summary>
1184
- <param name="key">The key that the object is registered with.</param>
1185
- <returns>The object, if found; null otherwise.</returns>
1186
- <exception cref="T:System.ArgumentNullException">Key is null.</exception>
1187
- </member>
1188
- <member name="M:Microsoft.Practices.ObjectBuilder2.Locator.GetEnumerator">
1189
- <summary>
1190
- Returns an enumerator that iterates through a locator.
1191
- </summary>
1192
- <returns>
1193
- An <see cref="T:System.Collections.Generic.IEnumerator`1"/> object that can be used to iterate through the locator.
1194
- </returns>
1195
- </member>
1196
- <member name="M:Microsoft.Practices.ObjectBuilder2.Locator.Remove(System.Object)">
1197
- <summary>
1198
- Removes an object from the locator.
1199
- </summary>
1200
- <param name="key">The key under which the object was registered.</param>
1201
- <returns>
1202
- Returns true if the object was found in the locator; returns
1203
- false otherwise.
1204
- </returns>
1205
- <exception cref="T:System.ArgumentNullException">Key is null.</exception>
1206
- </member>
1207
- <member name="P:Microsoft.Practices.ObjectBuilder2.Locator.Count">
1208
- <summary>
1209
- Gets the number of items in the locator.
1210
- </summary>
1211
- <value>
1212
- The number of items in the locator.
1213
- </value>
1214
- </member>
1215
- <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy">
1216
- <summary>
1217
- An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanCreatorPolicy"/> implementation
1218
- that constructs a build plan via dynamic IL emission.
1219
- </summary>
1220
- </member>
1221
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.#ctor(Microsoft.Practices.ObjectBuilder2.IStagedStrategyChain)">
1222
- <summary>
1223
- Construct a <see cref="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy"/> that
1224
- uses the given strategy chain to construct the build plan.
1225
- </summary>
1226
- <param name="strategies"></param>
1227
- </member>
1228
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.CreatePlan(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Object)">
1229
- <summary>
1230
- Construct a build plan.
1231
- </summary>
1232
- <param name="context">The current build context.</param>
1233
- <param name="buildKey">The current build key.</param>
1234
- <returns>The created build plan.</returns>
1235
- </member>
1236
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext">
1237
- <summary>
1238
- Represents the context in which a build-up or tear-down operation runs.
1239
- </summary>
1240
- </member>
1241
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderContext.CloneForNewBuild(System.Object,System.Object)">
1242
- <summary>
1243
- Create a new IBuilderContext which has the same strategies, locator, policies, and lifetime
1244
- but a new build key and existing object. Used to execute recursive calls when
1245
- building up dependencies.
1246
- </summary>
1247
- <param name="newBuildKey">Build key for new buildup.</param>
1248
- <param name="newExistingObject">New exsting object for buildup.</param>
1249
- <returns>The new context.</returns>
1250
- </member>
1251
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Strategies">
1252
- <summary>
1253
- Gets the head of the strategy chain.
1254
- </summary>
1255
- <returns>
1256
- The strategy that's first in the chain; returns null if there are no
1257
- strategies in the chain.
1258
- </returns>
1259
- </member>
1260
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Lifetime">
1261
- <summary>
1262
- Gets the <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> associated with the build.
1263
- </summary>
1264
- <value>
1265
- The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> associated with the build.
1266
- </value>
1267
- </member>
1268
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Locator">
1269
- <summary>
1270
- Gets the locator available to the strategies.
1271
- </summary>
1272
- <value>
1273
- The locator available to the strategies.
1274
- </value>
1275
- </member>
1276
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.OriginalBuildKey">
1277
- <summary>
1278
- Gets the original build key for the build operation.
1279
- </summary>
1280
- <value>
1281
- The original build key for the build operation.
1282
- </value>
1283
- </member>
1284
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.PersistentPolicies">
1285
- <summary>
1286
- The set of policies that were passed into this context.
1287
- </summary>
1288
- <remarks>This returns the policies passed into the context.
1289
- Policies added here will remain after buildup completes.</remarks>
1290
- <value>The persistent policies for the current context.</value>
1291
- </member>
1292
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Policies">
1293
- <summary>
1294
- Gets the policies for the current context.
1295
- </summary>
1296
- <remarks>Any policies added to this object are transient
1297
- and will be erased at the end of the buildup.</remarks>
1298
- <value>
1299
- The policies for the current context.
1300
- </value>
1301
- </member>
1302
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.RecoveryStack">
1303
- <summary>
1304
- Gets the collection of <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> objects
1305
- that need to execute in event of an exception.
1306
- </summary>
1307
- </member>
1308
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.BuildKey">
1309
- <summary>
1310
- Get the current build key for the current build operation.
1311
- </summary>
1312
- </member>
1313
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Existing">
1314
- <summary>
1315
- The current object being built up or torn down.
1316
- </summary>
1317
- <value>
1318
- The current object being manipulated by the build operation. May
1319
- be null if the object hasn't been created yet.</value>
1320
- </member>
1321
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.BuildComplete">
1322
- <summary>
1323
- Flag indicating if the build operation should continue.
1324
- </summary>
1325
- <value>true means that building should not call any more
1326
- strategies, false means continue to the next strategy.</value>
1327
- </member>
1328
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderContext">
1329
- <summary>
1330
- Represents the context in which a build-up or tear-down operation runs.
1331
- </summary>
1332
- </member>
1333
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.#ctor">
1334
- <summary>
1335
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderContext"/> class.
1336
- </summary>
1337
- </member>
1338
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.#ctor(Microsoft.Practices.ObjectBuilder2.IStrategyChain,Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,System.Object)">
1339
- <summary>
1340
- Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderContext"/> class with a <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/>,
1341
- <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator"/>, <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/>, <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> and the
1342
- build key used to start this build operation.
1343
- </summary>
1344
- <param name="chain">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this context.</param>
1345
- <param name="locator">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator"/> to use for this context.</param>
1346
- <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this context.</param>
1347
- <param name="policies">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to use for this context.</param>
1348
- <param name="originalBuildKey">Build key to start building.</param>
1349
- <param name="existing">The existing object to build up.</param>
1350
- </member>
1351
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.#ctor(Microsoft.Practices.ObjectBuilder2.IStrategyChain,Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,System.Object)">
1352
- <summary>
1353
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderContext"/> using the explicitly provided
1354
- values.
1355
- </summary>
1356
- <param name="chain">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this context.</param>
1357
- <param name="locator">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator"/> to use for this context.</param>
1358
- <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this context.</param>
1359
- <param name="persistentPolicies">The set of persistent policies to use for this context.</param>
1360
- <param name="transientPolicies">The set of transient policies to use for this context. It is
1361
- the caller's responsibility to ensure that the transient and persistent policies are properly
1362
- combined.</param>
1363
- <param name="buildKey">Build key for this context.</param>
1364
- <param name="existing">Existing object to build up.</param>
1365
- </member>
1366
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.CloneForNewBuild(System.Object,System.Object)">
1367
- <summary>
1368
- Create a new IBuilderContext which has the same strategies, locator, policies, and lifetime
1369
- but a new build key and existing object. Used to execute recursive calls when
1370
- building up dependencies.
1371
- </summary>
1372
- <param name="newBuildKey">Build key for new buildup.</param>
1373
- <param name="newExistingObject">New exsting object for buildup.</param>
1374
- <returns>The new context.</returns>
1375
- </member>
1376
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp``1(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
1377
- <summary>
1378
- A convenience method to do a new buildup operation on an existing context.
1379
- </summary>
1380
- <remarks>This helper is specific to NamedTypeBuildKey.</remarks>
1381
- <typeparam name="T">Type to return from the buildup.</typeparam>
1382
- <param name="context">Existing context.</param>
1383
- <returns>The built up object.</returns>
1384
- </member>
1385
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Strategies">
1386
- <summary>
1387
- Gets the head of the strategy chain.
1388
- </summary>
1389
- <returns>
1390
- The strategy that's first in the chain; returns null if there are no
1391
- strategies in the chain.
1392
- </returns>
1393
- </member>
1394
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.BuildKey">
1395
- <summary>
1396
- Get the current build key for the current build operation.
1397
- </summary>
1398
- </member>
1399
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Existing">
1400
- <summary>
1401
- The current object being built up or torn down.
1402
- </summary>
1403
- <value>
1404
- The current object being manipulated by the build operation. May
1405
- be null if the object hasn't been created yet.</value>
1406
- </member>
1407
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Lifetime">
1408
- <summary>
1409
- Gets the <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> associated with the build.
1410
- </summary>
1411
- <value>
1412
- The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> associated with the build.
1413
- </value>
1414
- </member>
1415
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Locator">
1416
- <summary>
1417
- Gets the locator available to the strategies.
1418
- </summary>
1419
- <value>
1420
- The locator available to the strategies.
1421
- </value>
1422
- </member>
1423
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.OriginalBuildKey">
1424
- <summary>
1425
- Gets the original build key for the build operation.
1426
- </summary>
1427
- <value>
1428
- The original build key for the build operation.
1429
- </value>
1430
- </member>
1431
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.PersistentPolicies">
1432
- <summary>
1433
- The set of policies that were passed into this context.
1434
- </summary>
1435
- <remarks>This returns the policies passed into the context.
1436
- Policies added here will remain after buildup completes.</remarks>
1437
- <value>The persistent policies for the current context.</value>
1438
- </member>
1439
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Policies">
1440
- <summary>
1441
- Gets the policies for the current context.
1442
- </summary>
1443
- <remarks>
1444
- Any modifications will be transient (meaning, they will be forgotten when
1445
- the outer BuildUp for this context is finished executing).
1446
- </remarks>
1447
- <value>
1448
- The policies for the current context.
1449
- </value>
1450
- </member>
1451
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.RecoveryStack">
1452
- <summary>
1453
- Gets the collection of <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> objects
1454
- that need to execute in event of an exception.
1455
- </summary>
1456
- </member>
1457
- <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.BuildComplete">
1458
- <summary>
1459
- Flag indicating if the build operation should continue.
1460
- </summary>
1461
- <value>true means that building should not call any more
1462
- strategies, false means continue to the next strategy.</value>
1463
- </member>
1464
- <member name="T:Microsoft.Practices.ObjectBuilder2.PolicyList">
1465
- <summary>
1466
- A custom collection wrapper over <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> objects.
1467
- </summary>
1468
- </member>
1469
- <member name="T:Microsoft.Practices.ObjectBuilder2.IPolicyList">
1470
- <summary>
1471
- A custom collection over <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> objects.
1472
- </summary>
1473
- </member>
1474
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Clear``1(System.Object)">
1475
- <summary>
1476
- Removes an individual policy type for a build key.
1477
- </summary>
1478
- <typeparam name="TPolicyInterface">The type the policy was registered as.</typeparam>
1479
- <param name="buildKey">The key the policy applies.</param>
1480
- </member>
1481
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Clear(System.Type,System.Object)">
1482
- <summary>
1483
- Removes an individual policy type for a build key.
1484
- </summary>
1485
- <param name="policyInterface">The type of policy to remove.</param>
1486
- <param name="buildKey">The key the policy applies.</param>
1487
- </member>
1488
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.ClearAll">
1489
- <summary>
1490
- Removes all policies from the list.
1491
- </summary>
1492
- </member>
1493
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.ClearDefault``1">
1494
- <summary>
1495
- Removes a default policy.
1496
- </summary>
1497
- <typeparam name="TPolicyInterface">The type the policy was registered as.</typeparam>
1498
- </member>
1499
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.ClearDefault(System.Type)">
1500
- <summary>
1501
- Removes a default policy.
1502
- </summary>
1503
- <param name="policyInterface">The type the policy was registered as.</param>
1504
- </member>
1505
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Get``1(System.Object)">
1506
- <summary>
1507
- Gets an individual policy.
1508
- </summary>
1509
- <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam>
1510
- <param name="buildKey">The key the policy applies.</param>
1511
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1512
- </member>
1513
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Get(System.Type,System.Object)">
1514
- <summary>
1515
- Gets an individual policy.
1516
- </summary>
1517
- <param name="policyInterface">The interface the policy is registered under.</param>
1518
- <param name="buildKey">The key the policy applies.</param>
1519
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1520
- </member>
1521
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Get``1(System.Object,System.Boolean)">
1522
- <summary>
1523
- Gets an individual policy.
1524
- </summary>
1525
- <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam>
1526
- <param name="buildKey">The key the policy applies.</param>
1527
- <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param>
1528
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1529
- </member>
1530
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Get(System.Type,System.Object,System.Boolean)">
1531
- <summary>
1532
- Gets an individual policy.
1533
- </summary>
1534
- <param name="policyInterface">The interface the policy is registered under.</param>
1535
- <param name="buildKey">The key the policy applies.</param>
1536
- <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param>
1537
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1538
- </member>
1539
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.GetNoDefault``1(System.Object,System.Boolean)">
1540
- <summary>
1541
- Get the non default policy.
1542
- </summary>
1543
- <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam>
1544
- <param name="buildKey">The key the policy applies.</param>
1545
- <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param>
1546
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1547
- </member>
1548
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.GetNoDefault(System.Type,System.Object,System.Boolean)">
1549
- <summary>
1550
- Get the non default policy.
1551
- </summary>
1552
- <param name="policyInterface">The interface the policy is registered under.</param>
1553
- <param name="buildKey">The key the policy applies.</param>
1554
- <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param>
1555
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1556
- </member>
1557
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Set``1(``0,System.Object)">
1558
- <summary>
1559
- Sets an individual policy.
1560
- </summary>
1561
- <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam>
1562
- <param name="policy">The policy to be registered.</param>
1563
- <param name="buildKey">The key the policy applies.</param>
1564
- </member>
1565
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Set(System.Type,Microsoft.Practices.ObjectBuilder2.IBuilderPolicy,System.Object)">
1566
- <summary>
1567
- Sets an individual policy.
1568
- </summary>
1569
- <param name="policyInterface">The <see cref="T:System.Type"/> of the policy.</param>
1570
- <param name="policy">The policy to be registered.</param>
1571
- <param name="buildKey">The key the policy applies.</param>
1572
- </member>
1573
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.SetDefault``1(``0)">
1574
- <summary>
1575
- Sets a default policy. When checking for a policy, if no specific individual policy
1576
- is available, the default will be used.
1577
- </summary>
1578
- <typeparam name="TPolicyInterface">The interface to register the policy under.</typeparam>
1579
- <param name="policy">The default policy to be registered.</param>
1580
- </member>
1581
- <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.SetDefault(System.Type,Microsoft.Practices.ObjectBuilder2.IBuilderPolicy)">
1582
- <summary>
1583
- Sets a default policy. When checking for a policy, if no specific individual policy
1584
- is available, the default will be used.
1585
- </summary>
1586
- <param name="policyInterface">The interface to register the policy under.</param>
1587
- <param name="policy">The default policy to be registered.</param>
1588
- </member>
1589
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.#ctor">
1590
- <summary>
1591
- Initialize a new instance of a <see cref="T:Microsoft.Practices.ObjectBuilder2.PolicyList"/> class.
1592
- </summary>
1593
- </member>
1594
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.#ctor(Microsoft.Practices.ObjectBuilder2.IPolicyList)">
1595
- <summary>
1596
- Initialize a new instance of a <see cref="T:Microsoft.Practices.ObjectBuilder2.PolicyList"/> class with another policy list.
1597
- </summary>
1598
- <param name="innerPolicyList">An inner policy list to search.</param>
1599
- </member>
1600
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Clear``1(System.Object)">
1601
- <summary>
1602
- Removes an individual policy type for a build key.
1603
- </summary>
1604
- <typeparam name="TPolicyInterface">The type the policy was registered as.</typeparam>
1605
- <param name="buildKey">The key the policy applies.</param>
1606
- </member>
1607
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Clear(System.Type,System.Object)">
1608
- <summary>
1609
- Removes an individual policy type for a build key.
1610
- </summary>
1611
- <param name="policyInterface">The type of policy to remove.</param>
1612
- <param name="buildKey">The key the policy applies.</param>
1613
- </member>
1614
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.ClearAll">
1615
- <summary>
1616
- Removes all policies from the list.
1617
- </summary>
1618
- </member>
1619
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.ClearDefault``1">
1620
- <summary>
1621
- Removes a default policy.
1622
- </summary>
1623
- <typeparam name="TPolicyInterface">The type the policy was registered as.</typeparam>
1624
- </member>
1625
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.ClearDefault(System.Type)">
1626
- <summary>
1627
- Removes a default policy.
1628
- </summary>
1629
- <param name="policyInterface">The type the policy was registered as.</param>
1630
- </member>
1631
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Get``1(System.Object)">
1632
- <summary>
1633
- Gets an individual policy.
1634
- </summary>
1635
- <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam>
1636
- <param name="buildKey">The key the policy applies.</param>
1637
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1638
- </member>
1639
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Get(System.Type,System.Object)">
1640
- <summary>
1641
- Gets an individual policy.
1642
- </summary>
1643
- <param name="policyInterface">The interface the policy is registered under.</param>
1644
- <param name="buildKey">The key the policy applies.</param>
1645
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1646
- </member>
1647
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Get``1(System.Object,System.Boolean)">
1648
- <summary>
1649
- Gets an individual policy.
1650
- </summary>
1651
- <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam>
1652
- <param name="buildKey">The key the policy applies.</param>
1653
- <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param>
1654
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1655
- </member>
1656
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Get(System.Type,System.Object,System.Boolean)">
1657
- <summary>
1658
- Gets an individual policy.
1659
- </summary>
1660
- <param name="policyInterface">The interface the policy is registered under.</param>
1661
- <param name="buildKey">The key the policy applies.</param>
1662
- <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param>
1663
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1664
- </member>
1665
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.GetNoDefault``1(System.Object,System.Boolean)">
1666
- <summary>
1667
- Get the non default policy.
1668
- </summary>
1669
- <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam>
1670
- <param name="buildKey">The key the policy applies.</param>
1671
- <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param>
1672
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1673
- </member>
1674
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.GetNoDefault(System.Type,System.Object,System.Boolean)">
1675
- <summary>
1676
- Get the non default policy.
1677
- </summary>
1678
- <param name="policyInterface">The interface the policy is registered under.</param>
1679
- <param name="buildKey">The key the policy applies.</param>
1680
- <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param>
1681
- <returns>The policy in the list, if present; returns null otherwise.</returns>
1682
- </member>
1683
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Set``1(``0,System.Object)">
1684
- <summary>
1685
- Sets an individual policy.
1686
- </summary>
1687
- <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam>
1688
- <param name="policy">The policy to be registered.</param>
1689
- <param name="buildKey">The key the policy applies.</param>
1690
- </member>
1691
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Set(System.Type,Microsoft.Practices.ObjectBuilder2.IBuilderPolicy,System.Object)">
1692
- <summary>
1693
- Sets an individual policy.
1694
- </summary>
1695
- <param name="policyInterface">The <see cref="T:System.Type"/> of the policy.</param>
1696
- <param name="policy">The policy to be registered.</param>
1697
- <param name="buildKey">The key the policy applies.</param>
1698
- </member>
1699
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.SetDefault``1(``0)">
1700
- <summary>
1701
- Sets a default policy. When checking for a policy, if no specific individual policy
1702
- is available, the default will be used.
1703
- </summary>
1704
- <typeparam name="TPolicyInterface">The interface to register the policy under.</typeparam>
1705
- <param name="policy">The default policy to be registered.</param>
1706
- </member>
1707
- <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.SetDefault(System.Type,Microsoft.Practices.ObjectBuilder2.IBuilderPolicy)">
1708
- <summary>
1709
- Sets a default policy. When checking for a policy, if no specific individual policy
1710
- is available, the default will be used.
1711
- </summary>
1712
- <param name="policyInterface">The interface to register the policy under.</param>
1713
- <param name="policy">The default policy to be registered.</param>
1714
- </member>
1715
- <member name="P:Microsoft.Practices.ObjectBuilder2.PolicyList.Count">
1716
- <summary>
1717
- Gets the number of items in the locator.
1718
- </summary>
1719
- <value>
1720
- The number of items in the locator.
1721
- </value>
1722
- </member>
1723
- <member name="T:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1">
1724
- <summary>
1725
- Base class that provides an implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"/>
1726
- which lets you override how the parameter resolvers are created.
1727
- </summary>
1728
- </member>
1729
- <member name="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy">
1730
- <summary>
1731
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that, when implemented,
1732
- will determine which constructor to call from the build plan.
1733
- </summary>
1734
- </member>
1735
- <member name="M:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy.SelectConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
1736
- <summary>
1737
- Choose the constructor to call for the given type.
1738
- </summary>
1739
- <param name="context">Current build context</param>
1740
- <returns>The chosen constructor.</returns>
1741
- </member>
1742
- <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1.SelectConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
1743
- <summary>
1744
- Choose the constructor to call for the given type.
1745
- </summary>
1746
- <param name="context">Current build context.</param>
1747
- <returns>The chosen constructor.</returns>
1748
- <exception cref="T:System.InvalidOperationException">Thrown when the constructor to choose is ambiguous.</exception>
1749
- </member>
1750
- <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1.CreateResolver(System.Reflection.ParameterInfo)">
1751
- <summary>
1752
- Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given
1753
- <see cref="T:System.Reflection.ParameterInfo"/>.
1754
- </summary>
1755
- <param name="param">Parameter to create the resolver for.</param>
1756
- <returns>The resolver object.</returns>
1757
- </member>
1758
- <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1.ConstructorLengthComparer.Compare(System.Reflection.ConstructorInfo,System.Reflection.ConstructorInfo)">
1759
- <summary>
1760
- Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
1761
- </summary>
1762
-
1763
- <returns>
1764
- Value Condition Less than zerox is less than y.Zerox equals y.Greater than zerox is greater than y.
1765
- </returns>
1766
-
1767
- <param name="y">The second object to compare.</param>
1768
- <param name="x">The first object to compare.</param>
1769
- </member>
1770
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderStage">
1771
- <summary>
1772
- Enumeration to represent the object builder stages.
1773
- </summary>
1774
- <remarks>
1775
- The order of the values in the enumeration is the order in which the stages are run.
1776
- </remarks>
1777
- </member>
1778
- <member name="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.PreCreation">
1779
- <summary>
1780
- Strategies in this stage run before creation. Typical work done in this stage might
1781
- include strategies that use reflection to set policies into the context that other
1782
- strategies would later use.
1783
- </summary>
1784
- </member>
1785
- <member name="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.Creation">
1786
- <summary>
1787
- Strategies in this stage create objects. Typically you will only have a single policy-driven
1788
- creation strategy in this stage.
1789
- </summary>
1790
- </member>
1791
- <member name="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.Initialization">
1792
- <summary>
1793
- Strategies in this stage work on created objects. Typical work done in this stage might
1794
- include setter injection and method calls.
1795
- </summary>
1796
- </member>
1797
- <member name="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.PostInitialization">
1798
- <summary>
1799
- Strategies in this stage work on objects that are already initialized. Typical work done in
1800
- this stage might include looking to see if the object implements some notification interface
1801
- to discover when its initialization stage has been completed.
1802
- </summary>
1803
- </member>
1804
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy">
1805
- <summary>
1806
- Implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/> which will notify an object about
1807
- the completion of a <see cref="M:Microsoft.Practices.ObjectBuilder2.IBuilder.BuildUp(Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IStrategyChain,System.Object,System.Object)"/> operation, or start of a
1808
- <see cref="M:Microsoft.Practices.ObjectBuilder2.IBuilder.TearDown``1(Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IStrategyChain,``0)"/> operation.
1809
- </summary>
1810
- <remarks>
1811
- This strategy checks the object that is passing through the builder chain to see if it
1812
- implements IBuilderAware and if it does, it will call <see cref="M:Microsoft.Practices.ObjectBuilder2.IBuilderAware.OnBuiltUp(System.Object)"/>
1813
- and <see cref="M:Microsoft.Practices.ObjectBuilder2.IBuilderAware.OnTearingDown"/>. This strategy is meant to be used from the
1814
- <see cref="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.PostInitialization"/> stage.
1815
- </remarks>
1816
- </member>
1817
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
1818
- <summary>
1819
- Called during the chain of responsibility for a build operation. The
1820
- PreBuildUp method is called when the chain is being executed in the
1821
- forward direction.
1822
- </summary>
1823
- <param name="context">Context of the build operation.</param>
1824
- </member>
1825
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy.PreTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
1826
- <summary>
1827
- Called during the chain of responsibility for a teardown operation. The
1828
- PreTearDown method is called when the chain is being executed in the
1829
- forward direction.
1830
- </summary>
1831
- <param name="context">Context of the teardown operation.</param>
1832
- </member>
1833
- <member name="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey">
1834
- <summary>
1835
- Build key used to combine a type object with a string name. Used by
1836
- ObjectBuilder to indicate exactly what is being built.
1837
- </summary>
1838
- </member>
1839
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuildKey">
1840
- <summary>
1841
- Represents a build key based on type.
1842
- </summary>
1843
- </member>
1844
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuildKey.ReplaceType(System.Type)">
1845
- <summary>
1846
- Construct a new build key object with the current type
1847
- replaced with the specified <paramref name="newType"/>.
1848
- </summary>
1849
- <remarks>This method creates a new build key object, the original is unchanged.</remarks>
1850
- <param name="newType">New type to place in the build key.</param>
1851
- <returns>The new build key.</returns>
1852
- </member>
1853
- <member name="P:Microsoft.Practices.ObjectBuilder2.IBuildKey.Type">
1854
- <summary>
1855
- Gets the <see cref="P:Microsoft.Practices.ObjectBuilder2.IBuildKey.Type"/> that represents the key.
1856
- </summary>
1857
- <value>
1858
- The <see cref="P:Microsoft.Practices.ObjectBuilder2.IBuildKey.Type"/> that represents the key.
1859
- </value>
1860
- </member>
1861
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.#ctor(System.Type,System.String)">
1862
- <summary>
1863
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance with the given
1864
- type and name.
1865
- </summary>
1866
- <param name="type"><see cref="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Type"/> to build.</param>
1867
- <param name="name">Key to use to look up type mappings and singletons.</param>
1868
- </member>
1869
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.#ctor(System.Type)">
1870
- <summary>
1871
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance for the default
1872
- buildup of the given type.
1873
- </summary>
1874
- <param name="type"><see cref="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Type"/> to build.</param>
1875
- </member>
1876
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Make``1">
1877
- <summary>
1878
- This helper method creates a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance. It is
1879
- initialized for the default key for the given type.
1880
- </summary>
1881
- <typeparam name="T">Type to build.</typeparam>
1882
- <returns>A new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance.</returns>
1883
- </member>
1884
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Make``1(System.String)">
1885
- <summary>
1886
- This helper method creates a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance for
1887
- the given type and key.
1888
- </summary>
1889
- <typeparam name="T">Type to build</typeparam>
1890
- <param name="name">Key to use to look up type mappings and singletons.</param>
1891
- <returns>A new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance initialized with the given type and name.</returns>
1892
- </member>
1893
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.ReplaceType(System.Type)">
1894
- <summary>
1895
- Construct a new build key object with the current type
1896
- replaced with the specified <paramref name="newType"/>.
1897
- </summary>
1898
- <remarks>This method creates a new build key object, the original is unchanged.</remarks>
1899
- <param name="newType">New type to place in the build key.</param>
1900
- <returns>The new build key.</returns>
1901
- </member>
1902
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Equals(System.Object)">
1903
- <summary>
1904
- Compare two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances.
1905
- </summary>
1906
- <remarks>Two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances compare equal
1907
- if they contain the same name and the same type. Also, comparing
1908
- against a different type will also return false.</remarks>
1909
- <param name="obj">Object to compare to.</param>
1910
- <returns>True if the two keys are equal, false if not.</returns>
1911
- </member>
1912
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.GetHashCode">
1913
- <summary>
1914
- Calculate a hash code for this instance.
1915
- </summary>
1916
- <returns>A hash code.</returns>
1917
- </member>
1918
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.op_Equality(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)">
1919
- <summary>
1920
- Compare two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances for equality.
1921
- </summary>
1922
- <remarks>Two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances compare equal
1923
- if they contain the same name and the same type.</remarks>
1924
- <param name="left">First of the two keys to compare.</param>
1925
- <param name="right">Second of the two keys to compare.</param>
1926
- <returns>True if the values of the keys are the same, else false.</returns>
1927
- </member>
1928
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.op_Inequality(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)">
1929
- <summary>
1930
- Compare two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances for inequality.
1931
- </summary>
1932
- <remarks>Two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances compare equal
1933
- if they contain the same name and the same type. If either field differs
1934
- the keys are not equal.</remarks>
1935
- <param name="left">First of the two keys to compare.</param>
1936
- <param name="right">Second of the two keys to compare.</param>
1937
- <returns>false if the values of the keys are the same, else true.</returns>
1938
- </member>
1939
- <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.ToString">
1940
- <summary>
1941
- Formats the build key as a string (primarily for debugging).
1942
- </summary>
1943
- <returns>A readable string representation of the build key.</returns>
1944
- </member>
1945
- <member name="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Type">
1946
- <summary>
1947
- Return the <see cref="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Type"/> stored in this build key.
1948
- </summary>
1949
- <value>The type to build.</value>
1950
- </member>
1951
- <member name="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Name">
1952
- <summary>
1953
- Returns the name stored in this build key.
1954
- </summary>
1955
- <remarks>The name to use when building.</remarks>
1956
- </member>
1957
- <member name="T:Microsoft.Practices.ObjectBuilder2.WeakRefDictionary`2">
1958
- <summary>
1959
- Represents a dictionary which stores the values as weak references instead of strong
1960
- references. Null values are supported.
1961
- </summary>
1962
- <typeparam name="TKey">The key type</typeparam>
1963
- <typeparam name="TValue">The value type</typeparam>
1964
- </member>
1965
- <member name="M:Microsoft.Practices.ObjectBuilder2.WeakRefDictionary`2.Add(`0,`1)">
1966
- <summary>
1967
- Gets the count of the number of items in the dictionary.
1968
- </summary>
1969
- <value>
1970
- The count of the number of items in the dictionary.
1971
- </value>
1972
- <remarks>
1973
- Since the items in the dictionary are held by weak reference, the count value
1974
- cannot be relied upon to guarantee the number of objects that would be discovered via
1975
- enumeration. Treat the Count as an estimate only.
1976
- </remarks>
1977
- </member>
1978
- <member name="M:Microsoft.Practices.ObjectBuilder2.WeakRefDictionary`2.ContainsKey(`0)">
1979
- <summary>
1980
- Determines if the dictionary contains a value for the key.
1981
- </summary>
1982
- <param name="key">The key to look for.</param>
1983
- <returns>true if the key is contained in the dictionary; otherwise, false.</returns>
1984
- </member>
1985
- <member name="M:Microsoft.Practices.ObjectBuilder2.WeakRefDictionary`2.GetEnumerator">
1986
- <summary>
1987
- Returns an enumerator that iterates through the dictionary.
1988
- </summary>
1989
- <returns>
1990
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the dictionary.
1991
- </returns>
1992
- </member>
1993
- <member name="M:Microsoft.Practices.ObjectBuilder2.WeakRefDictionary`2.Remove(`0)">
1994
- <summary>
1995
- Removes an item from the dictionary.
1996
- </summary>
1997
- <param name="key">The key of the item to be removed.</param>
1998
- <returns>Returns true if the key was in the dictionary; return false otherwise.</returns>
1999
- </member>
2000
- <member name="M:Microsoft.Practices.ObjectBuilder2.WeakRefDictionary`2.TryGet(`0,`1@)">
2001
- <summary>
2002
- Attempts to get a value from the dictionary.
2003
- </summary>
2004
- <param name="key">The key</param>
2005
- <param name="value">The value</param>
2006
- <returns>Returns true if the value was present; false otherwise.</returns>
2007
- </member>
2008
- <member name="P:Microsoft.Practices.ObjectBuilder2.WeakRefDictionary`2.Count">
2009
- <summary>
2010
- Returns a count of the number of items in the dictionary.
2011
- </summary>
2012
- <remarks>
2013
- Since the items in the dictionary are held by weak reference, the count value
2014
- cannot be relied upon to guarantee the number of objects that would be discovered via
2015
- enumeration. Treat the Count as an estimate only.
2016
- </remarks>
2017
- </member>
2018
- <member name="P:Microsoft.Practices.ObjectBuilder2.WeakRefDictionary`2.Item(`0)">
2019
- <summary>
2020
- Retrieves a value from the dictionary.
2021
- </summary>
2022
- <param name="key">The key to look for.</param>
2023
- <returns>The value in the dictionary.</returns>
2024
- <exception cref="T:System.Collections.Generic.KeyNotFoundException">Thrown when the key does exist in the dictionary.
2025
- Since the dictionary contains weak references, the key may have been removed by the
2026
- garbage collection of the object.</exception>
2027
- </member>
2028
- <member name="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy">
2029
- <summary>
2030
- A builder policy that lets you keep track of the current
2031
- resolvers and will remove them from the given policy set.
2032
- </summary>
2033
- </member>
2034
- <member name="M:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy.AddResolverKey(System.Object)">
2035
- <summary>
2036
- Add a new resolver to track by key.
2037
- </summary>
2038
- <param name="key">Key that was used to add the resolver to the policy set.</param>
2039
- </member>
2040
- <member name="M:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy.RemoveResolvers(Microsoft.Practices.ObjectBuilder2.IPolicyList)">
2041
- <summary>
2042
- Remove the currently tracked resolvers from the given policy list.
2043
- </summary>
2044
- <param name="policies">Policy list to remove the resolvers from.</param>
2045
- </member>
2046
- <member name="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy">
2047
- <summary>
2048
- An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that will examine the given
2049
- types and return a sequence of <see cref="T:System.Reflection.MethodInfo"/> objects
2050
- that should be called as part of building the object.
2051
- </summary>
2052
- </member>
2053
- <member name="M:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
2054
- <summary>
2055
- Return the sequence of methods to call while building the target object.
2056
- </summary>
2057
- <param name="context">Current build context.</param>
2058
- <returns>Sequence of methods to call.</returns>
2059
- </member>
2060
- <member name="T:Microsoft.Practices.ObjectBuilder2.DefaultDynamicBuilderMethodCreatorPolicy">
2061
- <summary>
2062
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDynamicBuilderMethodCreatorPolicy"/> that will
2063
- check for full trust and if we're building a class or an interface. If in full
2064
- trust, attach to the class or module of the interface respectively. If in partial
2065
- trust, attach to the OB2 module instead.
2066
- </summary>
2067
- </member>
2068
- <member name="M:Microsoft.Practices.ObjectBuilder2.DefaultDynamicBuilderMethodCreatorPolicy.CreateBuilderMethod(System.Type,System.String)">
2069
- <summary>
2070
- Create a builder method for the given type, using the given name.
2071
- </summary>
2072
- <param name="typeToBuild">Type that will be built by the generated method.</param>
2073
- <param name="methodName">Name to give to the method.</param>
2074
- <returns>A <see cref="T:System.Reflection.Emit.DynamicMethod"/> object with the proper signature to use
2075
- as part of a build plan.</returns>
2076
- </member>
2077
- <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilderAware">
2078
- <summary>
2079
- Implemented on a class when it wants to receive notifications
2080
- about the build process.
2081
- </summary>
2082
- </member>
2083
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderAware.OnBuiltUp(System.Object)">
2084
- <summary>
2085
- Called by the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy"/> when the object is being built up.
2086
- </summary>
2087
- <param name="buildKey">The key of the object that was just built up.</param>
2088
- </member>
2089
- <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderAware.OnTearingDown">
2090
- <summary>
2091
- Called by the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy"/> when the object is being torn down.
2092
- </summary>
2093
- </member>
2094
- <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedMethod">
2095
- <summary>
2096
- Objects of this type are the return value from <see cref="M:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"/>.
2097
- It encapsulates the desired <see cref="T:System.Reflection.MethodInfo"/> with the string keys
2098
- needed to look up the <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for each
2099
- parameter.
2100
- </summary>
2101
- </member>
2102
- <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedMethod.#ctor(System.Reflection.MethodInfo)">
2103
- <summary>
2104
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.SelectedMethod"/> instance which
2105
- contains the given method.
2106
- </summary>
2107
- <param name="method">The method</param>
2108
- </member>
2109
- <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedMethod.Method">
2110
- <summary>
2111
- The constructor this object wraps.
2112
- </summary>
2113
- </member>
2114
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuildKey">
2115
- <summary>
2116
- Utility methods for dealing with arbitrary build key objects.
2117
- </summary>
2118
- </member>
2119
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKey.GetType(System.Object)">
2120
- <summary>
2121
- Gets the <see cref="T:System.Type"/> of object to build from the build key.
2122
- </summary>
2123
- <param name="buildKey">The build key to get the <see cref="T:System.Type"/>.</param>
2124
- <returns>The <see cref="T:System.Type"/> of object to build from the key.</returns>
2125
- </member>
2126
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKey.TryGetType(System.Object,System.Type@)">
2127
- <summary>
2128
- Tries to get the <see cref="T:System.Type"/> from <paramref name="buildKey"/>.
2129
- </summary>
2130
- <param name="buildKey">The build key to get the <see cref="T:System.Type"/>.</param>
2131
- <param name="type"></param>
2132
- <returns>true if the <see cref="T:System.Type"/> was found; otherwise, false.</returns>
2133
- </member>
2134
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKey.ReplaceType(System.Object,System.Type)">
2135
- <summary>
2136
- Given a <paramref name="buildKey"/>, return a new build key
2137
- which is the same as the original, except that the type has
2138
- been replaced with <paramref name="newType"/>.
2139
- </summary>
2140
- <param name="buildKey">original build key</param>
2141
- <param name="newType">New type to put in new build key.</param>
2142
- <returns>The new build key.</returns>
2143
- </member>
2144
- <member name="T:Microsoft.Practices.ObjectBuilder2.SingletonLifetimePolicy">
2145
- <summary>
2146
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"/> that stores objects in the locator and
2147
- lifetime container provided by the context.
2148
- </summary>
2149
- </member>
2150
- <member name="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery">
2151
- <summary>
2152
- This interface provides a hook for the builder context to
2153
- implement error recovery when a builder strategy throws
2154
- an exception. Since we can't get try/finally blocks onto
2155
- the call stack for later stages in the chain, we instead
2156
- add these objects to the context. If there's an exception,
2157
- all the current IRequiresRecovery instances will have
2158
- their Recover methods called.
2159
- </summary>
2160
- </member>
2161
- <member name="M:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery.Recover">
2162
- <summary>
2163
- A method that does whatever is needed to clean up
2164
- as part of cleaning up after an exception.
2165
- </summary>
2166
- <remarks>
2167
- Don't do anything that could throw in this method,
2168
- it will cause later recover operations to get skipped
2169
- and play real havok with the stack trace.
2170
- </remarks>
2171
- </member>
2172
- <member name="M:Microsoft.Practices.ObjectBuilder2.SingletonLifetimePolicy.GetValue">
2173
- <summary>
2174
- Retrieve a value from the backing store associated with this Lifetime policy.
2175
- </summary>
2176
- <returns>the object desired, or null if no such object is currently stored.</returns>
2177
- </member>
2178
- <member name="M:Microsoft.Practices.ObjectBuilder2.SingletonLifetimePolicy.SetValue(System.Object)">
2179
- <summary>
2180
- Stores the given value into backing store for retrieval later.
2181
- </summary>
2182
- <param name="newValue">The object being stored.</param>
2183
- </member>
2184
- <member name="M:Microsoft.Practices.ObjectBuilder2.SingletonLifetimePolicy.RemoveValue">
2185
- <summary>
2186
- Remove the given object from backing store.
2187
- </summary>
2188
- </member>
2189
- <member name="M:Microsoft.Practices.ObjectBuilder2.SingletonLifetimePolicy.Recover">
2190
- <summary>
2191
- A method that does whatever is needed to clean up
2192
- as part of cleaning up after an exception.
2193
- </summary>
2194
- <remarks>
2195
- Don't do anything that could throw in this method,
2196
- it will cause later recover operations to get skipped
2197
- and play real havok with the stack trace.
2198
- </remarks>
2199
- </member>
2200
- <member name="T:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy">
2201
- <summary>
2202
- Implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy"/>.
2203
- </summary>
2204
- </member>
2205
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.AddResolverKey(System.Object)">
2206
- <summary>
2207
- Add a new resolver to track by key.
2208
- </summary>
2209
- <param name="key">Key that was used to add the resolver to the policy set.</param>
2210
- </member>
2211
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.RemoveResolvers(Microsoft.Practices.ObjectBuilder2.IPolicyList)">
2212
- <summary>
2213
- Remove the currently tracked resolvers from the given policy list.
2214
- </summary>
2215
- <param name="policies">Policy list to remove the resolvers from.</param>
2216
- </member>
2217
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.GetTracker(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object)">
2218
- <summary>
2219
- Get an instance that implements <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy"/>,
2220
- either the current one in the policy set or creating a new one if it doesn't
2221
- exist.
2222
- </summary>
2223
- <param name="policies">Policy list to look up from.</param>
2224
- <param name="buildKey">Build key to track.</param>
2225
- <returns>The resolver tracker.</returns>
2226
- </member>
2227
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.TrackKey(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,System.Object)">
2228
- <summary>
2229
- Add a key to be tracked to the current tracker.
2230
- </summary>
2231
- <param name="policies">Policy list containing the resolvers and trackers.</param>
2232
- <param name="buildKey">Build key for the resolvers being tracked.</param>
2233
- <param name="resolverKey">Key for the resolver.</param>
2234
- </member>
2235
- <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.RemoveResolvers(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object)">
2236
- <summary>
2237
- Remove the resolvers for the given build key.
2238
- </summary>
2239
- <param name="policies">Policy list containing the build key.</param>
2240
- <param name="buildKey">Build key.</param>
2241
- </member>
2242
- <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedProperty">
2243
- <summary>
2244
- Objects of this type are returned from
2245
- <see cref="M:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"/>.
2246
- This class combines the <see cref="T:System.Reflection.PropertyInfo"/> about
2247
- the property with the string key used to look up the resolver
2248
- for this property's value.
2249
- </summary>
2250
- </member>
2251
- <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedProperty.#ctor(System.Reflection.PropertyInfo,System.String)">
2252
- <summary>
2253
- Create an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.SelectedProperty"/>
2254
- with the given <see cref="T:System.Reflection.PropertyInfo"/> and key.
2255
- </summary>
2256
- <param name="property">The property.</param>
2257
- <param name="key">Key to use to look up the resolver.</param>
2258
- </member>
2259
- <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedProperty.Property">
2260
- <summary>
2261
- PropertyInfo for this property.
2262
- </summary>
2263
- </member>
2264
- <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedProperty.Key">
2265
- <summary>
2266
- Key to look up this property's resolver.
2267
- </summary>
2268
- </member>
2269
- <member name="T:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingStrategy">
2270
- <summary>
2271
- Represents a strategy for mapping build keys in the build up operation.
2272
- </summary>
2273
- </member>
2274
- <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
2275
- <summary>
2276
- Called during the chain of responsibility for a build operation. Looks for the <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildKeyMappingPolicy"/>
2277
- and if found maps the build key for the current operation.
2278
- </summary>
2279
- <param name="context">The context for the operation.</param>
2280
- </member>
2281
- <member name="T:Microsoft.Practices.ObjectBuilder2.ILifetimeFactoryPolicy">
2282
- <summary>
2283
- A builder policy used to create lifetime policy instances.
2284
- Used by the LifetimeStrategy when instantiating open
2285
- generic types.
2286
- </summary>
2287
- </member>
2288
- <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimeFactoryPolicy.CreateLifetimePolicy">
2289
- <summary>
2290
- Create a new instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"/>.
2291
- </summary>
2292
- <returns>The new instance.</returns>
2293
- </member>
2294
- <member name="T:Microsoft.Practices.ObjectBuilder2.GenericTypeBuildKeyMappingPolicy">
2295
- <summary>
2296
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildKeyMappingPolicy"/> that can map
2297
- generic types.
2298
- </summary>
2299
- </member>
2300
- <member name="M:Microsoft.Practices.ObjectBuilder2.GenericTypeBuildKeyMappingPolicy.#ctor(System.Object)">
2301
- <summary>
2302
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.GenericTypeBuildKeyMappingPolicy"/> instance
2303
- that will map generic types.
2304
- </summary>
2305
- <param name="destinationKey">Build key to map to. This must be or contain an open generic type.</param>
2306
- </member>
2307
- <member name="M:Microsoft.Practices.ObjectBuilder2.GenericTypeBuildKeyMappingPolicy.Map(System.Object)">
2308
- <summary>
2309
- Maps the build key.
2310
- </summary>
2311
- <param name="buildKey">The build key to map.</param>
2312
- <returns>The new build key.</returns>
2313
- </member>
2314
- <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedConstructor">
2315
- <summary>
2316
- Objects of this type are the return value from <see cref="M:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy.SelectConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"/>.
2317
- It encapsulates the desired <see cref="T:System.Reflection.ConstructorInfo"/> with the string keys
2318
- needed to look up the <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for each
2319
- parameter.
2320
- </summary>
2321
- </member>
2322
- <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedConstructor.#ctor(System.Reflection.ConstructorInfo)">
2323
- <summary>
2324
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.SelectedConstructor"/> instance which
2325
- contains the given constructor.
2326
- </summary>
2327
- <param name="constructor"></param>
2328
- </member>
2329
- <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedConstructor.Constructor">
2330
- <summary>
2331
- The constructor this object wraps.
2332
- </summary>
2333
- </member>
2334
- <member name="T:Microsoft.Practices.ObjectBuilder2.Properties.Resources">
2335
- <summary>
2336
- A strongly-typed resource class, for looking up localized strings, etc.
2337
- </summary>
2338
- </member>
2339
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.ResourceManager">
2340
- <summary>
2341
- Returns the cached ResourceManager instance used by this class.
2342
- </summary>
2343
- </member>
2344
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.Culture">
2345
- <summary>
2346
- Overrides the current thread's CurrentUICulture property for all
2347
- resource lookups using this strongly typed resource class.
2348
- </summary>
2349
- </member>
2350
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.AmbiguousInjectionConstructor">
2351
- <summary>
2352
- Looks up a localized string similar to The type {0} has multiple constructors of length {1}. Unable to disambiguate..
2353
- </summary>
2354
- </member>
2355
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.BuildFailedException">
2356
- <summary>
2357
- Looks up a localized string similar to The current build operation (build key {2}) failed: {3} (Strategy type {0}, index {1}).
2358
- </summary>
2359
- </member>
2360
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.CannotConstructInterface">
2361
- <summary>
2362
- Looks up a localized string similar to The current type, {0}, is an interface and cannot be constructed. Are you missing a type mapping?.
2363
- </summary>
2364
- </member>
2365
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.CannotExtractTypeFromBuildKey">
2366
- <summary>
2367
- Looks up a localized string similar to Cannot extract type from build key {0}..
2368
- </summary>
2369
- </member>
2370
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.CannotInjectMethodWithOutParam">
2371
- <summary>
2372
- Looks up a localized string similar to The method {1} on type {0} has an out parameter. Injection cannot be performed..
2373
- </summary>
2374
- </member>
2375
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.CannotInjectOpenGenericMethod">
2376
- <summary>
2377
- Looks up a localized string similar to The method {1} on type {0} is marked for injection, but it is an open generic method. Injection cannot be performed..
2378
- </summary>
2379
- </member>
2380
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.ConstructorParameterResolutionFailed">
2381
- <summary>
2382
- Looks up a localized string similar to The parameter {0} could not be resolved when attempting to call constructor {1}..
2383
- </summary>
2384
- </member>
2385
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.KeyAlreadyPresent">
2386
- <summary>
2387
- Looks up a localized string similar to An item with the given key is already present in the dictionary..
2388
- </summary>
2389
- </member>
2390
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.MethodParameterResolutionFailed">
2391
- <summary>
2392
- Looks up a localized string similar to The value for parameter &quot;{1}&quot; of method {0} could not be resolved. .
2393
- </summary>
2394
- </member>
2395
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.MissingDependency">
2396
- <summary>
2397
- Looks up a localized string similar to Could not resolve dependency for build key {0}..
2398
- </summary>
2399
- </member>
2400
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.MultipleInjectionConstructors">
2401
- <summary>
2402
- Looks up a localized string similar to The type {0} has multiple constructors marked with the InjectionConstructor attribute. Unable to disambiguate..
2403
- </summary>
2404
- </member>
2405
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.MustHaveOpenGenericType">
2406
- <summary>
2407
- Looks up a localized string similar to The supplied type {0} must be an open generic type..
2408
- </summary>
2409
- </member>
2410
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.MustHaveSameNumberOfGenericArguments">
2411
- <summary>
2412
- Looks up a localized string similar to The supplied type {0} does not have the same number of generic arguments as the target type {1}..
2413
- </summary>
2414
- </member>
2415
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.NoConstructorFound">
2416
- <summary>
2417
- Looks up a localized string similar to The type {0} does not have an accessible constructor..
2418
- </summary>
2419
- </member>
2420
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.PropertyValueResolutionFailed">
2421
- <summary>
2422
- Looks up a localized string similar to The value for the property &quot;{0}&quot; could not be resolved..
2423
- </summary>
2424
- </member>
2425
- <member name="P:Microsoft.Practices.ObjectBuilder2.Properties.Resources.ProvidedStringArgMustNotBeEmpty">
2426
- <summary>
2427
- Looks up a localized string similar to The provided string argument must not be empty..
2428
- </summary>
2429
- </member>
2430
- <member name="T:Microsoft.Practices.ObjectBuilder2.Sequence">
2431
- <summary>
2432
- A series of helper methods to deal with sequences -
2433
- objects that implement <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
2434
- </summary>
2435
- <remarks>LINQ in C# 3.0 does pretty much the same stuff,
2436
- but we're keeping C# 2.0 compatibility here.</remarks>
2437
- </member>
2438
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.ToList``1(System.Collections.Generic.IEnumerable{``0})">
2439
- <summary>
2440
- Given an <see cref="T:System.Collections.Generic.IEnumerable`1"/>, return a
2441
- new <see cref="T:System.Collections.Generic.List`1"/> containing the same contents.
2442
- </summary>
2443
- <typeparam name="T">Type of item store in the sequence.</typeparam>
2444
- <param name="seq">Sequence to create list from.</param>
2445
- <returns>The new <see cref="T:System.Collections.Generic.List`1"/></returns>
2446
- </member>
2447
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.OfType``1(System.Collections.IEnumerable)">
2448
- <summary>
2449
- Given an <see cref="T:System.Collections.IEnumerable"/> return a new
2450
- <see cref="T:System.Collections.Generic.IEnumerable`1"/> that contains
2451
- all the objects in <paramref name="source"/> that
2452
- are castable to <typeparamref name="TResult"/>.
2453
- </summary>
2454
- <typeparam name="TResult">Desired type for objects.</typeparam>
2455
- <param name="source">Input sequence.</param>
2456
- <returns>New output sequence.</returns>
2457
- </member>
2458
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.Collect``1(``0[])">
2459
- <summary>
2460
- A function that turns an arbitrary parameter list into an
2461
- <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
2462
- </summary>
2463
- <typeparam name="T">Type of arguments.</typeparam>
2464
- <param name="arguments">The items to put into the collection.</param>
2465
- <returns>An array that contains the values of the <paramref name="arguments"/>.</returns>
2466
- </member>
2467
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.ToArray``1(System.Collections.Generic.IEnumerable{``0})">
2468
- <summary>
2469
- Create an array containing the elements of the given sequence.
2470
- </summary>
2471
- <typeparam name="T">Type of sequence and array.</typeparam>
2472
- <param name="sequence">Input sequence.</param>
2473
- <returns>The resulting array.</returns>
2474
- </member>
2475
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.Where``1(System.Collections.Generic.IEnumerable{``0},System.Predicate{``0})">
2476
- <summary>
2477
- Given a sequence of <typeparamref name="T"/>, returns a sequence
2478
- containing those elements that satisfy the given predicate <paramref name="pred"/>.
2479
- </summary>
2480
- <typeparam name="T">Type of items in the sequence.</typeparam>
2481
- <param name="sequence">Source sequence.</param>
2482
- <param name="pred">Predicate used to test which items match.</param>
2483
- <returns>The sequence of items that satify <paramref name="pred"/>. This
2484
- sequence may be empty.</returns>
2485
- </member>
2486
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.Exists``1(System.Collections.Generic.IEnumerable{``0},System.Predicate{``0})">
2487
- <summary>
2488
- Tests the given <paramref name="sequence"/>, returning true if any
2489
- element in <paramref name="sequence"/> satisfies the given predicate.
2490
- </summary>
2491
- <typeparam name="T">Type of elements in sequence.</typeparam>
2492
- <param name="sequence">Sequence to test.</param>
2493
- <param name="pred">Predicate to use to test for existence.</param>
2494
- <returns>true if any elements satify pred, false if not.</returns>
2495
- </member>
2496
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.ForAll``1(System.Collections.Generic.IEnumerable{``0},System.Predicate{``0})">
2497
- <summary>
2498
- Tests the given <paramref name="sequence"/>, returning true only if all
2499
- elements in <paramref name="sequence"/> satisfies the given predicate.
2500
- </summary>
2501
- <typeparam name="T">Type of elements in sequence.</typeparam>
2502
- <param name="sequence">Sequence to test.</param>
2503
- <param name="pred">Predicate to use to test.</param>
2504
- <returns>true if all elements satify pred, false if not.</returns>
2505
- </member>
2506
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.Map``2(System.Collections.Generic.IEnumerable{``0},System.Converter{``0,``1})">
2507
- <summary>
2508
- Given a sequence of <typeparamref name="TIn"/>, returns a sequence of
2509
- <typeparamref name="TOut"/> created by running the items in <paramref name="input"/>
2510
- through <paramref name="converter"/>.
2511
- </summary>
2512
- <typeparam name="TIn">Type of items in input.</typeparam>
2513
- <typeparam name="TOut">Type of items in output.</typeparam>
2514
- <param name="input">Input sequence.</param>
2515
- <param name="converter">Mapping function.</param>
2516
- <returns>The converted output sequence.</returns>
2517
- </member>
2518
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.Reduce``2(System.Collections.Generic.IEnumerable{``0},``1,Microsoft.Practices.ObjectBuilder2.Sequence.Reducer{``0,``1})">
2519
- <summary>
2520
- Run a functional Reduce operation. See other methods for examples.
2521
- </summary>
2522
- <typeparam name="TSource">Type of inputs.</typeparam>
2523
- <typeparam name="TDest">Type of final output.</typeparam>
2524
- <param name="sequence">Sequence of input items.</param>
2525
- <param name="initialValue">Initial value for accumulator.</param>
2526
- <param name="reducer">Reduce function.</param>
2527
- <returns></returns>
2528
- </member>
2529
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.ToString``1(System.Collections.Generic.IEnumerable{``0},System.String,System.Converter{``0,System.String})">
2530
- <summary>
2531
- Convert the given sequence to a single string. The items in the string are
2532
- separated by the given separator, and each object is converted to a string
2533
- using the <paramref name="converter"/> method given.
2534
- </summary>
2535
- <typeparam name="T">Type of input sequence.</typeparam>
2536
- <param name="sequence">Input sequence.</param>
2537
- <param name="separator">Separator string.</param>
2538
- <param name="converter">Function to convert <typeparamref name="T"/> instances to
2539
- strings.</param>
2540
- <returns>The collected string.</returns>
2541
- </member>
2542
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.ToString``1(System.Collections.Generic.IEnumerable{``0},System.String)">
2543
- <summary>
2544
- Convert the given sequence to a single string. The items in the string are separated
2545
- by the given separator, and each object is converted to a string by calling its
2546
- <see cref="M:System.Object.ToString"/> method.
2547
- </summary>
2548
- <typeparam name="T">Type of input sequence.</typeparam>
2549
- <param name="sequence">Input sequence.</param>
2550
- <param name="separator">Separator string.</param>
2551
- <returns>The collected string.</returns>
2552
- </member>
2553
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.First``1(System.Collections.Generic.IEnumerable{``0})">
2554
- <summary>
2555
- Return the first item in the given sequence.
2556
- </summary>
2557
- <exception cref="T:System.InvalidOperationException">Thrown if the sequence is empty.</exception>
2558
- <typeparam name="T">Type of items in the sequence.</typeparam>
2559
- <param name="sequence">The sequence.</param>
2560
- <returns>First item in the sequence.</returns>
2561
- </member>
2562
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">
2563
- <summary>
2564
- Execute the given action delegate for each item in the sequence.
2565
- </summary>
2566
- <typeparam name="TItem">Type of item in the sequence.</typeparam>
2567
- <param name="sequence">The sequence of items.</param>
2568
- <param name="action">Action to perform on each item.</param>
2569
- </member>
2570
- <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.Concat``1(System.Collections.Generic.IEnumerable{``0}[])">
2571
- <summary>
2572
- Concatenate multiple sequences into a single one.
2573
- </summary>
2574
- <typeparam name="TItem">Type of sequences in the sequence.</typeparam>
2575
- <param name="sequences">The sequences to combine.</param>
2576
- <returns>The combined sequence.</returns>
2577
- </member>
2578
- <member name="T:Microsoft.Practices.ObjectBuilder2.Sequence.Reducer`2">
2579
- <summary>
2580
- A delegate that defines the function passed to the <see cref="M:Microsoft.Practices.ObjectBuilder2.Sequence.Reduce``2(System.Collections.Generic.IEnumerable{``0},``1,Microsoft.Practices.ObjectBuilder2.Sequence.Reducer{``0,``1})"/> methods.
2581
- </summary>
2582
- <typeparam name="TSource">Type of item being reduced.</typeparam>
2583
- <typeparam name="TDest">Type of the accumulator object.</typeparam>
2584
- <param name="currentItem">Current item to process.</param>
2585
- <param name="accumulator">Current value of the accumulator.</param>
2586
- <returns></returns>
2587
- </member>
2588
- <member name="T:Microsoft.Practices.ObjectBuilder2.Seq">
2589
- <summary>
2590
- Static class containing constructor methods for
2591
- instances of <see cref="T:Microsoft.Practices.ObjectBuilder2.Seq`1"/>, so that we
2592
- get type inference.
2593
- </summary>
2594
- </member>
2595
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq.Make``1(System.Collections.Generic.IEnumerable{``0})">
2596
- <summary>
2597
- Make a new instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.Seq`1"/> that wraps
2598
- the given items.
2599
- </summary>
2600
- <typeparam name="T">Type of items in the sequence.</typeparam>
2601
- <param name="items">Items in the sequence.</param>
2602
- <returns>The sequence.</returns>
2603
- </member>
2604
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq.Collect``1(``0[])">
2605
- <summary>
2606
- Make a new instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.Seq`1"/> that wraps
2607
- the given items.
2608
- </summary>
2609
- <typeparam name="T">Type of items in the sequence.</typeparam>
2610
- <param name="items">Items in the sequence.</param>
2611
- <returns>The sequence.</returns>
2612
- </member>
2613
- <member name="T:Microsoft.Practices.ObjectBuilder2.Seq`1">
2614
- <summary>
2615
- And another helper class that makes it possible to chain sequence operations together.
2616
- </summary>
2617
- <typeparam name="T">Type of item contained in the sequence.</typeparam>
2618
- </member>
2619
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.#ctor(System.Collections.Generic.IEnumerable{`0})">
2620
- <summary>
2621
- Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.Seq`1"/> instance wrapping the given IEnumerable.
2622
- </summary>
2623
- <param name="items">The sequence to wrap.</param>
2624
- </member>
2625
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.System#Collections#IEnumerable#GetEnumerator">
2626
- <summary>
2627
- Returns an enumerator that iterates through a collection.
2628
- </summary>
2629
- <returns>
2630
- An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.
2631
- </returns>
2632
- <filterpriority>2</filterpriority>
2633
- </member>
2634
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.GetEnumerator">
2635
- <summary>
2636
- Returns an enumerator that iterates through the collection.
2637
- </summary>
2638
- <returns>
2639
- A <see cref="T:System.Collections.Generic.IEnumerator`1" /> that can be used to iterate through the collection.
2640
- </returns>
2641
- <filterpriority>1</filterpriority>
2642
- </member>
2643
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.ToList">
2644
- <summary>
2645
- Given a sequence object, return a list containing those items.
2646
- </summary>
2647
- <returns>The materialized list.</returns>
2648
- </member>
2649
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.ToArray">
2650
- <summary>
2651
- Return an array with the same contents as this sequence.
2652
- </summary>
2653
- <returns>The materialized array.</returns>
2654
- </member>
2655
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.Where(System.Predicate{`0})">
2656
- <summary>
2657
- Returns new sequence containing only the items for which the predicate is true.
2658
- </summary>
2659
- <param name="predicate">Test to indicate sequence inclusion</param>
2660
- <returns>New sequence.</returns>
2661
- </member>
2662
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.Exists(System.Predicate{`0})">
2663
- <summary>
2664
- Tests the sequence, returning true if any
2665
- element satisfies the given predicate.
2666
- </summary>
2667
- <param name="predicate">Predicate to use to test for existence.</param>
2668
- <returns>true if any elements satify pred, false if not.</returns>
2669
- </member>
2670
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.ForAll(System.Predicate{`0})">
2671
- <summary>
2672
- Tests the sequence, returning true only if all
2673
- elements satisfy the given predicate.
2674
- </summary>
2675
- <param name="predicate">Predicate to use to test.</param>
2676
- <returns>true if all elements satify pred, false if not.</returns>
2677
- </member>
2678
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.Map``1(System.Converter{`0,``0})">
2679
- <summary>
2680
- Return a new sequence consisting of the result of running each element through
2681
- the given <paramref name="converter"/>.
2682
- </summary>
2683
- <typeparam name="TOut">Desired output type.</typeparam>
2684
- <param name="converter">Converter delegate.</param>
2685
- <returns>New Sequence</returns>
2686
- </member>
2687
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.Reduce``1(``0,Microsoft.Practices.ObjectBuilder2.Sequence.Reducer{`0,``0})">
2688
- <summary>
2689
- Run a functional Reduce operation. See other methods for examples.
2690
- </summary>
2691
- <typeparam name="TDest">Type of final output.</typeparam>
2692
- <param name="initialValue">Initial value for accumulator.</param>
2693
- <param name="reducer">Reduce function.</param>
2694
- <returns></returns>
2695
- </member>
2696
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.ToString(System.String,System.Converter{`0,System.String})">
2697
- <summary>
2698
- Convert the given sequence to a single string. The items in the string are
2699
- separated by the given separator, and each object is converted to a string
2700
- using the <paramref name="converter"/> method given.
2701
- </summary>
2702
- <param name="separator">Separator string.</param>
2703
- <param name="converter">Function to convert <typeparamref name="T"/> instances to
2704
- strings.</param>
2705
- <returns>The collected string.</returns>
2706
- </member>
2707
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.ToString(System.String)">
2708
- <summary>
2709
- Convert the given sequence to a single string. The items in the string are separated
2710
- by the given separator, and each object is converted to a string by calling its
2711
- <see cref="M:System.Object.ToString"/> method.
2712
- </summary>
2713
- <param name="separator">Separator string.</param>
2714
- <returns>The collected string.</returns>
2715
- </member>
2716
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.First">
2717
- <summary>
2718
- Return the first item in the given sequence.
2719
- </summary>
2720
- <exception cref="T:System.InvalidOperationException">Thrown if the sequence is empty.</exception>
2721
- <returns>First item in the sequence.</returns>
2722
- </member>
2723
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.ForEach(System.Action{`0})">
2724
- <summary>
2725
- Execute the given action delegate for each item in the sequence.
2726
- </summary>
2727
- <param name="action">Action to perform on each item.</param>
2728
- </member>
2729
- <member name="M:Microsoft.Practices.ObjectBuilder2.Seq`1.Concat(System.Collections.Generic.IEnumerable{`0}[])">
2730
- <summary>
2731
- Concatenate multiple sequences with this one to return a single
2732
- sequence containing all items.
2733
- </summary>
2734
- <param name="sequences">Sequences to combine.</param>
2735
- <returns>The combined sequence.</returns>
2736
- </member>
2737
- <member name="T:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicy`1">
2738
- <summary>
2739
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/> that selects
2740
- methods by looking for the given <typeparamref name="TMarkerAttribute"/>
2741
- attribute on those methods.
2742
- </summary>
2743
- <typeparam name="TMarkerAttribute">Type of attribute used to mark methods
2744
- to inject.</typeparam>
2745
- </member>
2746
- <member name="T:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicyBase`1">
2747
- <summary>
2748
- Base class that provides an implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/>
2749
- which lets you override how the parameter resolvers are created.
2750
- </summary>
2751
- <typeparam name="TMarkerAttribute">Attribute that marks methods that should
2752
- be called.</typeparam>
2753
- </member>
2754
- <member name="M:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicyBase`1.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
2755
- <summary>
2756
- Return the sequence of methods to call while building the target object.
2757
- </summary>
2758
- <param name="context">Current build context.</param>
2759
- <returns>Sequence of methods to call.</returns>
2760
- </member>
2761
- <member name="M:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicyBase`1.CreateResolver(System.Reflection.ParameterInfo)">
2762
- <summary>
2763
- Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given
2764
- <see cref="T:System.Reflection.ParameterInfo"/>.
2765
- </summary>
2766
- <param name="parameter">Parameter to create the resolver for.</param>
2767
- <returns>The resolver object.</returns>
2768
- </member>
2769
- <member name="M:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicy`1.CreateResolver(System.Reflection.ParameterInfo)">
2770
- <summary>
2771
- Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given
2772
- <see cref="T:System.Reflection.ParameterInfo"/>.
2773
- </summary>
2774
- <param name="parameter">Parameter to create the resolver for.</param>
2775
- <returns>The resolver object.</returns>
2776
- </member>
2777
- <member name="T:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicy`1">
2778
- <summary>
2779
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"/> that chooses
2780
- constructors based on these criteria: first, pick a constructor marked with the
2781
- <typeparamref name="TInjectionConstructorMarkerAttribute"/> attribute. If there
2782
- isn't one, then choose the constructor with the longest parameter list. If that is ambiguous,
2783
- then throw.
2784
- </summary>
2785
- <exception cref="T:System.InvalidOperationException">Thrown when the constructor to choose is ambiguous.</exception>
2786
- <typeparam name="TInjectionConstructorMarkerAttribute">Attribute used to mark the constructor to call.</typeparam>
2787
- </member>
2788
- <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicy`1.CreateResolver(System.Reflection.ParameterInfo)">
2789
- <summary>
2790
- Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given
2791
- <see cref="T:System.Reflection.ParameterInfo"/>.
2792
- </summary>
2793
- <param name="param">Parameter to create the resolver for.</param>
2794
- <returns>The resolver object.</returns>
2795
- </member>
2796
- <member name="T:Microsoft.Practices.ObjectBuilder2.LifetimeContainer">
2797
- <summary>
2798
- Represents a lifetime container.
2799
- </summary>
2800
- <remarks>
2801
- A lifetime container tracks the lifetime of an object, and implements
2802
- IDisposable. When the container is disposed, any objects in the
2803
- container which implement IDisposable are also disposed.
2804
- </remarks>
2805
- </member>
2806
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Add(System.Object)">
2807
- <summary>
2808
- Adds an object to the lifetime container.
2809
- </summary>
2810
- <param name="item">The item to be added to the lifetime container.</param>
2811
- </member>
2812
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Contains(System.Object)">
2813
- <summary>
2814
- Determine if a given object is in the lifetime container.
2815
- </summary>
2816
- <param name="item">
2817
- The item to locate in the lifetime container.
2818
- </param>
2819
- <returns>
2820
- Returns true if the object is contained in the lifetime
2821
- container; returns false otherwise.
2822
- </returns>
2823
- </member>
2824
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Dispose">
2825
- <summary>
2826
- Releases the resources used by the <see cref="T:Microsoft.Practices.ObjectBuilder2.LifetimeContainer"/>.
2827
- </summary>
2828
- </member>
2829
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Dispose(System.Boolean)">
2830
- <summary>
2831
- Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources.
2832
- </summary>
2833
- <param name="disposing">
2834
- true to release managed and unmanaged resources; false to release only unmanaged resources.
2835
- </param>
2836
- </member>
2837
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.GetEnumerator">
2838
- <summary>
2839
- Returns an enumerator that iterates through the lifetime container.
2840
- </summary>
2841
- <returns>
2842
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the life time container.
2843
- </returns>
2844
- </member>
2845
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.System#Collections#IEnumerable#GetEnumerator">
2846
- <summary>
2847
- Returns an enumerator that iterates through the lifetime container.
2848
- </summary>
2849
- <returns>
2850
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the life time container.
2851
- </returns>
2852
- </member>
2853
- <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Remove(System.Object)">
2854
- <summary>
2855
- Removes an item from the lifetime container. The item is
2856
- not disposed.
2857
- </summary>
2858
- <param name="item">The item to be removed.</param>
2859
- </member>
2860
- <member name="P:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Count">
2861
- <summary>
2862
- Gets the number of references in the lifetime container
2863
- </summary>
2864
- <value>
2865
- The number of references in the lifetime container
2866
- </value>
2867
- </member>
2868
- <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanMethod">
2869
- <summary>
2870
- A delegate type that defines the signature of the
2871
- dynamic method created by the build plans.
2872
- </summary>
2873
- <param name="context"><see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/> used to build up the object.</param>
2874
- </member>
2875
- <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan">
2876
- <summary>
2877
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanPolicy"/> that runs the
2878
- given delegate to execute the plan.
2879
- </summary>
2880
- </member>
2881
- <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext">
2882
- <summary>
2883
- This object tracks the current state of the build plan generation,
2884
- accumulates the IL, provides the preamble &amp; postamble for the dynamic
2885
- method, and tracks things like local variables in the generated IL
2886
- so that they can be reused across IL generation strategies.
2887
- </summary>
2888
- </member>
2889
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.#ctor(System.Type,Microsoft.Practices.ObjectBuilder2.IDynamicBuilderMethodCreatorPolicy)">
2890
- <summary>
2891
- Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext"/> that is initialized
2892
- to handle creation of a dynamic method to build the given type.
2893
- </summary>
2894
- <param name="typeToBuild">Type that we're trying to create a build plan for.</param>
2895
- <param name="builderMethodCreator">An <see cref="T:Microsoft.Practices.ObjectBuilder2.IDynamicBuilderMethodCreatorPolicy"/> object that actually
2896
- creates our <see cref="T:System.Reflection.Emit.DynamicMethod"/> object.</param>
2897
- </member>
2898
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.GetBuildMethod">
2899
- <summary>
2900
- Completes generation of the dynamic method and returns the
2901
- generated dynamic method delegate.
2902
- </summary>
2903
- <returns>The created <see cref="T:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanMethod"/></returns>
2904
- </member>
2905
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.EmitLoadContext">
2906
- <summary>
2907
- Emit the IL to put the build context on top of the IL stack.
2908
- </summary>
2909
- </member>
2910
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.EmitLoadBuildKey">
2911
- <summary>
2912
- Emit the IL to put the current build key on top of the IL stack.
2913
- </summary>
2914
- </member>
2915
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.EmitLoadExisting">
2916
- <summary>
2917
- Emit the IL to put the current "existing" object on the top of the IL stack.
2918
- </summary>
2919
- </member>
2920
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.EmitStoreExisting">
2921
- <summary>
2922
- Emit the IL to make the top of the IL stack our current "existing" object.
2923
- </summary>
2924
- </member>
2925
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.EmitLoadTypeOnStack(System.Type)">
2926
- <summary>
2927
- Emit the IL to load the given <see cref="T:System.Type"/> object onto the top of the IL stack.
2928
- </summary>
2929
- <param name="t">Type to load on the stack.</param>
2930
- </member>
2931
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.EmitResolveDependency(System.Type,System.String)">
2932
- <summary>
2933
- Emit the IL needed to look up an <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> and
2934
- call it to get a value.
2935
- </summary>
2936
- <param name="dependencyType">Type of the dependency to resolve.</param>
2937
- <param name="key">Key to look up the policy by.</param>
2938
- </member>
2939
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.GetPropertyGetter``2(System.String)">
2940
- <summary>
2941
- A reflection helper method to make it easier to grab a property getter
2942
- <see cref="T:System.Reflection.MethodInfo"/> for the given property.
2943
- </summary>
2944
- <typeparam name="TImplementor">Type that implements the property we want.</typeparam>
2945
- <typeparam name="TProperty">Type of the property.</typeparam>
2946
- <param name="name">Name of the property.</param>
2947
- <returns>The property getter's <see cref="T:System.Reflection.MethodInfo"/>.</returns>
2948
- </member>
2949
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.GetMethodInfo``1(System.String,System.Type[])">
2950
- <summary>
2951
- A reflection helper method that makes it easier to grab a <see cref="T:System.Reflection.MethodInfo"/>
2952
- for a method.
2953
- </summary>
2954
- <typeparam name="TImplementor">Type that implements the method we want.</typeparam>
2955
- <param name="name">Name of the method.</param>
2956
- <param name="argumentTypes">Types of arguments to the method.</param>
2957
- <returns>The method's <see cref="T:System.Reflection.MethodInfo"/>.</returns>
2958
- </member>
2959
- <member name="P:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.IL">
2960
- <summary>
2961
- The underlying <see cref="T:System.Reflection.Emit.ILGenerator"/> that can be used to
2962
- emit IL into the generated dynamic method.
2963
- </summary>
2964
- </member>
2965
- <member name="P:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.TypeToBuild">
2966
- <summary>
2967
- The type we're currently creating the method to build.
2968
- </summary>
2969
- </member>
2970
- <member name="T:Microsoft.Practices.ObjectBuilder2.Builder">
2971
- <summary>
2972
- An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilder"/>. It contains all the default strategies shipped
2973
- with ObjectBuilder.
2974
- </summary>
2975
- </member>
2976
- <member name="M:Microsoft.Practices.ObjectBuilder2.Builder.BuildUp(Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IStrategyChain,System.Object,System.Object)">
2977
- <summary>
2978
- Performs a build operation.
2979
- </summary>
2980
- <remarks>
2981
- This operation uses the strategies and permanent policies already configured
2982
- into the builder, combined with the optional transient policies, and starts a build
2983
- operation. Transient policies override any built-in policies, when present.
2984
- </remarks>
2985
- <param name="locator">The locator to be used for this build operation.</param>
2986
- <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this build operation.</param>
2987
- <param name="policies">
2988
- The transient policies to apply to this build. These
2989
- policies take precedence over any permanent policies built into the builder.
2990
- </param>
2991
- <param name="strategies">
2992
- The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this build operation.
2993
- </param>
2994
- <param name="buildKey">The key of the object to build.</param>
2995
- <param name="existing">
2996
- The existing object to run the build chain on, if one exists.
2997
- If null is passed, a new object instance will typically be created by some strategy
2998
- in the chain.
2999
- </param>
3000
- <returns>The built object.</returns>
3001
- </member>
3002
- <member name="M:Microsoft.Practices.ObjectBuilder2.Builder.BuildUp``1(Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IStrategyChain,System.Object,System.Object)">
3003
- <summary>
3004
- Performs a build operation.
3005
- </summary>
3006
- <remarks>
3007
- This operation uses the strategies and permanent policies already configured
3008
- into the builder, combined with the optional transient policies, and starts a build
3009
- operation. Transient policies override any built-in policies, when present.
3010
- </remarks>
3011
- <typeparam name="TTypeToBuild">The type to build.</typeparam>
3012
- <param name="locator">The locator to be used for this build operation.</param>
3013
- <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this build operation.</param>
3014
- <param name="policies">
3015
- The transient policies to apply to this build. These
3016
- policies take precedence over any permanent policies built into the builder.
3017
- </param>
3018
- <param name="strategies">
3019
- The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this build operation.
3020
- </param>
3021
- <param name="buildKey">The key of the object to build.</param>
3022
- <param name="existing">
3023
- The existing object to run the build chain on, if one exists.
3024
- If null is passed, a new object instance will typically be created by some strategy
3025
- in the chain.
3026
- </param>
3027
- <returns>The built object.</returns>
3028
- </member>
3029
- <member name="M:Microsoft.Practices.ObjectBuilder2.Builder.TearDown``1(Microsoft.Practices.ObjectBuilder2.IReadWriteLocator,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IStrategyChain,``0)">
3030
- <summary>
3031
- Performs an unbuild operation.
3032
- </summary>
3033
- <typeparam name="TItem">The type to unbuild. If not provided, it will be inferred from the
3034
- type of item.
3035
- </typeparam>
3036
- <param name="locator">The locator to be used for this build operation.</param>
3037
- <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this build operation.</param>
3038
- <param name="policies">
3039
- The transient policies to apply to this build. These
3040
- policies take precedence over any permanent policies built into the builder.
3041
- </param>
3042
- <param name="strategies">
3043
- The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this build operation.
3044
- </param>
3045
- <param name="item">The item to tear down.</param>
3046
- <returns>The torn down item.</returns>
3047
- </member>
3048
- <member name="T:Microsoft.Practices.ObjectBuilder2.StrategyChain">
3049
- <summary>
3050
- Represents a chain of responsibility for builder strategies.
3051
- </summary>
3052
- </member>
3053
- <member name="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain">
3054
- <summary>
3055
- Represents a chain of responsibility for builder strategies.
3056
- </summary>
3057
- </member>
3058
- <member name="M:Microsoft.Practices.ObjectBuilder2.IStrategyChain.Reverse">
3059
- <summary>
3060
- Reverse the order of the strategy chain.
3061
- </summary>
3062
- <returns>The reversed strategy chain.</returns>
3063
- </member>
3064
- <member name="M:Microsoft.Practices.ObjectBuilder2.IStrategyChain.ExecuteBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
3065
- <summary>
3066
- Execute this strategy chain against the given context,
3067
- calling the Buildup methods on the strategies.
3068
- </summary>
3069
- <param name="context">Context for the build process.</param>
3070
- <returns>The build up object</returns>
3071
- </member>
3072
- <member name="M:Microsoft.Practices.ObjectBuilder2.IStrategyChain.ExecuteTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
3073
- <summary>
3074
- Execute this strategy chain against the given context,
3075
- calling the TearDown methods on the strategies.
3076
- </summary>
3077
- <param name="context">Context for the teardown process.</param>
3078
- </member>
3079
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.#ctor">
3080
- <summary>
3081
- Initialzie a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.StrategyChain"/> class.
3082
- </summary>
3083
- </member>
3084
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.#ctor(System.Collections.IEnumerable)">
3085
- <summary>
3086
- Initialzie a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.StrategyChain"/> class with a colleciton of strategies.
3087
- </summary>
3088
- <param name="strategies">A collection of strategies to initialize the chain.</param>
3089
- </member>
3090
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.Add(Microsoft.Practices.ObjectBuilder2.IBuilderStrategy)">
3091
- <summary>
3092
- Adds a strategy to the chain.
3093
- </summary>
3094
- <param name="strategy">The strategy to add to the chain.</param>
3095
- </member>
3096
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.AddRange(System.Collections.IEnumerable)">
3097
- <summary>
3098
- Adds strategies to the chain.
3099
- </summary>
3100
- <param name="strategyEnumerable">The strategies to add to the chain.</param>
3101
- </member>
3102
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.Reverse">
3103
- <summary>
3104
- Reverse the order of the strategy chain.
3105
- </summary>
3106
- <returns>The reversed strategy chain.</returns>
3107
- </member>
3108
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
3109
- <summary>
3110
- Execute this strategy chain against the given context to build up.
3111
- </summary>
3112
- <param name="context">Context for the build processes.</param>
3113
- <returns>The build up object</returns>
3114
- </member>
3115
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
3116
- <summary>
3117
- Execute this strategy chain against the given context,
3118
- calling the TearDown methods on the strategies.
3119
- </summary>
3120
- <param name="context">Context for the teardown process.</param>
3121
- </member>
3122
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.System#Collections#Generic#IEnumerable{Microsoft#Practices#ObjectBuilder2#IBuilderStrategy}#GetEnumerator">
3123
- <summary>
3124
- Returns an enumerator that iterates through the collection.
3125
- </summary>
3126
-
3127
- <returns>
3128
- A <see cref="T:System.Collections.Generic.IEnumerator`1"></see> that can be used to iterate through the collection.
3129
- </returns>
3130
- <filterpriority>1</filterpriority>
3131
- </member>
3132
- <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.GetEnumerator">
3133
- <summary>
3134
- Returns an enumerator that iterates through a collection.
3135
- </summary>
3136
-
3137
- <returns>
3138
- An <see cref="T:System.Collections.IEnumerator"></see> object that can be used to iterate through the collection.
3139
- </returns>
3140
- <filterpriority>2</filterpriority>
3141
- </member>
3142
- <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy">
3143
- <summary>
3144
- A <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> that emits IL to call constructors
3145
- as part of creating a build plan.
3146
- </summary>
3147
- </member>
3148
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
3149
- <summary>
3150
- Called during the chain of responsibility for a build operation.
3151
- </summary>
3152
- <remarks>Existing object is an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext"/>.</remarks>
3153
- <param name="context">The context for the operation.</param>
3154
- </member>
3155
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForNullExistingObject(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
3156
- <summary>
3157
- A helper method used by the generated IL to throw an exception if
3158
- a dependency cannot be resolved.
3159
- </summary>
3160
- <param name="context">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/> currently being
3161
- used for the build of this object.</param>
3162
- </member>
3163
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForResolutionFailed(System.Exception,System.String,System.String,Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
3164
- <summary>
3165
- A helper method used by the generated IL to throw an exception if a parameter
3166
- fails to resolve.
3167
- </summary>
3168
- <param name="inner">Inner exception to throw.</param>
3169
- <param name="parameterName">Name of the parameter that was attempted to be resolved.</param>
3170
- <param name="constructorSignature">String describing which constructor we were calling.</param>
3171
- <param name="context">Current build context.</param>
3172
- </member>
3173
- <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
3174
- <summary>
3175
- A helper method used by the generated IL to throw an exception if
3176
- no existing object is present, but the user is attempting to build
3177
- an interface (usually due to the lack of a type mapping).
3178
- </summary>
3179
- <param name="context"></param>
3180
- </member>
3181
- </members>
3182
- </doc>