unity 1.1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2528 @@
1
+ <?xml version="1.0"?>
2
+ <doc>
3
+ <assembly>
4
+ <name>Microsoft.Practices.Unity</name>
5
+ </assembly>
6
+ <members>
7
+ <member name="T:Microsoft.Practices.Unity.IUnityContainer">
8
+ <summary>
9
+ Interface defining the behavior of the Unity dependency injection container.
10
+ </summary>
11
+ </member>
12
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType``2">
13
+ <summary>
14
+ RegisterType a type mapping with the container.
15
+ </summary>
16
+ <remarks>
17
+ <para>
18
+ This method is used to tell the container that when asked for type <typeparamref name="TFrom"/>,
19
+ actually return an instance of type <typeparamref name="TTo"/>. This is very useful for
20
+ getting instances of interfaces.
21
+ </para>
22
+ <para>
23
+ This overload registers a default mapping and transient lifetime.
24
+ </para>
25
+ </remarks>
26
+ <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam>
27
+ <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam>
28
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
29
+ </member>
30
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType``2(Microsoft.Practices.Unity.LifetimeManager)">
31
+ <summary>
32
+ RegisterType a type mapping with the container, where the created instances will use
33
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
34
+ </summary>
35
+ <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam>
36
+ <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam>
37
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
38
+ of the returned instance.</param>
39
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
40
+ </member>
41
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType``2(System.String)">
42
+ <summary>
43
+ RegisterType a type mapping with the container.
44
+ </summary>
45
+ <remarks>
46
+ This method is used to tell the container that when asked for type <typeparamref name="TFrom"/>,
47
+ actually return an instance of type <typeparamref name="TTo"/>. This is very useful for
48
+ getting instances of interfaces.
49
+ </remarks>
50
+ <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam>
51
+ <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam>
52
+ <param name="name">Name of this mapping.</param>
53
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
54
+ </member>
55
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType``2(System.String,Microsoft.Practices.Unity.LifetimeManager)">
56
+ <summary>
57
+ RegisterType a type mapping with the container, where the created instances will use
58
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
59
+ </summary>
60
+ <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam>
61
+ <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam>
62
+ <param name="name">Name to use for registration, null if a default registration.</param>
63
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
64
+ of the returned instance.</param>
65
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
66
+ </member>
67
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType``1(Microsoft.Practices.Unity.LifetimeManager)">
68
+ <summary>
69
+ RegisterType a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type with the container.
70
+ No type mapping is performed for this type.
71
+ </summary>
72
+ <typeparam name="T">The type to apply the <paramref name="lifetimeManager"/> to.</typeparam>
73
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
74
+ of the returned instance.</param>
75
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
76
+ </member>
77
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType``1(System.String,Microsoft.Practices.Unity.LifetimeManager)">
78
+ <summary>
79
+ RegisterType a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container.
80
+ No type mapping is performed for this type.
81
+ </summary>
82
+ <typeparam name="T">The type to apply the <paramref name="lifetimeManager"/> to.</typeparam>
83
+ <param name="name">Name that will be used to request the type.</param>
84
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
85
+ of the returned instance.</param>
86
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
87
+ </member>
88
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type)">
89
+ <summary>
90
+ RegisterType a type mapping with the container.
91
+ </summary>
92
+ <remarks>
93
+ <para>
94
+ This method is used to tell the container that when asked for type <paramref name="from"/>,
95
+ actually return an instance of type <paramref name="to"/>. This is very useful for
96
+ getting instances of interfaces.
97
+ </para>
98
+ <para>
99
+ This overload registers a default mapping.
100
+ </para>
101
+ </remarks>
102
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
103
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
104
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
105
+ </member>
106
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type,System.String)">
107
+ <summary>
108
+ RegisterType a type mapping with the container.
109
+ </summary>
110
+ <remarks>
111
+ This method is used to tell the container that when asked for type <paramref name="from"/>,
112
+ actually return an instance of type <paramref name="to"/>. This is very useful for
113
+ getting instances of interfaces.
114
+ </remarks>
115
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
116
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
117
+ <param name="name">Name to use for registration, null if a default registration.</param>
118
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
119
+ </member>
120
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type,Microsoft.Practices.Unity.LifetimeManager)">
121
+ <summary>
122
+ RegisterType a type mapping with the container, where the created instances will use
123
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
124
+ </summary>
125
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
126
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
127
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
128
+ of the returned instance.</param>
129
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
130
+ </member>
131
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,Microsoft.Practices.Unity.LifetimeManager)">
132
+ <summary>
133
+ RegisterType a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container.
134
+ No type mapping is performed for this type.
135
+ </summary>
136
+ <param name="t">The <see cref="T:System.Type"/> to apply the <paramref name="lifetimeManager"/> to.</param>
137
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
138
+ of the returned instance.</param>
139
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
140
+ </member>
141
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager)">
142
+ <summary>
143
+ RegisterType a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container.
144
+ No type mapping is performed for this type.
145
+ </summary>
146
+ <param name="t">The <see cref="T:System.Type"/> to apply the <paramref name="lifetimeManager"/> to.</param>
147
+ <param name="name">Name to use for registration, null if a default registration.</param>
148
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
149
+ of the returned instance.</param>
150
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
151
+ </member>
152
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager)">
153
+ <summary>
154
+ RegisterType a type mapping with the container, where the created instances will use
155
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
156
+ </summary>
157
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
158
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
159
+ <param name="name">Name to use for registration, null if a default registration.</param>
160
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
161
+ of the returned instance.</param>
162
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
163
+ </member>
164
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance``1(``0)">
165
+ <summary>
166
+ RegisterType an instance with the container.
167
+ </summary>
168
+ <remarks>
169
+ <para>
170
+ Instance registration is much like setting a type as a singleton, except that instead
171
+ of the container creating the instance the first time it is requested, the user
172
+ creates the instance ahead of type and adds that instance to the container.
173
+ </para>
174
+ <para>
175
+ This overload does a default registration and has the container take over the lifetime of the instance.</para>
176
+ </remarks>
177
+ <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam>
178
+ <param name="instance">Object to returned.</param>
179
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
180
+ </member>
181
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance``1(``0,Microsoft.Practices.Unity.LifetimeManager)">
182
+ <summary>
183
+ RegisterType an instance with the container.
184
+ </summary>
185
+ <remarks>
186
+ <para>
187
+ Instance registration is much like setting a type as a singleton, except that instead
188
+ of the container creating the instance the first time it is requested, the user
189
+ creates the instance ahead of type and adds that instance to the container.
190
+ </para>
191
+ <para>
192
+ This overload does a default registration (name = null).
193
+ </para>
194
+ </remarks>
195
+ <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam>
196
+ <param name="instance">Object to returned.</param>
197
+ <param name="lifetimeManager">
198
+ <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param>
199
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
200
+ </member>
201
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance``1(System.String,``0)">
202
+ <summary>
203
+ RegisterType an instance with the container.
204
+ </summary>
205
+ <remarks>
206
+ <para>
207
+ Instance registration is much like setting a type as a singleton, except that instead
208
+ of the container creating the instance the first time it is requested, the user
209
+ creates the instance ahead of type and adds that instance to the container.
210
+ </para>
211
+ <para>
212
+ This overload automatically has the container take ownership of the <paramref name="instance"/>.</para>
213
+ </remarks>
214
+ <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam>
215
+ <param name="instance">Object to returned.</param>
216
+ <param name="name">Name for registration.</param>
217
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
218
+ </member>
219
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance``1(System.String,``0,Microsoft.Practices.Unity.LifetimeManager)">
220
+ <summary>
221
+ RegisterType an instance with the container.
222
+ </summary>
223
+ <remarks>
224
+ <para>
225
+ Instance registration is much like setting a type as a singleton, except that instead
226
+ of the container creating the instance the first time it is requested, the user
227
+ creates the instance ahead of type and adds that instance to the container.
228
+ </para>
229
+ </remarks>
230
+ <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam>
231
+ <param name="instance">Object to returned.</param>
232
+ <param name="name">Name for registration.</param>
233
+ <param name="lifetimeManager">
234
+ <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param>
235
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
236
+ </member>
237
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance(System.Type,System.Object)">
238
+ <summary>
239
+ RegisterType an instance with the container.
240
+ </summary>
241
+ <remarks>
242
+ <para>
243
+ Instance registration is much like setting a type as a singleton, except that instead
244
+ of the container creating the instance the first time it is requested, the user
245
+ creates the instance ahead of type and adds that instance to the container.
246
+ </para>
247
+ <para>
248
+ This overload does a default registration and has the container take over the lifetime of the instance.</para>
249
+ </remarks>
250
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
251
+ <param name="instance">Object to returned.</param>
252
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
253
+ </member>
254
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance(System.Type,System.Object,Microsoft.Practices.Unity.LifetimeManager)">
255
+ <summary>
256
+ RegisterType an instance with the container.
257
+ </summary>
258
+ <remarks>
259
+ <para>
260
+ Instance registration is much like setting a type as a singleton, except that instead
261
+ of the container creating the instance the first time it is requested, the user
262
+ creates the instance ahead of type and adds that instance to the container.
263
+ </para>
264
+ <para>
265
+ This overload does a default registration (name = null).
266
+ </para>
267
+ </remarks>
268
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
269
+ <param name="instance">Object to returned.</param>
270
+ <param name="lifetimeManager">
271
+ <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param>
272
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
273
+ </member>
274
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance(System.Type,System.String,System.Object)">
275
+ <summary>
276
+ RegisterType an instance with the container.
277
+ </summary>
278
+ <remarks>
279
+ <para>
280
+ Instance registration is much like setting a type as a singleton, except that instead
281
+ of the container creating the instance the first time it is requested, the user
282
+ creates the instance ahead of type and adds that instance to the container.
283
+ </para>
284
+ <para>
285
+ This overload automatically has the container take ownership of the <paramref name="instance"/>.</para>
286
+ </remarks>
287
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
288
+ <param name="instance">Object to returned.</param>
289
+ <param name="name">Name for registration.</param>
290
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
291
+ </member>
292
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance(System.Type,System.String,System.Object,Microsoft.Practices.Unity.LifetimeManager)">
293
+ <summary>
294
+ RegisterType an instance with the container.
295
+ </summary>
296
+ <remarks>
297
+ <para>
298
+ Instance registration is much like setting a type as a singleton, except that instead
299
+ of the container creating the instance the first time it is requested, the user
300
+ creates the instance ahead of type and adds that instance to the container.
301
+ </para>
302
+ </remarks>
303
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
304
+ <param name="instance">Object to returned.</param>
305
+ <param name="name">Name for registration.</param>
306
+ <param name="lifetime">
307
+ <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param>
308
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
309
+ </member>
310
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.Resolve``1">
311
+ <summary>
312
+ Resolve an instance of the default requested type from the container.
313
+ </summary>
314
+ <typeparam name="T"><see cref="T:System.Type"/> of object to get from the container.</typeparam>
315
+ <returns>The retrieved object.</returns>
316
+ </member>
317
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.Resolve``1(System.String)">
318
+ <summary>
319
+ Resolve an instance of the requested type with the given name from the container.
320
+ </summary>
321
+ <typeparam name="T"><see cref="T:System.Type"/> of object to get from the container.</typeparam>
322
+ <param name="name">Name of the object to retrieve.</param>
323
+ <returns>The retrieved object.</returns>
324
+ </member>
325
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.Resolve(System.Type)">
326
+ <summary>
327
+ Resolve an instance of the default requested type from the container.
328
+ </summary>
329
+ <param name="t"><see cref="T:System.Type"/> of object to get from the container.</param>
330
+ <returns>The retrieved object.</returns>
331
+ </member>
332
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.Resolve(System.Type,System.String)">
333
+ <summary>
334
+ Resolve an instance of the requested type with the given name from the container.
335
+ </summary>
336
+ <param name="t"><see cref="T:System.Type"/> of object to get from the container.</param>
337
+ <param name="name">Name of the object to retrieve.</param>
338
+ <returns>The retrieved object.</returns>
339
+ </member>
340
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.ResolveAll``1">
341
+ <summary>
342
+ Return instances of all registered types requested.
343
+ </summary>
344
+ <remarks>
345
+ <para>
346
+ This method is useful if you've registered multiple types with the same
347
+ <see cref="T:System.Type"/> but different names.
348
+ </para>
349
+ <para>
350
+ Be aware that this method does NOT return an instance for the default (unnamed) registration.
351
+ </para>
352
+ </remarks>
353
+ <typeparam name="T">The type requested.</typeparam>
354
+ <returns>Set of objects of type <typeparamref name="T"/>.</returns>
355
+ </member>
356
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.ResolveAll(System.Type)">
357
+ <summary>
358
+ Return instances of all registered types requested.
359
+ </summary>
360
+ <remarks>
361
+ <para>
362
+ This method is useful if you've registered multiple types with the same
363
+ <see cref="T:System.Type"/> but different names.
364
+ </para>
365
+ <para>
366
+ Be aware that this method does NOT return an instance for the default (unnamed) registration.
367
+ </para>
368
+ </remarks>
369
+ <param name="t">The type requested.</param>
370
+ <returns>Set of objects of type <paramref name="t"/>.</returns>
371
+ </member>
372
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.BuildUp``1(``0)">
373
+ <summary>
374
+ Run an existing object through the container and perform injection on it.
375
+ </summary>
376
+ <remarks>
377
+ <para>
378
+ This method is useful when you don't control the construction of an
379
+ instance (ASP.NET pages or objects created via XAML, for instance)
380
+ but you still want properties and other injection performed.
381
+ </para>
382
+ <para>
383
+ This overload uses the default registrations.
384
+ </para>
385
+ </remarks>
386
+ <typeparam name="T"><see cref="T:System.Type"/> of object to perform injection on.</typeparam>
387
+ <param name="existing">Instance to build up.</param>
388
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
389
+ container extensions may add things like automatic proxy creation which would
390
+ cause this to return a different object (but still type compatible with <typeparamref name="T"/>).</returns>
391
+ </member>
392
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.BuildUp``1(``0,System.String)">
393
+ <summary>
394
+ Run an existing object through the container and perform injection on it.
395
+ </summary>
396
+ <remarks>
397
+ <para>
398
+ This method is useful when you don't control the construction of an
399
+ instance (ASP.NET pages or objects created via XAML, for instance)
400
+ but you still want properties and other injection performed.
401
+ </para></remarks>
402
+ <typeparam name="T"><see cref="T:System.Type"/> of object to perform injection on.</typeparam>
403
+ <param name="existing">Instance to build up.</param>
404
+ <param name="name">name to use when looking up the typemappings and other configurations.</param>
405
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
406
+ container extensions may add things like automatic proxy creation which would
407
+ cause this to return a different object (but still type compatible with <typeparamref name="T"/>).</returns>
408
+ </member>
409
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.BuildUp(System.Type,System.Object)">
410
+ <summary>
411
+ Run an existing object through the container and perform injection on it.
412
+ </summary>
413
+ <remarks>
414
+ <para>
415
+ This method is useful when you don't control the construction of an
416
+ instance (ASP.NET pages or objects created via XAML, for instance)
417
+ but you still want properties and other injection performed.
418
+ </para>
419
+ <para>
420
+ This overload uses the default registrations.
421
+ </para>
422
+ </remarks>
423
+ <param name="t"><see cref="T:System.Type"/> of object to perform injection on.</param>
424
+ <param name="existing">Instance to build up.</param>
425
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
426
+ container extensions may add things like automatic proxy creation which would
427
+ cause this to return a different object (but still type compatible with <paramref name="t"/>).</returns>
428
+ </member>
429
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.BuildUp(System.Type,System.Object,System.String)">
430
+ <summary>
431
+ Run an existing object through the container and perform injection on it.
432
+ </summary>
433
+ <remarks>
434
+ <para>
435
+ This method is useful when you don't control the construction of an
436
+ instance (ASP.NET pages or objects created via XAML, for instance)
437
+ but you still want properties and other injection performed.
438
+ </para></remarks>
439
+ <param name="t"><see cref="T:System.Type"/> of object to perform injection on.</param>
440
+ <param name="existing">Instance to build up.</param>
441
+ <param name="name">name to use when looking up the typemappings and other configurations.</param>
442
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
443
+ container extensions may add things like automatic proxy creation which would
444
+ cause this to return a different object (but still type compatible with <paramref name="t"/>).</returns>
445
+ </member>
446
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.Teardown(System.Object)">
447
+ <summary>
448
+ Run an existing object through the container, and clean it up.
449
+ </summary>
450
+ <param name="o">The object to tear down.</param>
451
+ </member>
452
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.AddExtension(Microsoft.Practices.Unity.UnityContainerExtension)">
453
+ <summary>
454
+ Add an extension object to the container.
455
+ </summary>
456
+ <param name="extension"><see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> to add.</param>
457
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
458
+ </member>
459
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.AddNewExtension``1">
460
+ <summary>
461
+ Creates a new extension object and adds it to the container.
462
+ </summary>
463
+ <typeparam name="TExtension">Type of <see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> to add. The extension type
464
+ must have a zero-argument public constructor.</typeparam>
465
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
466
+ </member>
467
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.Configure``1">
468
+ <summary>
469
+ Resolve access to a configuration interface exposed by an extension.
470
+ </summary>
471
+ <remarks>Extensions can expose configuration interfaces as well as adding
472
+ strategies and policies to the container. This method walks the list of
473
+ added extensions and returns the first one that implements the requested type.
474
+ </remarks>
475
+ <typeparam name="TConfigurator">The configuration interface required.</typeparam>
476
+ <returns>The requested extension's configuration interface, or null if not found.</returns>
477
+ </member>
478
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.Configure(System.Type)">
479
+ <summary>
480
+ Resolve access to a configuration interface exposed by an extension.
481
+ </summary>
482
+ <remarks>Extensions can expose configuration interfaces as well as adding
483
+ strategies and policies to the container. This method walks the list of
484
+ added extensions and returns the first one that implements the requested type.
485
+ </remarks>
486
+ <param name="configurationInterface"><see cref="T:System.Type"/> of configuration interface required.</param>
487
+ <returns>The requested extension's configuration interface, or null if not found.</returns>
488
+ </member>
489
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.RemoveAllExtensions">
490
+ <summary>
491
+ Remove all installed extensions from this container.
492
+ </summary>
493
+ <remarks>
494
+ <para>
495
+ This method removes all extensions from the container, including the default ones
496
+ that implement the out-of-the-box behavior. After this method, if you want to use
497
+ the container again you will need to either readd the default extensions or replace
498
+ them with your own.
499
+ </para>
500
+ <para>
501
+ The registered instances and singletons that have already been set up in this container
502
+ do not get removed.
503
+ </para>
504
+ </remarks>
505
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
506
+ </member>
507
+ <member name="M:Microsoft.Practices.Unity.IUnityContainer.CreateChildContainer">
508
+ <summary>
509
+ Create a child container.
510
+ </summary>
511
+ <remarks>
512
+ A child container shares the parent's configuration, but can be configured with different
513
+ settings or lifetime.</remarks>
514
+ <returns>The new child container.</returns>
515
+ </member>
516
+ <member name="P:Microsoft.Practices.Unity.IUnityContainer.Parent">
517
+ <summary>
518
+ The parent of this container.
519
+ </summary>
520
+ <value>The parent container, or null if this container doesn't have one.</value>
521
+ </member>
522
+ <member name="T:Microsoft.Practices.Unity.Utility.Pair`2">
523
+ <summary>
524
+ A helper class that encapsulates two different
525
+ data items together into a a single item.
526
+ </summary>
527
+ </member>
528
+ <member name="M:Microsoft.Practices.Unity.Utility.Pair`2.#ctor(`0,`1)">
529
+ <summary>
530
+ Create a new <see cref="T:Microsoft.Practices.Unity.Utility.Pair`2"/> containing
531
+ the two values give.
532
+ </summary>
533
+ <param name="first">First value</param>
534
+ <param name="second">Second value</param>
535
+ </member>
536
+ <member name="P:Microsoft.Practices.Unity.Utility.Pair`2.First">
537
+ <summary>
538
+ The first value of the pair.
539
+ </summary>
540
+ </member>
541
+ <member name="P:Microsoft.Practices.Unity.Utility.Pair`2.Second">
542
+ <summary>
543
+ The second value of the pair.
544
+ </summary>
545
+ </member>
546
+ <member name="T:Microsoft.Practices.Unity.Utility.Pair">
547
+ <summary>
548
+ Container for a Pair helper method.
549
+ </summary>
550
+ </member>
551
+ <member name="M:Microsoft.Practices.Unity.Utility.Pair.Make``2(``0,``1)">
552
+ <summary>
553
+ A helper factory method that lets users take advantage of type inference.
554
+ </summary>
555
+ <typeparam name="TFirstParam">Type of first value.</typeparam>
556
+ <typeparam name="TSecondParam">Type of second value.</typeparam>
557
+ <param name="first">First value.</param>
558
+ <param name="second">Second value.</param>
559
+ <returns>A new <see cref="T:Microsoft.Practices.Unity.Utility.Pair`2"/> instance.</returns>
560
+ </member>
561
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityPropertySelectorPolicy">
562
+ <summary>
563
+ An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"/> that is aware of
564
+ the build keys used by the unity container.
565
+ </summary>
566
+ </member>
567
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityPropertySelectorPolicy.CreateResolver(System.Reflection.PropertyInfo)">
568
+ <summary>
569
+ Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for the given
570
+ property.
571
+ </summary>
572
+ <param name="property">Property to create resolver for.</param>
573
+ <returns>The resolver object.</returns>
574
+ </member>
575
+ <member name="T:Microsoft.Practices.Unity.InjectionConstructor">
576
+ <summary>
577
+ A class that holds the collection of information
578
+ for a constructor, so that the container can
579
+ be configured to call this constructor.
580
+ </summary>
581
+ </member>
582
+ <member name="T:Microsoft.Practices.Unity.InjectionMember">
583
+ <summary>
584
+ Base class for objects that can be used to configure what
585
+ class members get injected by the container.
586
+ </summary>
587
+ </member>
588
+ <member name="M:Microsoft.Practices.Unity.InjectionMember.AddPolicies(System.Type,Microsoft.Practices.ObjectBuilder2.IPolicyList)">
589
+ <summary>
590
+ Add policies to the <paramref name="policies"/> to configure the
591
+ container to call this constructor with the appropriate parameter values.
592
+ </summary>
593
+ <param name="typeToCreate">Type to register.</param>
594
+ <param name="policies">Policy list to add policies to.</param>
595
+ </member>
596
+ <member name="M:Microsoft.Practices.Unity.InjectionMember.AddPolicies(System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)">
597
+ <summary>
598
+ Add policies to the <paramref name="policies"/> to configure the
599
+ container to call this constructor with the appropriate parameter values.
600
+ </summary>
601
+ <param name="typeToCreate">Type to register.</param>
602
+ <param name="name">Name used to resolve the type object.</param>
603
+ <param name="policies">Policy list to add policies to.</param>
604
+ </member>
605
+ <member name="M:Microsoft.Practices.Unity.InjectionConstructor.#ctor(System.Object[])">
606
+ <summary>
607
+ Create a new instance of <see cref="T:Microsoft.Practices.Unity.InjectionConstructor"/> that looks
608
+ for a constructor with the given set of parameters.
609
+ </summary>
610
+ <param name="parameterValues">The values for the parameters, that will
611
+ be converted to <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects.</param>
612
+ </member>
613
+ <member name="M:Microsoft.Practices.Unity.InjectionConstructor.AddPolicies(System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)">
614
+ <summary>
615
+ Add policies to the <paramref name="policies"/> to configure the
616
+ container to call this constructor with the appropriate parameter values.
617
+ </summary>
618
+ <param name="typeToCreate">Type to register.</param>
619
+ <param name="name">Name used to resolve the type object.</param>
620
+ <param name="policies">Policy list to add policies to.</param>
621
+ </member>
622
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMemberSelectorHelper">
623
+ <summary>
624
+ Helper class for implementing selector policies that need to
625
+ set up dependency resolver policies.
626
+ </summary>
627
+ </member>
628
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMemberSelectorHelper.AddParameterResolvers(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.InjectionParameterValue},Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters)">
629
+ <summary>
630
+ Add dependency resolvers to the policy set.
631
+ </summary>
632
+ <param name="policies">PolicyList to add the resolvers to.</param>
633
+ <param name="parameterValues">Objects supplying the dependency resolvers.</param>
634
+ <param name="result">Result object to store the keys in.</param>
635
+ </member>
636
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedConstructorSelectorPolicy">
637
+ <summary>
638
+ An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"/> that selects
639
+ the given constructor and creates the appropriate resolvers to call it with
640
+ the specified parameters.
641
+ </summary>
642
+ </member>
643
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedConstructorSelectorPolicy.#ctor(System.Reflection.ConstructorInfo,Microsoft.Practices.Unity.InjectionParameterValue[])">
644
+ <summary>
645
+ Create an instance of <see cref="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedConstructorSelectorPolicy"/> that
646
+ will return the given constructor, being passed the given injection values
647
+ as parameters.
648
+ </summary>
649
+ <param name="ctor">The constructor to call.</param>
650
+ <param name="parameterValues">Set of <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects
651
+ that describes how to obtain the values for the constructor parameters.</param>
652
+ </member>
653
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedConstructorSelectorPolicy.SelectConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
654
+ <summary>
655
+ Choose the constructor to call for the given type.
656
+ </summary>
657
+ <param name="context">Current build context</param>
658
+ <returns>The chosen constructor.</returns>
659
+ </member>
660
+ <member name="T:Microsoft.Practices.Unity.ResolutionFailedException">
661
+ <summary>
662
+ The exception thrown by the Unity container when
663
+ an attempt to resolve a dependency fails.
664
+ </summary>
665
+ </member>
666
+ <member name="M:Microsoft.Practices.Unity.ResolutionFailedException.#ctor(System.Type,System.String,System.Exception)">
667
+ <summary>
668
+ Create a new <see cref="T:Microsoft.Practices.Unity.ResolutionFailedException"/> that records
669
+ the exception for the given type and name.
670
+ </summary>
671
+ <param name="typeRequested">Type requested from the container.</param>
672
+ <param name="nameRequested">Name requested from the container.</param>
673
+ <param name="innerException">The actual exception that caused the failure of the build.</param>
674
+ </member>
675
+ <member name="M:Microsoft.Practices.Unity.ResolutionFailedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
676
+ <summary>
677
+ Constructor to create a <see cref="T:Microsoft.Practices.Unity.ResolutionFailedException"/> from serialized state.
678
+ </summary>
679
+ <param name="info">Serialization info</param>
680
+ <param name="context">Serialization context</param>
681
+ </member>
682
+ <member name="M:Microsoft.Practices.Unity.ResolutionFailedException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
683
+ <summary>
684
+ Serialize this object into the given context.
685
+ </summary>
686
+ <param name="info">Serialization info</param>
687
+ <param name="context">Streaming context</param>
688
+ </member>
689
+ <member name="P:Microsoft.Practices.Unity.ResolutionFailedException.TypeRequested">
690
+ <summary>
691
+ The type that was being requested from the container at the time of failure.
692
+ </summary>
693
+ </member>
694
+ <member name="P:Microsoft.Practices.Unity.ResolutionFailedException.NameRequested">
695
+ <summary>
696
+ The name that was being requested from the container at the time of failure.
697
+ </summary>
698
+ </member>
699
+ <member name="T:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager">
700
+ <summary>
701
+ A <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that holds a weak reference to
702
+ it's managed instance.
703
+ </summary>
704
+ </member>
705
+ <member name="T:Microsoft.Practices.Unity.LifetimeManager">
706
+ <summary>
707
+ Base class for Lifetime managers - classes that control how
708
+ and when instances are created by the Unity container.
709
+ </summary>
710
+ </member>
711
+ <member name="M:Microsoft.Practices.Unity.LifetimeManager.GetValue">
712
+ <summary>
713
+ Retrieve a value from the backing store associated with this Lifetime policy.
714
+ </summary>
715
+ <returns>the object desired, or null if no such object is currently stored.</returns>
716
+ </member>
717
+ <member name="M:Microsoft.Practices.Unity.LifetimeManager.SetValue(System.Object)">
718
+ <summary>
719
+ Stores the given value into backing store for retrieval later.
720
+ </summary>
721
+ <param name="newValue">The object being stored.</param>
722
+ </member>
723
+ <member name="M:Microsoft.Practices.Unity.LifetimeManager.RemoveValue">
724
+ <summary>
725
+ Remove the given object from backing store.
726
+ </summary>
727
+ </member>
728
+ <member name="M:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager.GetValue">
729
+ <summary>
730
+ Retrieve a value from the backing store associated with this Lifetime policy.
731
+ </summary>
732
+ <returns>the object desired, or null if no such object is currently stored.</returns>
733
+ </member>
734
+ <member name="M:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager.SetValue(System.Object)">
735
+ <summary>
736
+ Stores the given value into backing store for retrieval later.
737
+ </summary>
738
+ <param name="newValue">The object being stored.</param>
739
+ </member>
740
+ <member name="M:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager.RemoveValue">
741
+ <summary>
742
+ Remove the given object from backing store.
743
+ </summary>
744
+ </member>
745
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy">
746
+ <summary>
747
+ An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that stores a
748
+ type and name, and at resolution time puts them together into a
749
+ <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/>.
750
+ </summary>
751
+ </member>
752
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.#ctor(System.Type,System.String)">
753
+ <summary>
754
+ Create an instance of <see cref="T:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy"/>
755
+ with the given type and name.
756
+ </summary>
757
+ <param name="type">The type.</param>
758
+ <param name="name">The name (may be null).</param>
759
+ </member>
760
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
761
+ <summary>
762
+ Resolve the value for a dependency.
763
+ </summary>
764
+ <param name="context">Current build context.</param>
765
+ <returns>The value for the dependency.</returns>
766
+ </member>
767
+ <member name="P:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Type">
768
+ <summary>
769
+ The type that this resolver resolves.
770
+ </summary>
771
+ </member>
772
+ <member name="P:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Name">
773
+ <summary>
774
+ The name that this resolver resolves.
775
+ </summary>
776
+ </member>
777
+ <member name="T:Microsoft.Practices.Unity.InjectedMembers">
778
+ <summary>
779
+ A Unity container extension that allows you to configure
780
+ which constructors, properties, and methods get injected
781
+ via an API rather than through attributes.
782
+ </summary>
783
+ </member>
784
+ <member name="T:Microsoft.Practices.Unity.UnityContainerExtension">
785
+ <summary>
786
+ Base class for all <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> extension objects.
787
+ </summary>
788
+ </member>
789
+ <member name="T:Microsoft.Practices.Unity.IUnityContainerExtensionConfigurator">
790
+ <summary>
791
+ Base interface for all extension configuration interfaces.
792
+ </summary>
793
+ </member>
794
+ <member name="P:Microsoft.Practices.Unity.IUnityContainerExtensionConfigurator.Container">
795
+ <summary>
796
+ Retrieve the container instance that we are currently configuring.
797
+ </summary>
798
+ </member>
799
+ <member name="M:Microsoft.Practices.Unity.UnityContainerExtension.InitializeExtension(Microsoft.Practices.Unity.ExtensionContext)">
800
+ <summary>
801
+ The container calls this method when the extension is added.
802
+ </summary>
803
+ <param name="context">A <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> instance that gives the
804
+ extension access to the internals of the container.</param>
805
+ </member>
806
+ <member name="M:Microsoft.Practices.Unity.UnityContainerExtension.Initialize">
807
+ <summary>
808
+ Initial the container with this extension's functionality.
809
+ </summary>
810
+ <remarks>
811
+ When overridden in a derived class, this method will modify the given
812
+ <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> by adding strategies, policies, etc. to
813
+ install it's functions into the container.</remarks>
814
+ </member>
815
+ <member name="M:Microsoft.Practices.Unity.UnityContainerExtension.Remove">
816
+ <summary>
817
+ Removes the extension's functions from the container.
818
+ </summary>
819
+ <remarks>
820
+ <para>
821
+ This method is called when extensions are being removed from the container. It can be
822
+ used to do things like disconnect event handlers or clean up member state. You do not
823
+ need to remove strategies or policies here; the container will do that automatically.
824
+ </para>
825
+ <para>
826
+ The default implementation of this method does nothing.</para>
827
+ </remarks>
828
+ </member>
829
+ <member name="P:Microsoft.Practices.Unity.UnityContainerExtension.Container">
830
+ <summary>
831
+ The container this extension has been added to.
832
+ </summary>
833
+ <value>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> that this extension has been added to.</value>
834
+ </member>
835
+ <member name="P:Microsoft.Practices.Unity.UnityContainerExtension.Context">
836
+ <summary>
837
+ The <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> object used to manipulate
838
+ the inner state of the container.
839
+ </summary>
840
+ </member>
841
+ <member name="M:Microsoft.Practices.Unity.InjectedMembers.Initialize">
842
+ <summary>
843
+ Initial the container with this extension's functionality.
844
+ </summary>
845
+ <remarks>
846
+ When overridden in a derived class, this method will modify the given
847
+ <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> by adding strategies, policies, etc. to
848
+ install it's functions into the container.</remarks>
849
+ </member>
850
+ <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor``1(Microsoft.Practices.Unity.InjectionMember[])">
851
+ <summary>
852
+ API to configure the injection settings for a particular type.
853
+ </summary>
854
+ <typeparam name="TTypeToInject">Type the injection is being configured for.</typeparam>
855
+ <param name="injectionMembers">Objects containing the details on which members to inject and how.</param>
856
+ <returns>This extension object.</returns>
857
+ </member>
858
+ <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor``1(System.String,Microsoft.Practices.Unity.InjectionMember[])">
859
+ <summary>
860
+ API to configure the injection settings for a particular type/name pair.
861
+ </summary>
862
+ <typeparam name="TTypeToInject">Type the injection is being configured for.</typeparam>
863
+ <param name="name">Name of registration</param>
864
+ <param name="injectionMembers">Objects containing the details on which members to inject and how.</param>
865
+ <returns>This extension object.</returns>
866
+ </member>
867
+ <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor(System.Type,Microsoft.Practices.Unity.InjectionMember[])">
868
+ <summary>
869
+ API to configure the injection settings for a particular type.
870
+ </summary>
871
+ <param name="typeToInject">Type to configure.</param>
872
+ <param name="injectionMembers">Objects containing the details on which members to inject and how.</param>
873
+ <returns>This extension object.</returns>
874
+ </member>
875
+ <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor(System.Type,System.String,Microsoft.Practices.Unity.InjectionMember[])">
876
+ <summary>
877
+ API to configure the injection settings for a particular type/name pair.
878
+ </summary>
879
+ <param name="typeToInject">Type to configure.</param>
880
+ <param name="name">Name of registration.</param>
881
+ <param name="injectionMembers">Objects containing the details on which members to inject and how.</param>
882
+ <returns>This extension object.</returns>
883
+ </member>
884
+ <member name="M:Microsoft.Practices.Unity.InjectedMembers.ClearExistingBuildPlan(System.Type,System.String)">
885
+ <summary>
886
+ Remove policies associated with building this type. This removes the
887
+ compiled build plan so that it can be rebuilt with the new settings
888
+ the next time this type is resolved.
889
+ </summary>
890
+ <param name="typeToInject">Type of object to clear the plan for.</param>
891
+ <param name="name">Name the object is being registered with.</param>
892
+ </member>
893
+ <member name="T:Microsoft.Practices.Unity.RegisterEventArgs">
894
+ <summary>
895
+ Event argument class for the <see cref="E:Microsoft.Practices.Unity.ExtensionContext.Registering"/> event.
896
+ </summary>
897
+ </member>
898
+ <member name="T:Microsoft.Practices.Unity.NamedEventArgs">
899
+ <summary>
900
+ An EventArgs class that holds a string Name.
901
+ </summary>
902
+ </member>
903
+ <member name="M:Microsoft.Practices.Unity.NamedEventArgs.#ctor">
904
+ <summary>
905
+ Create a new <see cref="T:Microsoft.Practices.Unity.NamedEventArgs"/> with a null name.
906
+ </summary>
907
+ </member>
908
+ <member name="M:Microsoft.Practices.Unity.NamedEventArgs.#ctor(System.String)">
909
+ <summary>
910
+ Create a new <see cref="T:Microsoft.Practices.Unity.NamedEventArgs"/> with the given name.
911
+ </summary>
912
+ <param name="name">Name to store.</param>
913
+ </member>
914
+ <member name="P:Microsoft.Practices.Unity.NamedEventArgs.Name">
915
+ <summary>
916
+ The name.
917
+ </summary>
918
+ <value>Name used for this event arg object.</value>
919
+ </member>
920
+ <member name="M:Microsoft.Practices.Unity.RegisterEventArgs.#ctor(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager)">
921
+ <summary>
922
+ Create a new instance of <see cref="T:Microsoft.Practices.Unity.RegisterEventArgs"/>.
923
+ </summary>
924
+ <param name="typeFrom">Type to map from.</param>
925
+ <param name="typeTo">Type to map to.</param>
926
+ <param name="name">Name for the registration.</param>
927
+ <param name="lifetimeManager"><see cref="P:Microsoft.Practices.Unity.RegisterEventArgs.LifetimeManager"/> to manage instances.</param>
928
+ </member>
929
+ <member name="P:Microsoft.Practices.Unity.RegisterEventArgs.TypeFrom">
930
+ <summary>
931
+ Type to map from.
932
+ </summary>
933
+ </member>
934
+ <member name="P:Microsoft.Practices.Unity.RegisterEventArgs.TypeTo">
935
+ <summary>
936
+ Type to map to.
937
+ </summary>
938
+ </member>
939
+ <member name="P:Microsoft.Practices.Unity.RegisterEventArgs.LifetimeManager">
940
+ <summary>
941
+ <see cref="P:Microsoft.Practices.Unity.RegisterEventArgs.LifetimeManager"/> to manage instances.
942
+ </summary>
943
+ </member>
944
+ <member name="T:Microsoft.Practices.Unity.UnityContainerBase">
945
+ <summary>
946
+ A base class for implmenting <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> that provides
947
+ reasonable implementations for most of the overloads defined by the interface.
948
+ The overloads all call down to the non-generic versions of the methods with
949
+ the most parameters.
950
+ </summary>
951
+ </member>
952
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType``2">
953
+ <summary>
954
+ RegisterType a type mapping with the container.
955
+ </summary>
956
+ <remarks>
957
+ <para>
958
+ This method is used to tell the container that when asked for type <typeparamref name="TFrom"/>,
959
+ actually return an instance of type <typeparamref name="TTo"/>. This is very useful for
960
+ getting instances of interfaces.
961
+ </para>
962
+ <para>
963
+ This overload registers a default mapping.
964
+ </para>
965
+ </remarks>
966
+ <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam>
967
+ <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam>
968
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
969
+ </member>
970
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType``2(System.String)">
971
+ <summary>
972
+ RegisterType a type mapping with the container.
973
+ </summary>
974
+ <remarks>
975
+ This method is used to tell the container that when asked for type <typeparamref name="TFrom"/>,
976
+ actually return an instance of type <typeparamref name="TTo"/>. This is very useful for
977
+ getting instances of interfaces.
978
+ </remarks>
979
+ <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam>
980
+ <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam>
981
+ <param name="name"></param>
982
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
983
+ </member>
984
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType``2(Microsoft.Practices.Unity.LifetimeManager)">
985
+ <summary>
986
+ RegisterType a type mapping with the container, where the created instances will use
987
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
988
+ </summary>
989
+ <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam>
990
+ <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam>
991
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
992
+ of the returned instance.</param>
993
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
994
+ </member>
995
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType``2(System.String,Microsoft.Practices.Unity.LifetimeManager)">
996
+ <summary>
997
+ RegisterType a type mapping with the container, where the created instances will use
998
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
999
+ </summary>
1000
+ <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam>
1001
+ <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam>
1002
+ <param name="name">Name to use for registration, null if a default registration.</param>
1003
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
1004
+ of the returned instance.</param>
1005
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1006
+ </member>
1007
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType``1(Microsoft.Practices.Unity.LifetimeManager)">
1008
+ <summary>
1009
+ RegisterType a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type with the container.
1010
+ No type mapping is performed for this type.
1011
+ </summary>
1012
+ <typeparam name="T">The type to apply the <paramref name="lifetimeManager"/> to.</typeparam>
1013
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
1014
+ of the returned instance.</param>
1015
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1016
+ </member>
1017
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType``1(System.String,Microsoft.Practices.Unity.LifetimeManager)">
1018
+ <summary>
1019
+ RegisterType a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container.
1020
+ No type mapping is performed for this type.
1021
+ </summary>
1022
+ <typeparam name="T">The type to apply the <paramref name="lifetimeManager"/> to.</typeparam>
1023
+ <param name="name">Name that will be used to request the type.</param>
1024
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
1025
+ of the returned instance.</param>
1026
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1027
+ </member>
1028
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType(System.Type,System.Type)">
1029
+ <summary>
1030
+ RegisterType a type mapping with the container.
1031
+ </summary>
1032
+ <remarks>
1033
+ <para>
1034
+ This method is used to tell the container that when asked for type <paramref name="from"/>,
1035
+ actually return an instance of type <paramref name="to"/>. This is very useful for
1036
+ getting instances of interfaces.
1037
+ </para>
1038
+ <para>
1039
+ This overload registers a default mapping.
1040
+ </para>
1041
+ </remarks>
1042
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
1043
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
1044
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1045
+ </member>
1046
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType(System.Type,System.Type,Microsoft.Practices.Unity.LifetimeManager)">
1047
+ <summary>
1048
+ RegisterType a type mapping with the container, where the created instances will use
1049
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
1050
+ </summary>
1051
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
1052
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
1053
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
1054
+ of the returned instance.</param>
1055
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1056
+ </member>
1057
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType(System.Type,Microsoft.Practices.Unity.LifetimeManager)">
1058
+ <summary>
1059
+ RegisterType a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container.
1060
+ No type mapping is performed for this type.
1061
+ </summary>
1062
+ <param name="t">The <see cref="T:System.Type"/> to apply the <paramref name="lifetimeManager"/> to.</param>
1063
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
1064
+ of the returned instance.</param>
1065
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1066
+ </member>
1067
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType(System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager)">
1068
+ <summary>
1069
+ RegisterType a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container.
1070
+ No type mapping is performed for this type.
1071
+ </summary>
1072
+ <param name="t">The <see cref="T:System.Type"/> to apply the <paramref name="lifetimeManager"/> to.</param>
1073
+ <param name="name">Name to use for registration, null if a default registration.</param>
1074
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
1075
+ of the returned instance.</param>
1076
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1077
+ </member>
1078
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType(System.Type,System.Type,System.String)">
1079
+ <summary>
1080
+ RegisterType a type mapping with the container.
1081
+ </summary>
1082
+ <remarks>
1083
+ This method is used to tell the container that when asked for type <paramref name="from"/>,
1084
+ actually return an instance of type <paramref name="to"/>. This is very useful for
1085
+ getting instances of interfaces.
1086
+ </remarks>
1087
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
1088
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
1089
+ <param name="name">Name to use for registration, null if a default registration.</param>
1090
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1091
+ </member>
1092
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager)">
1093
+ <summary>
1094
+ RegisterType a type mapping with the container, where the created instances will use
1095
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
1096
+ </summary>
1097
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
1098
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
1099
+ <param name="name">Name to use for registration, null if a default registration.</param>
1100
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
1101
+ of the returned instance.</param>
1102
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1103
+ </member>
1104
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterInstance``1(``0)">
1105
+ <summary>
1106
+ RegisterType an instance with the container.
1107
+ </summary>
1108
+ <remarks>
1109
+ <para>
1110
+ Instance registration is much like setting a type as a singleton, except that instead
1111
+ of the container creating the instance the first time it is requested, the user
1112
+ creates the instance ahead of type and adds that instance to the container.
1113
+ </para>
1114
+ <para>
1115
+ This overload does a default registration and has the container take over the lifetime of the instance.</para>
1116
+ </remarks>
1117
+ <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam>
1118
+ <param name="instance">Object to returned.</param>
1119
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1120
+ </member>
1121
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterInstance``1(``0,Microsoft.Practices.Unity.LifetimeManager)">
1122
+ <summary>
1123
+ RegisterType an instance with the container.
1124
+ </summary>
1125
+ <remarks>
1126
+ <para>
1127
+ Instance registration is much like setting a type as a singleton, except that instead
1128
+ of the container creating the instance the first time it is requested, the user
1129
+ creates the instance ahead of type and adds that instance to the container.
1130
+ </para>
1131
+ <para>
1132
+ This overload does a default registration (name = null).
1133
+ </para>
1134
+ </remarks>
1135
+ <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam>
1136
+ <param name="instance">Object to returned.</param>
1137
+ <param name="lifetimeManager">
1138
+ <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param>
1139
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1140
+ </member>
1141
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterInstance``1(System.String,``0)">
1142
+ <summary>
1143
+ RegisterType an instance with the container.
1144
+ </summary>
1145
+ <remarks>
1146
+ <para>
1147
+ Instance registration is much like setting a type as a singleton, except that instead
1148
+ of the container creating the instance the first time it is requested, the user
1149
+ creates the instance ahead of type and adds that instance to the container.
1150
+ </para>
1151
+ <para>
1152
+ This overload automatically has the container take ownership of the <paramref name="instance"/>.</para>
1153
+ </remarks>
1154
+ <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam>
1155
+ <param name="instance">Object to returned.</param>
1156
+ <param name="name">Name for registration.</param>
1157
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1158
+ </member>
1159
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterInstance``1(System.String,``0,Microsoft.Practices.Unity.LifetimeManager)">
1160
+ <summary>
1161
+ RegisterType an instance with the container.
1162
+ </summary>
1163
+ <remarks>
1164
+ <para>
1165
+ Instance registration is much like setting a type as a singleton, except that instead
1166
+ of the container creating the instance the first time it is requested, the user
1167
+ creates the instance ahead of type and adds that instance to the container.
1168
+ </para>
1169
+ </remarks>
1170
+ <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam>
1171
+ <param name="instance">Object to returned.</param>
1172
+ <param name="name">Name for registration.</param>
1173
+ <param name="lifetimeManager">
1174
+ <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param>
1175
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1176
+ </member>
1177
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterInstance(System.Type,System.Object)">
1178
+ <summary>
1179
+ RegisterType an instance with the container.
1180
+ </summary>
1181
+ <remarks>
1182
+ <para>
1183
+ Instance registration is much like setting a type as a singleton, except that instead
1184
+ of the container creating the instance the first time it is requested, the user
1185
+ creates the instance ahead of type and adds that instance to the container.
1186
+ </para>
1187
+ <para>
1188
+ This overload does a default registration and has the container take over the lifetime of the instance.</para>
1189
+ </remarks>
1190
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
1191
+ <param name="instance">Object to returned.</param>
1192
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1193
+ </member>
1194
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterInstance(System.Type,System.Object,Microsoft.Practices.Unity.LifetimeManager)">
1195
+ <summary>
1196
+ RegisterType an instance with the container.
1197
+ </summary>
1198
+ <remarks>
1199
+ <para>
1200
+ Instance registration is much like setting a type as a singleton, except that instead
1201
+ of the container creating the instance the first time it is requested, the user
1202
+ creates the instance ahead of type and adds that instance to the container.
1203
+ </para>
1204
+ <para>
1205
+ This overload does a default registration (name = null).
1206
+ </para>
1207
+ </remarks>
1208
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
1209
+ <param name="instance">Object to returned.</param>
1210
+ <param name="lifetimeManager">
1211
+ <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param>
1212
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1213
+ </member>
1214
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterInstance(System.Type,System.String,System.Object)">
1215
+ <summary>
1216
+ RegisterType an instance with the container.
1217
+ </summary>
1218
+ <remarks>
1219
+ <para>
1220
+ Instance registration is much like setting a type as a singleton, except that instead
1221
+ of the container creating the instance the first time it is requested, the user
1222
+ creates the instance ahead of type and adds that instance to the container.
1223
+ </para>
1224
+ <para>
1225
+ This overload automatically has the container take ownership of the <paramref name="instance"/>.</para>
1226
+ </remarks>
1227
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
1228
+ <param name="instance">Object to returned.</param>
1229
+ <param name="name">Name for registration.</param>
1230
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1231
+ </member>
1232
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RegisterInstance(System.Type,System.String,System.Object,Microsoft.Practices.Unity.LifetimeManager)">
1233
+ <summary>
1234
+ RegisterType an instance with the container.
1235
+ </summary>
1236
+ <remarks>
1237
+ <para>
1238
+ Instance registration is much like setting a type as a singleton, except that instead
1239
+ of the container creating the instance the first time it is requested, the user
1240
+ creates the instance ahead of type and adds that instance to the container.
1241
+ </para>
1242
+ </remarks>
1243
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
1244
+ <param name="instance">Object to returned.</param>
1245
+ <param name="name">Name for registration.</param>
1246
+ <param name="lifetime">
1247
+ <para>If true, the container will take over the lifetime of the instance,
1248
+ calling Dispose on it (if it's <see cref="T:System.IDisposable"/>) when the container is Disposed.</para>
1249
+ <para>
1250
+ If false, container will not maintain a strong reference to <paramref name="instance"/>. User is reponsible
1251
+ for disposing instance, and for keeping the instance from being garbage collected.</para></param>
1252
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1253
+ </member>
1254
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.Resolve``1">
1255
+ <summary>
1256
+ Get an instance of the default requested type from the container.
1257
+ </summary>
1258
+ <typeparam name="T"><see cref="T:System.Type"/> of object to get from the container.</typeparam>
1259
+ <returns>The retrieved object.</returns>
1260
+ </member>
1261
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.Resolve``1(System.String)">
1262
+ <summary>
1263
+ Get an instance of the requested type with the given name from the container.
1264
+ </summary>
1265
+ <typeparam name="T"><see cref="T:System.Type"/> of object to get from the container.</typeparam>
1266
+ <param name="name">Name of the object to retrieve.</param>
1267
+ <returns>The retrieved object.</returns>
1268
+ </member>
1269
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.Resolve(System.Type)">
1270
+ <summary>
1271
+ Get an instance of the default requested type from the container.
1272
+ </summary>
1273
+ <param name="t"><see cref="T:System.Type"/> of object to get from the container.</param>
1274
+ <returns>The retrieved object.</returns>
1275
+ </member>
1276
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.Resolve(System.Type,System.String)">
1277
+ <summary>
1278
+ Get an instance of the requested type with the given name from the container.
1279
+ </summary>
1280
+ <param name="t"><see cref="T:System.Type"/> of object to get from the container.</param>
1281
+ <param name="name">Name of the object to retrieve.</param>
1282
+ <returns>The retrieved object.</returns>
1283
+ </member>
1284
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.ResolveAll``1">
1285
+ <summary>
1286
+ Return instances of all registered types requested.
1287
+ </summary>
1288
+ <remarks>
1289
+ <para>
1290
+ This method is useful if you've registered multiple types with the same
1291
+ <see cref="T:System.Type"/> but different names.
1292
+ </para>
1293
+ <para>
1294
+ Be aware that this method does NOT return an instance for the default (unnamed) registration.
1295
+ </para>
1296
+ </remarks>
1297
+ <typeparam name="T">The type requested.</typeparam>
1298
+ <returns>Set of objects of type <typeparamref name="T"/>.</returns>
1299
+ </member>
1300
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.ResolveAll(System.Type)">
1301
+ <summary>
1302
+ Return instances of all registered types requested.
1303
+ </summary>
1304
+ <remarks>
1305
+ <para>
1306
+ This method is useful if you've registered multiple types with the same
1307
+ <see cref="T:System.Type"/> but different names.
1308
+ </para>
1309
+ <para>
1310
+ Be aware that this method does NOT return an instance for the default (unnamed) registration.
1311
+ </para>
1312
+ </remarks>
1313
+ <param name="t">The type requested.</param>
1314
+ <returns>Set of objects of type <paramref name="t"/>.</returns>
1315
+ </member>
1316
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.BuildUp``1(``0)">
1317
+ <summary>
1318
+ Run an existing object through the container and perform injection on it.
1319
+ </summary>
1320
+ <remarks>
1321
+ <para>
1322
+ This method is useful when you don't control the construction of an
1323
+ instance (ASP.NET pages or objects created via XAML, for instance)
1324
+ but you still want properties and other injection performed.
1325
+ </para>
1326
+ <para>
1327
+ This overload uses the default registrations.
1328
+ </para>
1329
+ </remarks>
1330
+ <typeparam name="T"><see cref="T:System.Type"/> of object to perform injection on.</typeparam>
1331
+ <param name="existing">Instance to build up.</param>
1332
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
1333
+ container extensions may add things like automatic proxy creation which would
1334
+ cause this to return a different object (but still type compatible with <typeparamref name="T"/>).</returns>
1335
+ </member>
1336
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.BuildUp``1(``0,System.String)">
1337
+ <summary>
1338
+ Run an existing object through the container and perform injection on it.
1339
+ </summary>
1340
+ <remarks>
1341
+ <para>
1342
+ This method is useful when you don't control the construction of an
1343
+ instance (ASP.NET pages or objects created via XAML, for instance)
1344
+ but you still want properties and other injection performed.
1345
+ </para></remarks>
1346
+ <typeparam name="T"><see cref="T:System.Type"/> of object to perform injection on.</typeparam>
1347
+ <param name="existing">Instance to build up.</param>
1348
+ <param name="name">name to use when looking up the typemappings and other configurations.</param>
1349
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
1350
+ container extensions may add things like automatic proxy creation which would
1351
+ cause this to return a different object (but still type compatible with <typeparamref name="T"/>).</returns>
1352
+ </member>
1353
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.BuildUp(System.Type,System.Object)">
1354
+ <summary>
1355
+ Run an existing object through the container and perform injection on it.
1356
+ </summary>
1357
+ <remarks>
1358
+ <para>
1359
+ This method is useful when you don't control the construction of an
1360
+ instance (ASP.NET pages or objects created via XAML, for instance)
1361
+ but you still want properties and other injection performed.
1362
+ </para>
1363
+ <para>
1364
+ This overload uses the default registrations.
1365
+ </para>
1366
+ </remarks>
1367
+ <param name="t"><see cref="T:System.Type"/> of object to perform injection on.</param>
1368
+ <param name="existing">Instance to build up.</param>
1369
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
1370
+ container extensions may add things like automatic proxy creation which would
1371
+ cause this to return a different object (but still type compatible with <paramref name="t"/>).</returns>
1372
+ </member>
1373
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.BuildUp(System.Type,System.Object,System.String)">
1374
+ <summary>
1375
+ Run an existing object through the container and perform injection on it.
1376
+ </summary>
1377
+ <remarks>
1378
+ <para>
1379
+ This method is useful when you don't control the construction of an
1380
+ instance (ASP.NET pages or objects created via XAML, for instance)
1381
+ but you still want properties and other injection performed.
1382
+ </para></remarks>
1383
+ <param name="t"><see cref="T:System.Type"/> of object to perform injection on.</param>
1384
+ <param name="existing">Instance to build up.</param>
1385
+ <param name="name">name to use when looking up the typemappings and other configurations.</param>
1386
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
1387
+ container extensions may add things like automatic proxy creation which would
1388
+ cause this to return a different object (but still type compatible with <paramref name="t"/>).</returns>
1389
+ </member>
1390
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.Teardown(System.Object)">
1391
+ <summary>
1392
+ Run an existing object through the container, and clean it up.
1393
+ </summary>
1394
+ <param name="o">The object to tear down.</param>
1395
+ </member>
1396
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.AddExtension(Microsoft.Practices.Unity.UnityContainerExtension)">
1397
+ <summary>
1398
+ Add an extension object to the container.
1399
+ </summary>
1400
+ <param name="extension"><see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> to add.</param>
1401
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1402
+ </member>
1403
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.AddNewExtension``1">
1404
+ <summary>
1405
+ Creates a new extension object and adds it to the container.
1406
+ </summary>
1407
+ <typeparam name="TExtension">Type of <see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> to add. The extension type
1408
+ must have a zero-argument public constructor.</typeparam>
1409
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1410
+ </member>
1411
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.Configure``1">
1412
+ <summary>
1413
+ Get access to a configuration interface exposed by an extension.
1414
+ </summary>
1415
+ <remarks>Extensions can expose configuration interfaces as well as adding
1416
+ strategies and policies to the container. This method walks the list of
1417
+ added extensions and returns the first one that implements the requested type.
1418
+ </remarks>
1419
+ <typeparam name="TConfigurator">The configuration interface required.</typeparam>
1420
+ <returns>The requested extension's configuration interface, or null if not found.</returns>
1421
+ </member>
1422
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.Configure(System.Type)">
1423
+ <summary>
1424
+ Get access to a configuration interface exposed by an extension.
1425
+ </summary>
1426
+ <remarks>Extensions can expose configuration interfaces as well as adding
1427
+ strategies and policies to the container. This method walks the list of
1428
+ added extensions and returns the first one that implements the requested type.
1429
+ </remarks>
1430
+ <param name="configurationInterface"><see cref="T:System.Type"/> of configuration interface required.</param>
1431
+ <returns>The requested extension's configuration interface, or null if not found.</returns>
1432
+ </member>
1433
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.RemoveAllExtensions">
1434
+ <summary>
1435
+ Remove all installed extensions from this container.
1436
+ </summary>
1437
+ <remarks>
1438
+ <para>
1439
+ This method removes all extensions from the container, including the default ones
1440
+ that implement the out-of-the-box behavior. After this method, if you want to use
1441
+ the container again you will need to either readd the default extensions or replace
1442
+ them with your own.
1443
+ </para>
1444
+ <para>
1445
+ The registered instances and singletons that have already been set up in this container
1446
+ do not get removed.
1447
+ </para>
1448
+ </remarks>
1449
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1450
+ </member>
1451
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.CreateChildContainer">
1452
+ <summary>
1453
+ Create a child container.
1454
+ </summary>
1455
+ <remarks>
1456
+ A child container shares the parent's configuration, but can be configured with different
1457
+ settings or lifetime.</remarks>
1458
+ <returns>The new child container.</returns>
1459
+ </member>
1460
+ <member name="M:Microsoft.Practices.Unity.UnityContainerBase.Dispose">
1461
+ <summary>
1462
+ Dispose this container instance.
1463
+ </summary>
1464
+ <remarks>
1465
+ Disposing the container also disposes any child containers,
1466
+ and disposes any instances whose lifetimes are managed
1467
+ by the container.
1468
+ </remarks>
1469
+ </member>
1470
+ <member name="P:Microsoft.Practices.Unity.UnityContainerBase.Parent">
1471
+ <summary>
1472
+ The parent of this container.
1473
+ </summary>
1474
+ <value>The parent container, or null if this container doesn't have one.</value>
1475
+ </member>
1476
+ <member name="T:Microsoft.Practices.Unity.ResolvedParameter">
1477
+ <summary>
1478
+ A class that stores a name and type, and generates a
1479
+ resolver object that resolves the parameter via the
1480
+ container.
1481
+ </summary>
1482
+ </member>
1483
+ <member name="T:Microsoft.Practices.Unity.InjectionParameterValue">
1484
+ <summary>
1485
+ Base type for objects that are used to configure parameters for
1486
+ constructor or method injection, or for getting the value to
1487
+ be injected into a property.
1488
+ </summary>
1489
+ </member>
1490
+ <member name="M:Microsoft.Practices.Unity.InjectionParameterValue.GetResolverPolicy">
1491
+ <summary>
1492
+ Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will
1493
+ return this types value for the parameter.
1494
+ </summary>
1495
+ <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns>
1496
+ </member>
1497
+ <member name="M:Microsoft.Practices.Unity.InjectionParameterValue.ToParameters(System.Object[])">
1498
+ <summary>
1499
+ Convert the given set of arbitrary values to a sequence of InjectionParameterValue
1500
+ objects. The rules are: If it's already an InjectionParameterValue, return it. If
1501
+ it's a Type, return a ResolvedParameter object for that type. Otherwise return
1502
+ an InjectionParameter object for that value.
1503
+ </summary>
1504
+ <param name="values">The values to build the sequence from.</param>
1505
+ <returns>The resulting converted sequence.</returns>
1506
+ </member>
1507
+ <member name="M:Microsoft.Practices.Unity.InjectionParameterValue.ToParameter(System.Object)">
1508
+ <summary>
1509
+ Convert an arbitrary value to an InjectionParameterValue object. The rules are:
1510
+ If it's already an InjectionParameterValue, return it. If it's a Type, return a
1511
+ ResolvedParameter object for that type. Otherwise return an InjectionParameter
1512
+ object for that value.
1513
+ </summary>
1514
+ <param name="value">The value to convert.</param>
1515
+ <returns>The resulting <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/>.</returns>
1516
+ </member>
1517
+ <member name="P:Microsoft.Practices.Unity.InjectionParameterValue.ParameterType">
1518
+ <summary>
1519
+ The type of parameter this object represents.
1520
+ </summary>
1521
+ </member>
1522
+ <member name="M:Microsoft.Practices.Unity.ResolvedParameter.#ctor(System.Type)">
1523
+ <summary>
1524
+ Construct a new <see cref="T:Microsoft.Practices.Unity.ResolvedParameter"/> that
1525
+ resolves to the given type.
1526
+ </summary>
1527
+ <param name="parameterType">Type of this parameter.</param>
1528
+ </member>
1529
+ <member name="M:Microsoft.Practices.Unity.ResolvedParameter.#ctor(System.Type,System.String)">
1530
+ <summary>
1531
+ Construct a new <see cref="T:Microsoft.Practices.Unity.ResolvedParameter"/> that
1532
+ resolves the given type and name.
1533
+ </summary>
1534
+ <param name="parameterType">Type of this parameter.</param>
1535
+ <param name="name">Name to use when resolving parameter.</param>
1536
+ </member>
1537
+ <member name="M:Microsoft.Practices.Unity.ResolvedParameter.GetResolverPolicy">
1538
+ <summary>
1539
+ Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will
1540
+ return this types value for the parameter.
1541
+ </summary>
1542
+ <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns>
1543
+ </member>
1544
+ <member name="P:Microsoft.Practices.Unity.ResolvedParameter.ParameterType">
1545
+ <summary>
1546
+ The type of parameter this object represents.
1547
+ </summary>
1548
+ </member>
1549
+ <member name="T:Microsoft.Practices.Unity.ResolvedParameter`1">
1550
+ <summary>
1551
+ A generic version of <see cref="T:Microsoft.Practices.Unity.ResolvedParameter"/> for convenience
1552
+ when creating them by hand.
1553
+ </summary>
1554
+ <typeparam name="TParameter">Type of the parameter</typeparam>
1555
+ </member>
1556
+ <member name="M:Microsoft.Practices.Unity.ResolvedParameter`1.#ctor">
1557
+ <summary>
1558
+ Create a new <see cref="T:Microsoft.Practices.Unity.ResolvedParameter"/> for the given
1559
+ generic type and the default name.
1560
+ </summary>
1561
+ </member>
1562
+ <member name="M:Microsoft.Practices.Unity.ResolvedParameter`1.#ctor(System.String)">
1563
+ <summary>
1564
+ Create a new <see cref="T:Microsoft.Practices.Unity.ResolvedParameter"/> for the given
1565
+ type and name.
1566
+ </summary>
1567
+ <param name="name">Name to use to resolve this parameter.</param>
1568
+ </member>
1569
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMethodsSelectorPolicy">
1570
+ <summary>
1571
+ A <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/> implementation that calls the specific
1572
+ methods with the given parameters.
1573
+ </summary>
1574
+ </member>
1575
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMethodsSelectorPolicy.AddMethodAndParameters(System.Reflection.MethodInfo,System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.InjectionParameterValue})">
1576
+ <summary>
1577
+ Add the given method and parameter collection to the list of methods
1578
+ that will be returned when the selector's <see cref="M:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"/>
1579
+ method is called.
1580
+ </summary>
1581
+ <param name="method">Method to call.</param>
1582
+ <param name="parameters">sequence of <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects
1583
+ that describe how to create the method parameter values.</param>
1584
+ </member>
1585
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMethodsSelectorPolicy.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
1586
+ <summary>
1587
+ Return the sequence of methods to call while building the target object.
1588
+ </summary>
1589
+ <param name="context">Current build context.</param>
1590
+ <returns>Sequence of methods to call.</returns>
1591
+ </member>
1592
+ <member name="T:Microsoft.Practices.Unity.UnityDefaultBehaviorExtension">
1593
+ <summary>
1594
+ This extension supplies the default behavior of the UnityContainer API
1595
+ by handling the context events and setting policies.
1596
+ </summary>
1597
+ </member>
1598
+ <member name="M:Microsoft.Practices.Unity.UnityDefaultBehaviorExtension.Initialize">
1599
+ <summary>
1600
+ Install the default container behavior into the container.
1601
+ </summary>
1602
+ </member>
1603
+ <member name="M:Microsoft.Practices.Unity.UnityDefaultBehaviorExtension.Remove">
1604
+ <summary>
1605
+ Remove the default behavior from the container.
1606
+ </summary>
1607
+ </member>
1608
+ <member name="T:Microsoft.Practices.Unity.UnityContainer">
1609
+ <summary>
1610
+ A simple, extensible dependency injection container.
1611
+ </summary>
1612
+ </member>
1613
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.#ctor">
1614
+ <summary>
1615
+ Create a default <see cref="T:Microsoft.Practices.Unity.UnityContainer"/>.
1616
+ </summary>
1617
+ </member>
1618
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.#ctor(Microsoft.Practices.Unity.UnityContainer)">
1619
+ <summary>
1620
+ Create a <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> with the given parent container.
1621
+ </summary>
1622
+ <param name="parent">The parent <see cref="T:Microsoft.Practices.Unity.UnityContainer"/>. The current object
1623
+ will apply its own settings first, and then check the parent for additional ones.</param>
1624
+ </member>
1625
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager)">
1626
+ <summary>
1627
+ RegisterType a type mapping with the container, where the created instances will use
1628
+ the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>.
1629
+ </summary>
1630
+ <param name="from"><see cref="T:System.Type"/> that will be requested.</param>
1631
+ <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param>
1632
+ <param name="name">Name to use for registration, null if a default registration.</param>
1633
+ <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime
1634
+ of the returned instance.</param>
1635
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1636
+ </member>
1637
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.RegisterInstance(System.Type,System.String,System.Object,Microsoft.Practices.Unity.LifetimeManager)">
1638
+ <summary>
1639
+ RegisterType an instance with the container.
1640
+ </summary>
1641
+ <remarks>
1642
+ <para>
1643
+ Instance registration is much like setting a type as a singleton, except that instead
1644
+ of the container creating the instance the first time it is requested, the user
1645
+ creates the instance ahead of type and adds that instance to the container.
1646
+ </para>
1647
+ </remarks>
1648
+ <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param>
1649
+ <param name="instance">Object to returned.</param>
1650
+ <param name="name">Name for registration.</param>
1651
+ <param name="lifetime">
1652
+ <para>If true, the container will take over the lifetime of the instance,
1653
+ calling Dispose on it (if it's <see cref="T:System.IDisposable"/>) when the container is Disposed.</para>
1654
+ <para>
1655
+ If false, container will not maintain a strong reference to <paramref name="instance"/>. User is reponsible
1656
+ for disposing instance, and for keeping the instance from being garbage collected.</para></param>
1657
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1658
+ </member>
1659
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.Resolve(System.Type,System.String)">
1660
+ <summary>
1661
+ Get an instance of the requested type with the given name from the container.
1662
+ </summary>
1663
+ <param name="t"><see cref="T:System.Type"/> of object to get from the container.</param>
1664
+ <param name="name">Name of the object to retrieve.</param>
1665
+ <returns>The retrieved object.</returns>
1666
+ </member>
1667
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.ResolveAll(System.Type)">
1668
+ <summary>
1669
+ Return instances of all registered types requested.
1670
+ </summary>
1671
+ <remarks>
1672
+ <para>
1673
+ This method is useful if you've registered multiple types with the same
1674
+ <see cref="T:System.Type"/> but different names.
1675
+ </para>
1676
+ <para>
1677
+ Be aware that this method does NOT return an instance for the default (unnamed) registration.
1678
+ </para>
1679
+ </remarks>
1680
+ <param name="t">The type requested.</param>
1681
+ <returns>Set of objects of type <paramref name="t"/>.</returns>
1682
+ </member>
1683
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.BuildUp(System.Type,System.Object,System.String)">
1684
+ <summary>
1685
+ Run an existing object through the container and perform injection on it.
1686
+ </summary>
1687
+ <remarks>
1688
+ <para>
1689
+ This method is useful when you don't control the construction of an
1690
+ instance (ASP.NET pages or objects created via XAML, for instance)
1691
+ but you still want properties and other injection performed.
1692
+ </para></remarks>
1693
+ <param name="t"><see cref="T:System.Type"/> of object to perform injection on.</param>
1694
+ <param name="existing">Instance to build up.</param>
1695
+ <param name="name">name to use when looking up the typemappings and other configurations.</param>
1696
+ <returns>The resulting object. By default, this will be <paramref name="existing"/>, but
1697
+ container extensions may add things like automatic proxy creation which would
1698
+ cause this to return a different object (but still type compatible with <paramref name="t"/>).</returns>
1699
+ </member>
1700
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.Teardown(System.Object)">
1701
+ <summary>
1702
+ Run an existing object through the container, and clean it up.
1703
+ </summary>
1704
+ <param name="o">The object to tear down.</param>
1705
+ </member>
1706
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.AddExtension(Microsoft.Practices.Unity.UnityContainerExtension)">
1707
+ <summary>
1708
+ Add an extension object to the container.
1709
+ </summary>
1710
+ <param name="extension"><see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> to add.</param>
1711
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1712
+ </member>
1713
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.Configure(System.Type)">
1714
+ <summary>
1715
+ Get access to a configuration interface exposed by an extension.
1716
+ </summary>
1717
+ <remarks>Extensions can expose configuration interfaces as well as adding
1718
+ strategies and policies to the container. This method walks the list of
1719
+ added extensions and returns the first one that implements the requested type.
1720
+ </remarks>
1721
+ <param name="configurationInterface"><see cref="T:System.Type"/> of configuration interface required.</param>
1722
+ <returns>The requested extension's configuration interface, or null if not found.</returns>
1723
+ </member>
1724
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.RemoveAllExtensions">
1725
+ <summary>
1726
+ Remove all installed extensions from this container.
1727
+ </summary>
1728
+ <remarks>
1729
+ <para>
1730
+ This method removes all extensions from the container, including the default ones
1731
+ that implement the out-of-the-box behavior. After this method, if you want to use
1732
+ the container again you will need to either readd the default extensions or replace
1733
+ them with your own.
1734
+ </para>
1735
+ <para>
1736
+ The registered instances and singletons that have already been set up in this container
1737
+ do not get removed.
1738
+ </para>
1739
+ </remarks>
1740
+ <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns>
1741
+ </member>
1742
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.CreateChildContainer">
1743
+ <summary>
1744
+ Create a child container.
1745
+ </summary>
1746
+ <remarks>
1747
+ A child container shares the parent's configuration, but can be configured with different
1748
+ settings or lifetime.</remarks>
1749
+ <returns>The new child container.</returns>
1750
+ </member>
1751
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.Dispose">
1752
+ <summary>
1753
+ Dispose this container instance.
1754
+ </summary>
1755
+ <remarks>
1756
+ Disposing the container also disposes any child containers,
1757
+ and disposes any instances whose lifetimes are managed
1758
+ by the container.
1759
+ </remarks>
1760
+ </member>
1761
+ <member name="M:Microsoft.Practices.Unity.UnityContainer.Dispose(System.Boolean)">
1762
+ <summary>
1763
+ Dispose this container instance.
1764
+ </summary>
1765
+ <remarks>
1766
+ This class doesn't have a finalizer, so <paramref name="disposing"/> will always be true.</remarks>
1767
+ <param name="disposing">True if being called from the IDisposable.Dispose
1768
+ method, false if being called from a finalizer.</param>
1769
+ </member>
1770
+ <member name="P:Microsoft.Practices.Unity.UnityContainer.Parent">
1771
+ <summary>
1772
+ The parent of this container.
1773
+ </summary>
1774
+ <value>The parent container, or null if this container doesn't have one.</value>
1775
+ </member>
1776
+ <member name="T:Microsoft.Practices.Unity.UnityContainer.ExtensionContextImpl">
1777
+ <summary>
1778
+ Implementation of the ExtensionContext that is actually used
1779
+ by the UnityContainer implementation.
1780
+ </summary>
1781
+ <remarks>
1782
+ This is a nested class so that it can access state in the
1783
+ container that would otherwise be inaccessible.
1784
+ </remarks>
1785
+ </member>
1786
+ <member name="T:Microsoft.Practices.Unity.ExtensionContext">
1787
+ <summary>
1788
+ The <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> class provides the means for extension objects
1789
+ to manipulate the internal state of the <see cref="T:Microsoft.Practices.Unity.UnityContainer"/>.
1790
+ </summary>
1791
+ </member>
1792
+ <member name="M:Microsoft.Practices.Unity.ExtensionContext.RegisterNamedType(System.Type,System.String)">
1793
+ <summary>
1794
+ Store a type/name pair for later resolution.
1795
+ </summary>
1796
+ <remarks>
1797
+ <para>
1798
+ When users register type mappings (or other things) with a named key, this method
1799
+ allows you to register that name with the container so that when the <see cref="M:Microsoft.Practices.Unity.IUnityContainer.ResolveAll``1"/>
1800
+ method is called, that name is included in the list that is returned.
1801
+ </para></remarks>
1802
+ <param name="t"><see cref="T:System.Type"/> to register.</param>
1803
+ <param name="name">Name assocated with that type.</param>
1804
+ </member>
1805
+ <member name="P:Microsoft.Practices.Unity.ExtensionContext.Container">
1806
+ <summary>
1807
+ The container that this context is associated with.
1808
+ </summary>
1809
+ <value>The <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> object.</value>
1810
+ </member>
1811
+ <member name="P:Microsoft.Practices.Unity.ExtensionContext.Strategies">
1812
+ <summary>
1813
+ The strategies this container uses.
1814
+ </summary>
1815
+ <value>The <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> that the container uses to build objects.</value>
1816
+ </member>
1817
+ <member name="P:Microsoft.Practices.Unity.ExtensionContext.BuildPlanStrategies">
1818
+ <summary>
1819
+ The strategies this container uses to construct build plans.
1820
+ </summary>
1821
+ <value>The <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> that this container uses when creating
1822
+ build plans.</value>
1823
+ </member>
1824
+ <member name="P:Microsoft.Practices.Unity.ExtensionContext.Policies">
1825
+ <summary>
1826
+ The policies this container uses.
1827
+ </summary>
1828
+ <remarks>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> the that container uses to build objects.</remarks>
1829
+ </member>
1830
+ <member name="P:Microsoft.Practices.Unity.ExtensionContext.Locator">
1831
+ <summary>
1832
+ The <see cref="T:Microsoft.Practices.ObjectBuilder2.IReadWriteLocator"/> that this container uses.
1833
+ </summary>
1834
+ <value>The Locator is an object that is used to store information to be found later during the build process.</value>
1835
+ </member>
1836
+ <member name="P:Microsoft.Practices.Unity.ExtensionContext.Lifetime">
1837
+ <summary>
1838
+ The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> that this container uses.
1839
+ </summary>
1840
+ <value>The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> is used to manage <see cref="T:System.IDisposable"/> objects that the container is managing.</value>
1841
+ </member>
1842
+ <member name="E:Microsoft.Practices.Unity.ExtensionContext.Registering">
1843
+ <summary>
1844
+ This event is raised when the <see cref="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager)"/> method,
1845
+ or one of its overloads, is called.
1846
+ </summary>
1847
+ </member>
1848
+ <member name="E:Microsoft.Practices.Unity.ExtensionContext.RegisteringInstance">
1849
+ <summary>
1850
+ This event is raised when the <see cref="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance(System.Type,System.String,System.Object,Microsoft.Practices.Unity.LifetimeManager)"/> method,
1851
+ or one of its overloads, is called.
1852
+ </summary>
1853
+ </member>
1854
+ <member name="E:Microsoft.Practices.Unity.UnityContainer.ExtensionContextImpl.RegisteringInstance">
1855
+ <summary>
1856
+ This event is raised when the <see cref="M:Microsoft.Practices.Unity.UnityContainer.RegisterInstance(System.Type,System.String,System.Object,Microsoft.Practices.Unity.LifetimeManager)"/> method,
1857
+ or one of its overloads, is called.
1858
+ </summary>
1859
+ </member>
1860
+ <member name="T:Microsoft.Practices.Unity.RegisterInstanceEventArgs">
1861
+ <summary>
1862
+ Event argument class for the <see cref="E:Microsoft.Practices.Unity.ExtensionContext.RegisteringInstance"/> event.
1863
+ </summary>
1864
+ </member>
1865
+ <member name="M:Microsoft.Practices.Unity.RegisterInstanceEventArgs.#ctor">
1866
+ <summary>
1867
+ Create a default <see cref="T:Microsoft.Practices.Unity.RegisterInstanceEventArgs"/> instance.
1868
+ </summary>
1869
+ </member>
1870
+ <member name="M:Microsoft.Practices.Unity.RegisterInstanceEventArgs.#ctor(System.Type,System.Object,System.String,Microsoft.Practices.Unity.LifetimeManager)">
1871
+ <summary>
1872
+ Create a <see cref="T:Microsoft.Practices.Unity.RegisterInstanceEventArgs"/> instance initialized with the given arguments.
1873
+ </summary>
1874
+ <param name="registeredType">Type of instance being registered.</param>
1875
+ <param name="instance">The instance object itself.</param>
1876
+ <param name="name">Name to register under, null if default registration.</param>
1877
+ <param name="lifetimeManager"><see cref="P:Microsoft.Practices.Unity.RegisterInstanceEventArgs.LifetimeManager"/> object that handles how
1878
+ the instance will be owned.</param>
1879
+ </member>
1880
+ <member name="P:Microsoft.Practices.Unity.RegisterInstanceEventArgs.RegisteredType">
1881
+ <summary>
1882
+ Type of instance being registered.
1883
+ </summary>
1884
+ <value>
1885
+ Type of instance being registered.
1886
+ </value>
1887
+ </member>
1888
+ <member name="P:Microsoft.Practices.Unity.RegisterInstanceEventArgs.Instance">
1889
+ <summary>
1890
+ Instance object being registered.
1891
+ </summary>
1892
+ <value>Instance object being registered</value>
1893
+ </member>
1894
+ <member name="P:Microsoft.Practices.Unity.RegisterInstanceEventArgs.LifetimeManager">
1895
+ <summary>
1896
+ <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls ownership of
1897
+ this instance.
1898
+ </summary>
1899
+ </member>
1900
+ <member name="T:Microsoft.Practices.Unity.Properties.Resources">
1901
+ <summary>
1902
+ A strongly-typed resource class, for looking up localized strings, etc.
1903
+ </summary>
1904
+ </member>
1905
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.ResourceManager">
1906
+ <summary>
1907
+ Returns the cached ResourceManager instance used by this class.
1908
+ </summary>
1909
+ </member>
1910
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.Culture">
1911
+ <summary>
1912
+ Overrides the current thread's CurrentUICulture property for all
1913
+ resource lookups using this strongly typed resource class.
1914
+ </summary>
1915
+ </member>
1916
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.ArgumentMustNotBeEmpty">
1917
+ <summary>
1918
+ Looks up a localized string similar to The provided string argument must not be empty..
1919
+ </summary>
1920
+ </member>
1921
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectGenericMethod">
1922
+ <summary>
1923
+ Looks up a localized string similar to The method {0}.{1}({2}) is an open generic method. Open generic methods cannot be injected..
1924
+ </summary>
1925
+ </member>
1926
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectIndexer">
1927
+ <summary>
1928
+ Looks up a localized string similar to The property {0} on type {1} is an indexer. Indexed properties cannot be injected..
1929
+ </summary>
1930
+ </member>
1931
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectMethodWithOutParams">
1932
+ <summary>
1933
+ Looks up a localized string similar to The method {0}.{1}({2}) has at least one out parameter. Methods with out parameters cannot be injected..
1934
+ </summary>
1935
+ </member>
1936
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectMethodWithRefParams">
1937
+ <summary>
1938
+ Looks up a localized string similar to The method {0}.{1}({2}) has at least one ref parameter.Methods with ref parameters cannot be injected..
1939
+ </summary>
1940
+ </member>
1941
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectStaticMethod">
1942
+ <summary>
1943
+ Looks up a localized string similar to The method {0}.{1}({2}) is static. Static methods cannot be injected..
1944
+ </summary>
1945
+ </member>
1946
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.LifetimeManagerInUse">
1947
+ <summary>
1948
+ Looks up a localized string similar to The lifetime manager is already registered. Lifetime managers cannot be reused, please create a new one..
1949
+ </summary>
1950
+ </member>
1951
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoSuchConstructor">
1952
+ <summary>
1953
+ Looks up a localized string similar to The type {0} does not have a constructor that takes the parameters ({1})..
1954
+ </summary>
1955
+ </member>
1956
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoSuchMethod">
1957
+ <summary>
1958
+ Looks up a localized string similar to The type {0} does not have a public method named {1} that takes the parameters ({2})..
1959
+ </summary>
1960
+ </member>
1961
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoSuchProperty">
1962
+ <summary>
1963
+ Looks up a localized string similar to The type {0} does not contain a property named {1}..
1964
+ </summary>
1965
+ </member>
1966
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.PropertyNotSettable">
1967
+ <summary>
1968
+ Looks up a localized string similar to The property {0} on type {1} is not settable..
1969
+ </summary>
1970
+ </member>
1971
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.PropertyTypeMismatch">
1972
+ <summary>
1973
+ Looks up a localized string similar to The property {0} on type {1} of type {2}, and cannot be injected with a value of type {3}..
1974
+ </summary>
1975
+ </member>
1976
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.ResolutionFailed">
1977
+ <summary>
1978
+ Looks up a localized string similar to Resolution of the dependency failed, type = &quot;{0}&quot;, name = &quot;{1}&quot;. Exception message is: {2}.
1979
+ </summary>
1980
+ </member>
1981
+ <member name="P:Microsoft.Practices.Unity.Properties.Resources.TypesAreNotAssignable">
1982
+ <summary>
1983
+ Looks up a localized string similar to The type {1} cannot be assigned to variables of type {0}..
1984
+ </summary>
1985
+ </member>
1986
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage">
1987
+ <summary>
1988
+ The build stages we use in the Unity container
1989
+ strategy pipeline.
1990
+ </summary>
1991
+ </member>
1992
+ <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.Setup">
1993
+ <summary>
1994
+ First stage. By default, nothing happens here.
1995
+ </summary>
1996
+ </member>
1997
+ <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.TypeMapping">
1998
+ <summary>
1999
+ Second stage. Type mapping occurs here.
2000
+ </summary>
2001
+ </member>
2002
+ <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.Lifetime">
2003
+ <summary>
2004
+ Third stage. lifetime managers are checked here,
2005
+ and if they're available the rest of the pipeline is skipped.
2006
+ </summary>
2007
+ </member>
2008
+ <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.PreCreation">
2009
+ <summary>
2010
+ Fourth stage. Reflection over constructors, properties, etc. is
2011
+ performed here.
2012
+ </summary>
2013
+ </member>
2014
+ <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.Creation">
2015
+ <summary>
2016
+ Fifth stage. Instance creation happens here.
2017
+ </summary>
2018
+ </member>
2019
+ <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.Initialization">
2020
+ <summary>
2021
+ Sixth stage. Property sets and method injection happens here.
2022
+ </summary>
2023
+ </member>
2024
+ <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.PostInitialization">
2025
+ <summary>
2026
+ Seventh and final stage. By default, nothing happens here.
2027
+ </summary>
2028
+ </member>
2029
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityMethodSelectorPolicy">
2030
+ <summary>
2031
+ An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/> that is aware
2032
+ of the build keys used by the Unity container.
2033
+ </summary>
2034
+ </member>
2035
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityMethodSelectorPolicy.CreateResolver(System.Reflection.ParameterInfo)">
2036
+ <summary>
2037
+ Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given
2038
+ <see cref="T:System.Reflection.ParameterInfo"/>.
2039
+ </summary>
2040
+ <param name="parameter">Parameter to create the resolver for.</param>
2041
+ <returns>The resolver object.</returns>
2042
+ </member>
2043
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityConstructorSelectorPolicy">
2044
+ <summary>
2045
+ An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"/> that is
2046
+ aware of the build keys used by the Unity container.
2047
+ </summary>
2048
+ </member>
2049
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityConstructorSelectorPolicy.CreateResolver(System.Reflection.ParameterInfo)">
2050
+ <summary>
2051
+ Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given
2052
+ <see cref="T:System.Reflection.ParameterInfo"/>.
2053
+ </summary>
2054
+ <remarks>
2055
+ This implementation looks for the Unity <see cref="T:Microsoft.Practices.Unity.DependencyAttribute"/> on the
2056
+ parameter and uses it to create an instance of <see cref="T:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy"/>
2057
+ for this parameter.</remarks>
2058
+ <param name="param">Parameter to create the resolver for.</param>
2059
+ <returns>The resolver object.</returns>
2060
+ </member>
2061
+ <member name="T:Microsoft.Practices.Unity.InjectionMethodAttribute">
2062
+ <summary>
2063
+ This attribute is used to mark methods that should be called when
2064
+ the container is building an object.
2065
+ </summary>
2066
+ </member>
2067
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.LiteralValueDependencyResolverPolicy">
2068
+ <summary>
2069
+ A <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> implementation that returns
2070
+ the value set in the constructor.
2071
+ </summary>
2072
+ </member>
2073
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.LiteralValueDependencyResolverPolicy.#ctor(System.Object)">
2074
+ <summary>
2075
+ Create a new instance of <see cref="T:Microsoft.Practices.Unity.ObjectBuilder.LiteralValueDependencyResolverPolicy"/>
2076
+ which will return the given value when resolved.
2077
+ </summary>
2078
+ <param name="dependencyValue">The value to return.</param>
2079
+ </member>
2080
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.LiteralValueDependencyResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
2081
+ <summary>
2082
+ Get the value for a dependency.
2083
+ </summary>
2084
+ <param name="context">Current build context.</param>
2085
+ <returns>The value for the dependency.</returns>
2086
+ </member>
2087
+ <member name="T:Microsoft.Practices.Unity.LifetimeManagerFactory">
2088
+ <summary>
2089
+ An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeFactoryPolicy"/> that
2090
+ creates instances of the type of the given Lifetime Manager
2091
+ by resolving them through the container.
2092
+ </summary>
2093
+ </member>
2094
+ <member name="M:Microsoft.Practices.Unity.LifetimeManagerFactory.#ctor(Microsoft.Practices.Unity.ExtensionContext,System.Type)">
2095
+ <summary>
2096
+ Create a new <see cref="T:Microsoft.Practices.Unity.LifetimeManagerFactory"/> that will
2097
+ return instances of the given type, creating them by
2098
+ resolving through the container.
2099
+ </summary>
2100
+ <param name="containerContext">Container to resolve with.</param>
2101
+ <param name="lifetimeType">Type of LifetimeManager to create.</param>
2102
+ </member>
2103
+ <member name="M:Microsoft.Practices.Unity.LifetimeManagerFactory.CreateLifetimePolicy">
2104
+ <summary>
2105
+ Create a new instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"/>.
2106
+ </summary>
2107
+ <returns>The new instance.</returns>
2108
+ </member>
2109
+ <member name="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedPropertiesSelectorPolicy">
2110
+ <summary>
2111
+ An implemnetation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"/> which returns
2112
+ the set of specific properties that the selector was configured with.
2113
+ </summary>
2114
+ </member>
2115
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedPropertiesSelectorPolicy.AddPropertyAndValue(System.Reflection.PropertyInfo,Microsoft.Practices.Unity.InjectionParameterValue)">
2116
+ <summary>
2117
+ Add a property that will be par of the set returned when the
2118
+ <see cref="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedPropertiesSelectorPolicy.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"/> is called.
2119
+ </summary>
2120
+ <param name="property">The property to set.</param>
2121
+ <param name="value"><see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object describing
2122
+ how to create the value to inject.</param>
2123
+ </member>
2124
+ <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedPropertiesSelectorPolicy.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext)">
2125
+ <summary>
2126
+ Returns sequence of properties on the given type that
2127
+ should be set as part of building that object.
2128
+ </summary>
2129
+ <param name="context">Current build context.</param>
2130
+ <returns>Sequence of <see cref="T:System.Reflection.PropertyInfo"/> objects
2131
+ that contain the properties to set.</returns>
2132
+ </member>
2133
+ <member name="T:Microsoft.Practices.Unity.TransientLifetimeManager">
2134
+ <summary>
2135
+ An <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> implementation that does nothing,
2136
+ thus ensuring that instances are created new every time.
2137
+ </summary>
2138
+ </member>
2139
+ <member name="M:Microsoft.Practices.Unity.TransientLifetimeManager.GetValue">
2140
+ <summary>
2141
+ Retrieve a value from the backing store associated with this Lifetime policy.
2142
+ </summary>
2143
+ <returns>the object desired, or null if no such object is currently stored.</returns>
2144
+ </member>
2145
+ <member name="M:Microsoft.Practices.Unity.TransientLifetimeManager.SetValue(System.Object)">
2146
+ <summary>
2147
+ Stores the given value into backing store for retrieval later.
2148
+ </summary>
2149
+ <param name="newValue">The object being stored.</param>
2150
+ </member>
2151
+ <member name="M:Microsoft.Practices.Unity.TransientLifetimeManager.RemoveValue">
2152
+ <summary>
2153
+ Remove the given object from backing store.
2154
+ </summary>
2155
+ </member>
2156
+ <member name="T:Microsoft.Practices.Unity.InjectionConstructorAttribute">
2157
+ <summary>
2158
+ This attribute is used to indicate which constructor to choose when
2159
+ the container attempts to build a type.
2160
+ </summary>
2161
+ </member>
2162
+ <member name="T:Microsoft.Practices.Unity.Utility.Guard">
2163
+ <summary>
2164
+ A static helper class that includes various parameter checking routines.
2165
+ </summary>
2166
+ </member>
2167
+ <member name="M:Microsoft.Practices.Unity.Utility.Guard.ArgumentNotNull(System.Object,System.String)">
2168
+ <summary>
2169
+ Throws <see cref="T:System.ArgumentNullException"/> if the given argument is null.
2170
+ </summary>
2171
+ <exception cref="T:System.ArgumentNullException"> if tested value if null.</exception>
2172
+ <param name="argumentValue">Argument value to test.</param>
2173
+ <param name="argumentName">Name of the argument being tested.</param>
2174
+ </member>
2175
+ <member name="M:Microsoft.Practices.Unity.Utility.Guard.ArgumentNotNullOrEmpty(System.String,System.String)">
2176
+ <summary>
2177
+ Throws an exception if the tested string argument is null or the empty string.
2178
+ </summary>
2179
+ <exception cref="T:System.ArgumentNullException">Thrown if string value is null.</exception>
2180
+ <exception cref="T:System.ArgumentException">Thrown if the string is empty</exception>
2181
+ <param name="argumentValue">Argument value to check.</param>
2182
+ <param name="argumentName">Name of argument being checked.</param>
2183
+ </member>
2184
+ <member name="M:Microsoft.Practices.Unity.Utility.Guard.TypeIsAssignable(System.Type,System.Type,System.String)">
2185
+ <summary>
2186
+ Verifies that an argument type is assignable from the provided type (meaning
2187
+ interfaces are implemented, or classes exist in the base class hierarchy).
2188
+ </summary>
2189
+ <param name="assignmentTargetType">The argument type that will be assigned to.</param>
2190
+ <param name="assignmentValueType">The type of the value being assigned.</param>
2191
+ <param name="argumentName">Argument name.</param>
2192
+ </member>
2193
+ <member name="T:Microsoft.Practices.Unity.DependencyAttribute">
2194
+ <summary>
2195
+ This attribute is used to mark properties and parameters as targets for injection.
2196
+ </summary>
2197
+ <remarks>
2198
+ For properties, this attribute is necessary for injection to happen. For parameters,
2199
+ it's not needed unless you want to specify additional information to control how
2200
+ the parameter is resolved.
2201
+ </remarks>
2202
+ </member>
2203
+ <member name="T:Microsoft.Practices.Unity.DependencyResolutionAttribute">
2204
+ <summary>
2205
+ Base class for attributes that can be placed on parameters
2206
+ or properties to specify how to resolve the value for
2207
+ that parameter or property.
2208
+ </summary>
2209
+ </member>
2210
+ <member name="M:Microsoft.Practices.Unity.DependencyResolutionAttribute.CreateResolver(System.Type)">
2211
+ <summary>
2212
+ Create an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that
2213
+ will be used to get the value for the member this attribute is
2214
+ applied to.
2215
+ </summary>
2216
+ <param name="typeToResolve">Type of parameter or property that
2217
+ this attribute is decoration.</param>
2218
+ <returns>The resolver object.</returns>
2219
+ </member>
2220
+ <member name="M:Microsoft.Practices.Unity.DependencyAttribute.#ctor">
2221
+ <summary>
2222
+ Create an instance of <see cref="T:Microsoft.Practices.Unity.DependencyAttribute"/> with no name.
2223
+ </summary>
2224
+ </member>
2225
+ <member name="M:Microsoft.Practices.Unity.DependencyAttribute.#ctor(System.String)">
2226
+ <summary>
2227
+ Create an instance of <see cref="T:Microsoft.Practices.Unity.DependencyAttribute"/> with the given name.
2228
+ </summary>
2229
+ <param name="name">Name to use when resolving this dependency.</param>
2230
+ </member>
2231
+ <member name="M:Microsoft.Practices.Unity.DependencyAttribute.CreateResolver(System.Type)">
2232
+ <summary>
2233
+ Create an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that
2234
+ will be used to get the value for the member this attribute is
2235
+ applied to.
2236
+ </summary>
2237
+ <param name="typeToResolve">Type of parameter or property that
2238
+ this attribute is decoration.</param>
2239
+ <returns>The resolver object.</returns>
2240
+ </member>
2241
+ <member name="P:Microsoft.Practices.Unity.DependencyAttribute.Name">
2242
+ <summary>
2243
+ The name specified in the constructor.
2244
+ </summary>
2245
+ </member>
2246
+ <member name="T:Microsoft.Practices.Unity.ContainerControlledLifetimeManager">
2247
+ <summary>
2248
+ A <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that holds onto the instance given to it.
2249
+ When the <see cref="T:Microsoft.Practices.Unity.ContainerControlledLifetimeManager"/> is disposed,
2250
+ the instance is disposed with it.
2251
+ </summary>
2252
+ </member>
2253
+ <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.GetValue">
2254
+ <summary>
2255
+ Retrieve a value from the backing store associated with this Lifetime policy.
2256
+ </summary>
2257
+ <returns>the object desired, or null if no such object is currently stored.</returns>
2258
+ </member>
2259
+ <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.SetValue(System.Object)">
2260
+ <summary>
2261
+ Stores the given value into backing store for retrieval later.
2262
+ </summary>
2263
+ <param name="newValue">The object being stored.</param>
2264
+ </member>
2265
+ <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.RemoveValue">
2266
+ <summary>
2267
+ Remove the given object from backing store.
2268
+ </summary>
2269
+ </member>
2270
+ <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.Dispose">
2271
+ <summary>
2272
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
2273
+ </summary>
2274
+ <filterpriority>2</filterpriority>
2275
+ </member>
2276
+ <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.Dispose(System.Boolean)">
2277
+ <summary>
2278
+ Standard Dispose pattern implementation. Not needed, but it keeps FxCop happy.
2279
+ </summary>
2280
+ <param name="disposing">Always true, since we don't have a finalizer.</param>
2281
+ </member>
2282
+ <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.Recover">
2283
+ <summary>
2284
+ A method that does whatever is needed to clean up
2285
+ as part of cleaning up after an exception.
2286
+ </summary>
2287
+ <remarks>
2288
+ Don't do anything that could throw in this method,
2289
+ it will cause later recover operations to get skipped
2290
+ and play real havok with the stack trace.
2291
+ </remarks>
2292
+ </member>
2293
+ <member name="T:Microsoft.Practices.Unity.InjectionParameter">
2294
+ <summary>
2295
+ A class that holds on to the given value and provides
2296
+ the required <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>
2297
+ when the container is configured.
2298
+ </summary>
2299
+ </member>
2300
+ <member name="M:Microsoft.Practices.Unity.InjectionParameter.#ctor(System.Object)">
2301
+ <summary>
2302
+ Create an instance of <see cref="T:Microsoft.Practices.Unity.InjectionParameter"/> that stores
2303
+ the given value, using the runtime type of that value as the
2304
+ type of the parameter.
2305
+ </summary>
2306
+ <param name="parameterValue">Value to be injected for this parameter.</param>
2307
+ </member>
2308
+ <member name="M:Microsoft.Practices.Unity.InjectionParameter.#ctor(System.Type,System.Object)">
2309
+ <summary>
2310
+ Create an instance of <see cref="T:Microsoft.Practices.Unity.InjectionParameter"/> that stores
2311
+ the given value, associated with the given type.
2312
+ </summary>
2313
+ <param name="parameterType">Type of the parameter.</param>
2314
+ <param name="parameterValue">Value of the parameter</param>
2315
+ </member>
2316
+ <member name="M:Microsoft.Practices.Unity.InjectionParameter.GetResolverPolicy">
2317
+ <summary>
2318
+ Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will
2319
+ return this types value for the parameter.
2320
+ </summary>
2321
+ <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns>
2322
+ </member>
2323
+ <member name="P:Microsoft.Practices.Unity.InjectionParameter.ParameterType">
2324
+ <summary>
2325
+ The type of parameter this object represents.
2326
+ </summary>
2327
+ </member>
2328
+ <member name="T:Microsoft.Practices.Unity.InjectionParameter`1">
2329
+ <summary>
2330
+ A generic version of <see cref="T:Microsoft.Practices.Unity.InjectionParameter"/> that makes it a
2331
+ little easier to specify the type of the parameter.
2332
+ </summary>
2333
+ <typeparam name="TParameter">Type of parameter.</typeparam>
2334
+ </member>
2335
+ <member name="M:Microsoft.Practices.Unity.InjectionParameter`1.#ctor(`0)">
2336
+ <summary>
2337
+ Create a new <see cref="T:Microsoft.Practices.Unity.InjectionParameter`1"/>.
2338
+ </summary>
2339
+ <param name="parameterValue">Value for the parameter.</param>
2340
+ </member>
2341
+ <member name="T:Microsoft.Practices.Unity.UnityDefaultStrategiesExtension">
2342
+ <summary>
2343
+ This extension installs the default strategies and policies into the container
2344
+ to implement the standard behavior of the Unity container.
2345
+ </summary>
2346
+ </member>
2347
+ <member name="M:Microsoft.Practices.Unity.UnityDefaultStrategiesExtension.Initialize">
2348
+ <summary>
2349
+ Add the default ObjectBuilder strategies &amp; policies to the container.
2350
+ </summary>
2351
+ </member>
2352
+ <member name="T:Microsoft.Practices.Unity.InjectionProperty">
2353
+ <summary>
2354
+ This class stores information about which properties to inject,
2355
+ and will configure the container accordingly.
2356
+ </summary>
2357
+ </member>
2358
+ <member name="M:Microsoft.Practices.Unity.InjectionProperty.#ctor(System.String)">
2359
+ <summary>
2360
+ Configure the container to inject the given property name,
2361
+ resolving the value via the container.
2362
+ </summary>
2363
+ <param name="propertyName">Name of the property to inject.</param>
2364
+ </member>
2365
+ <member name="M:Microsoft.Practices.Unity.InjectionProperty.#ctor(System.String,System.Object)">
2366
+ <summary>
2367
+ Configure the container to inject the given property name,
2368
+ using the value supplied. This value is converted to an
2369
+ <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object using the
2370
+ rules defined by the <see cref="M:Microsoft.Practices.Unity.InjectionParameterValue.ToParameters(System.Object[])"/>
2371
+ method.
2372
+ </summary>
2373
+ <param name="propertyName">Name of property to inject.</param>
2374
+ <param name="propertyValue">Value for property.</param>
2375
+ </member>
2376
+ <member name="M:Microsoft.Practices.Unity.InjectionProperty.AddPolicies(System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)">
2377
+ <summary>
2378
+ Add policies to the <paramref name="policies"/> to configure the
2379
+ container to call this constructor with the appropriate parameter values.
2380
+ </summary>
2381
+ <param name="typeToCreate">Type to register.</param>
2382
+ <param name="name">Name used to resolve the type object.</param>
2383
+ <param name="policies">Policy list to add policies to.</param>
2384
+ </member>
2385
+ <member name="T:Microsoft.Practices.Unity.Utility.Sequence">
2386
+ <summary>
2387
+ A series of helper methods to deal with sequences -
2388
+ objects that implement <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
2389
+ </summary>
2390
+ <remarks>LINQ in C# 3.0 does pretty much the same stuff,
2391
+ but we're keeping C# 2.0 compatibility here.</remarks>
2392
+ </member>
2393
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.ToList``1(System.Collections.Generic.IEnumerable{``0})">
2394
+ <summary>
2395
+ Given an <see cref="T:System.Collections.Generic.IEnumerable`1"/>, return a
2396
+ new <see cref="T:System.Collections.Generic.List`1"/> containing the same contents.
2397
+ </summary>
2398
+ <typeparam name="T">Type of item store in the sequence.</typeparam>
2399
+ <param name="seq">Sequence to create list from.</param>
2400
+ <returns>The new <see cref="T:System.Collections.Generic.List`1"/></returns>
2401
+ </member>
2402
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.OfType``1(System.Collections.IEnumerable)">
2403
+ <summary>
2404
+ Given an <see cref="T:System.Collections.IEnumerable"/> return a new
2405
+ <see cref="T:System.Collections.Generic.IEnumerable`1"/> that contains
2406
+ all the objects in <paramref name="source"/> that
2407
+ are castable to <typeparamref name="TResult"/>.
2408
+ </summary>
2409
+ <typeparam name="TResult">Desired type for objects.</typeparam>
2410
+ <param name="source">Input sequence.</param>
2411
+ <returns>New output sequence.</returns>
2412
+ </member>
2413
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.Collect``1(``0[])">
2414
+ <summary>
2415
+ A function that turns an arbitrary parameter list into an
2416
+ <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
2417
+ </summary>
2418
+ <typeparam name="T">Type of arguments.</typeparam>
2419
+ <param name="arguments">The items to put into the collection.</param>
2420
+ <returns>An array that contains the values of the <paramref name="arguments"/>.</returns>
2421
+ </member>
2422
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.ToArray``1(System.Collections.Generic.IEnumerable{``0})">
2423
+ <summary>
2424
+ Create an array containing the elements of the given sequence.
2425
+ </summary>
2426
+ <typeparam name="T">Type of sequence and array.</typeparam>
2427
+ <param name="sequence">Input sequence.</param>
2428
+ <returns>The resulting array.</returns>
2429
+ </member>
2430
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.Map``2(System.Collections.Generic.IEnumerable{``0},System.Converter{``0,``1})">
2431
+ <summary>
2432
+ Given a sequence of <typeparamref name="TIn"/>, returns a sequence of
2433
+ <typeparamref name="TOut"/> created by running the items in <paramref name="input"/>
2434
+ through <paramref name="converter"/>.
2435
+ </summary>
2436
+ <typeparam name="TIn">Type of items in input.</typeparam>
2437
+ <typeparam name="TOut">Type of items in output.</typeparam>
2438
+ <param name="input">Input sequence.</param>
2439
+ <param name="converter">Mapping function.</param>
2440
+ <returns>The converted output sequence.</returns>
2441
+ </member>
2442
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.Reduce``2(System.Collections.Generic.IEnumerable{``0},``1,Microsoft.Practices.Unity.Utility.Sequence.Reducer{``0,``1})">
2443
+ <summary>
2444
+ Run a functional Reduce operation. See other methods for examples.
2445
+ </summary>
2446
+ <typeparam name="TSource">Type of inputs.</typeparam>
2447
+ <typeparam name="TDest">Type of final output.</typeparam>
2448
+ <param name="sequence">Sequence of input items.</param>
2449
+ <param name="initialValue">Initial value for accumulator.</param>
2450
+ <param name="reducer">Reduce function.</param>
2451
+ <returns></returns>
2452
+ </member>
2453
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.ToString``1(System.Collections.Generic.IEnumerable{``0},System.String,System.Converter{``0,System.String})">
2454
+ <summary>
2455
+ Convert the given sequence to a single string. The items in the string are
2456
+ separated by the given separator, and each object is converted to a string
2457
+ using the <paramref name="converter"/> method given.
2458
+ </summary>
2459
+ <typeparam name="T">Type of input sequence.</typeparam>
2460
+ <param name="sequence">Input sequence.</param>
2461
+ <param name="separator">Separator string.</param>
2462
+ <param name="converter">Function to convert <typeparamref name="T"/> instances to
2463
+ strings.</param>
2464
+ <returns>The collected string.</returns>
2465
+ </member>
2466
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.ToString``1(System.Collections.Generic.IEnumerable{``0},System.String)">
2467
+ <summary>
2468
+ Convert the given sequence to a single string. The items in the string are separated
2469
+ by the given separator, and each object is converted to a string by calling its
2470
+ <see cref="M:System.Object.ToString"/> method.
2471
+ </summary>
2472
+ <typeparam name="T">Type of input sequence.</typeparam>
2473
+ <param name="sequence">Input sequence.</param>
2474
+ <param name="separator">Separator string.</param>
2475
+ <returns>The collected string.</returns>
2476
+ </member>
2477
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.First``1(System.Collections.Generic.IEnumerable{``0})">
2478
+ <summary>
2479
+ Return the first item in the given sequence.
2480
+ </summary>
2481
+ <exception cref="T:System.InvalidOperationException">Thrown if the sequence is empty.</exception>
2482
+ <typeparam name="T">Type of items in the sequence.</typeparam>
2483
+ <param name="sequence">The sequence.</param>
2484
+ <returns>First item in the sequence.</returns>
2485
+ </member>
2486
+ <member name="M:Microsoft.Practices.Unity.Utility.Sequence.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">
2487
+ <summary>
2488
+ Execute the given action delegate for each item in the sequence.
2489
+ </summary>
2490
+ <typeparam name="TItem">Type of item in the sequence.</typeparam>
2491
+ <param name="sequence">The sequence of items.</param>
2492
+ <param name="action">Action to perform on each item.</param>
2493
+ </member>
2494
+ <member name="T:Microsoft.Practices.Unity.Utility.Sequence.Reducer`2">
2495
+ <summary>
2496
+ A delegate that defines the function passed to the <see cref="M:Microsoft.Practices.Unity.Utility.Sequence.Reduce``2(System.Collections.Generic.IEnumerable{``0},``1,Microsoft.Practices.Unity.Utility.Sequence.Reducer{``0,``1})"/> methods.
2497
+ </summary>
2498
+ <typeparam name="TSource">Type of item being reduced.</typeparam>
2499
+ <typeparam name="TDest">Type of the accumulator object.</typeparam>
2500
+ <param name="currentItem">Current item to process.</param>
2501
+ <param name="accumulator">Current value of the accumulator.</param>
2502
+ <returns></returns>
2503
+ </member>
2504
+ <member name="T:Microsoft.Practices.Unity.InjectionMethod">
2505
+ <summary>
2506
+ An <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> that configures the
2507
+ container to call a method as part of buildup.
2508
+ </summary>
2509
+ </member>
2510
+ <member name="M:Microsoft.Practices.Unity.InjectionMethod.#ctor(System.String,System.Object[])">
2511
+ <summary>
2512
+ Create a new <see cref="T:Microsoft.Practices.Unity.InjectionMethod"/> instance which will configure
2513
+ the container to call the given methods with the given parameters.
2514
+ </summary>
2515
+ <param name="methodName">Name of the method to call.</param>
2516
+ <param name="methodParameters">Parameter values for the method.</param>
2517
+ </member>
2518
+ <member name="M:Microsoft.Practices.Unity.InjectionMethod.AddPolicies(System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)">
2519
+ <summary>
2520
+ Add policies to the <paramref name="policies"/> to configure the
2521
+ container to call this constructor with the appropriate parameter values.
2522
+ </summary>
2523
+ <param name="typeToCreate">Type to register.</param>
2524
+ <param name="name">Name used to resolve the type object.</param>
2525
+ <param name="policies">Policy list to add policies to.</param>
2526
+ </member>
2527
+ </members>
2528
+ </doc>