Mercurial > pub > RazorEngine
comparison src/packages/Unity.3.0.1304.1/lib/Net45/Microsoft.Practices.Unity.xml @ 0:5bca2d201ad8
initial commit
author | cin |
---|---|
date | Sun, 24 Aug 2014 11:14:55 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5bca2d201ad8 |
---|---|
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.DuplicateTypeMappingException"> | |
8 <summary> | |
9 The exception that is thrown when registering multiple types would result in an type mapping being overwritten. | |
10 </summary> | |
11 </member> | |
12 <member name="M:Microsoft.Practices.Unity.DuplicateTypeMappingException.#ctor(System.String,System.Type,System.Type,System.Type)"> | |
13 <summary> | |
14 Initializes a new instance of the <see cref="T:Microsoft.Practices.Unity.DuplicateTypeMappingException"/> class. | |
15 </summary> | |
16 <param name="name">The name for the mapping.</param> | |
17 <param name="mappedFromType">The source type for the mapping.</param> | |
18 <param name="currentMappedToType">The type currently mapped.</param> | |
19 <param name="newMappedToType">The new type to map.</param> | |
20 </member> | |
21 <member name="P:Microsoft.Practices.Unity.DuplicateTypeMappingException.Name"> | |
22 <summary> | |
23 Gets the name for the mapping. | |
24 </summary> | |
25 </member> | |
26 <member name="P:Microsoft.Practices.Unity.DuplicateTypeMappingException.MappedFromType"> | |
27 <summary> | |
28 Gets the source type for the mapping. | |
29 </summary> | |
30 </member> | |
31 <member name="P:Microsoft.Practices.Unity.DuplicateTypeMappingException.CurrentMappedToType"> | |
32 <summary> | |
33 Gets the type currently mapped. | |
34 </summary> | |
35 </member> | |
36 <member name="P:Microsoft.Practices.Unity.DuplicateTypeMappingException.NewMappedToType"> | |
37 <summary> | |
38 Gets the new type to map. | |
39 </summary> | |
40 </member> | |
41 <member name="T:Microsoft.Practices.Unity.WithLifetime"> | |
42 <summary> | |
43 Provides helper methods to specify the lifetime for a type with registration by convention. | |
44 </summary> | |
45 </member> | |
46 <member name="M:Microsoft.Practices.Unity.WithLifetime.None(System.Type)"> | |
47 <summary> | |
48 Returns a <see langword="null"/> <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>. | |
49 </summary> | |
50 <param name="type">The type.</param> | |
51 <returns>A lifetime manager</returns> | |
52 </member> | |
53 <member name="M:Microsoft.Practices.Unity.WithLifetime.ContainerControlled(System.Type)"> | |
54 <summary> | |
55 Returns a <see cref="T:Microsoft.Practices.Unity.ContainerControlledLifetimeManager"/>. | |
56 </summary> | |
57 <param name="type">The type.</param> | |
58 <returns>A container controlled lifetime manager.</returns> | |
59 </member> | |
60 <member name="M:Microsoft.Practices.Unity.WithLifetime.ExternallyControlled(System.Type)"> | |
61 <summary> | |
62 Returns a <see cref="T:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager"/>. | |
63 </summary> | |
64 <param name="type">The type.</param> | |
65 <returns>An externally controlled lifetime manager.</returns> | |
66 </member> | |
67 <member name="M:Microsoft.Practices.Unity.WithLifetime.Hierarchical(System.Type)"> | |
68 <summary> | |
69 Returns a <see cref="T:Microsoft.Practices.Unity.HierarchicalLifetimeManager"/>. | |
70 </summary> | |
71 <param name="type">The type.</param> | |
72 <returns>A hierarchical lifetime manager.</returns> | |
73 </member> | |
74 <member name="M:Microsoft.Practices.Unity.WithLifetime.PerResolve(System.Type)"> | |
75 <summary> | |
76 Returns a <see cref="T:Microsoft.Practices.Unity.PerResolveLifetimeManager"/>. | |
77 </summary> | |
78 <param name="type">The type.</param> | |
79 <returns>A per resolve lifetime manager.</returns> | |
80 </member> | |
81 <member name="M:Microsoft.Practices.Unity.WithLifetime.Transient(System.Type)"> | |
82 <summary> | |
83 Returns a <see cref="T:Microsoft.Practices.Unity.TransientLifetimeManager"/>. | |
84 </summary> | |
85 <param name="type">The type.</param> | |
86 <returns>A transient lifetime manager.</returns> | |
87 </member> | |
88 <member name="M:Microsoft.Practices.Unity.WithLifetime.Custom``1(System.Type)"> | |
89 <summary> | |
90 Returns a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>. | |
91 </summary> | |
92 <typeparam name="T">The custom <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> type.</typeparam> | |
93 <param name="type">The type.</param> | |
94 <returns> | |
95 A lifetime manager. | |
96 </returns> | |
97 </member> | |
98 <member name="M:Microsoft.Practices.Unity.WithLifetime.PerThread(System.Type)"> | |
99 <summary> | |
100 Returns a <see cref="T:Microsoft.Practices.Unity.PerThreadLifetimeManager"/>. | |
101 </summary> | |
102 <param name="type">The type.</param> | |
103 <returns>A per thread lifetime manager.</returns> | |
104 </member> | |
105 <member name="T:Microsoft.Practices.Unity.AllClasses"> | |
106 <summary> | |
107 Provides helper methods to retrieve classes from assemblies. | |
108 </summary> | |
109 </member> | |
110 <member name="M:Microsoft.Practices.Unity.AllClasses.FromAssemblies(System.Reflection.Assembly[])"> | |
111 <summary> | |
112 Returns all visible, non-abstract classes from <paramref name="assemblies"/>. | |
113 </summary> | |
114 <param name="assemblies">The assemblies.</param> | |
115 <returns>All visible, non-abstract classes found in the assemblies.</returns> | |
116 <exception cref="T:System.ArgumentNullException"><paramref name="assemblies"/> is <see langword="null"/>.</exception> | |
117 <exception cref="T:System.ArgumentException"><paramref name="assemblies"/> contains <see langword="null"/> elements.</exception> | |
118 <remarks>All exceptions thrown while getting types from the assemblies are ignored, and the types that can be retrieved are returned.</remarks> | |
119 </member> | |
120 <member name="M:Microsoft.Practices.Unity.AllClasses.FromAssemblies(System.Boolean,System.Reflection.Assembly[])"> | |
121 <summary> | |
122 Returns all visible, non-abstract classes from <paramref name="assemblies"/>, and optionally skips errors. | |
123 </summary> | |
124 <param name="skipOnError"><see langword="true"/> to skip errors; otherwise, <see langword="true"/>.</param> | |
125 <param name="assemblies">The assemblies.</param> | |
126 <returns> | |
127 All visible, non-abstract classes. | |
128 </returns> | |
129 <exception cref="T:System.ArgumentNullException"><paramref name="assemblies"/> is <see langword="null"/>.</exception> | |
130 <exception cref="T:System.ArgumentException"><paramref name="assemblies"/> contains <see langword="null"/> elements.</exception> | |
131 <remarks> | |
132 If <paramref name="skipOnError"/> is <see langword="true"/>, all exceptions thrown while getting types from the assemblies are ignored, and the types | |
133 that can be retrieved are returned; otherwise, the original exception is thrown. | |
134 </remarks> | |
135 </member> | |
136 <member name="M:Microsoft.Practices.Unity.AllClasses.FromAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly},System.Boolean)"> | |
137 <summary> | |
138 Returns all visible, non-abstract classes from <paramref name="assemblies"/>. | |
139 </summary> | |
140 <param name="skipOnError"><see langword="true"/> to skip errors; otherwise, <see langword="true"/>.</param> | |
141 <param name="assemblies">The assemblies.</param> | |
142 <returns> | |
143 All visible, non-abstract classes. | |
144 </returns> | |
145 <exception cref="T:System.ArgumentNullException"><paramref name="assemblies"/> is <see langword="null"/>.</exception> | |
146 <exception cref="T:System.ArgumentException"><paramref name="assemblies"/> contains <see langword="null"/> elements.</exception> | |
147 <remarks> | |
148 If <paramref name="skipOnError"/> is <see langword="true"/>, all exceptions thrown while getting types from the assemblies are ignored, and the types | |
149 that can be retrieved are returned; otherwise, the original exception is thrown. | |
150 </remarks> | |
151 </member> | |
152 <member name="M:Microsoft.Practices.Unity.AllClasses.FromLoadedAssemblies(System.Boolean,System.Boolean,System.Boolean,System.Boolean)"> | |
153 <summary> | |
154 Returns all visible, non-abstract classes from all assemblies that are loaded in the current application domain. | |
155 </summary> | |
156 <param name="includeSystemAssemblies"><see langword="false" /> to include system assemblies; otherwise, <see langword="false" />. Defaults to <see langword="false" />.</param> | |
157 <param name="includeUnityAssemblies"><see langword="false" /> to include the Unity assemblies; otherwise, <see langword="false" />. Defaults to <see langword="false" />.</param> | |
158 <param name="includeDynamicAssemblies"><see langword="false" /> to include dynamic assemblies; otherwise, <see langword="false" />. Defaults to <see langword="false" />.</param> | |
159 <param name="skipOnError"><see langword="true"/> to skip errors; otherwise, <see langword="true"/>.</param> | |
160 <returns> | |
161 All visible, non-abstract classes in the loaded assemblies. | |
162 </returns> | |
163 <remarks> | |
164 If <paramref name="skipOnError" /> is <see langword="true" />, all exceptions thrown while getting types from the assemblies are ignored, and the types | |
165 that can be retrieved are returned; otherwise, the original exception is thrown. | |
166 </remarks> | |
167 </member> | |
168 <member name="M:Microsoft.Practices.Unity.AllClasses.FromAssembliesInBasePath(System.Boolean,System.Boolean,System.Boolean)"> | |
169 <summary> | |
170 Returns all visible, non-abstract classes from all assemblies that are located in the base folder of the current application domain. | |
171 </summary> | |
172 <param name="includeSystemAssemblies"><see langword="false" /> to include system assemblies; otherwise, <see langword="false" />. Defaults to <see langword="false" />.</param> | |
173 <param name="includeUnityAssemblies"><see langword="false" /> to include the Unity assemblies; otherwise, <see langword="false" />. Defaults to <see langword="false" />.</param> | |
174 <param name="skipOnError"><see langword="true"/> to skip errors; otherwise, <see langword="true"/>.</param> | |
175 <returns> | |
176 All visible, non-abstract classes. | |
177 </returns> | |
178 <remarks> | |
179 If <paramref name="skipOnError" /> is <see langword="true" />, all exceptions thrown while loading assemblies or getting types from the assemblies are ignored, and the types | |
180 that can be retrieved are returned; otherwise, the original exception is thrown. | |
181 </remarks> | |
182 </member> | |
183 <member name="T:Microsoft.Practices.Unity.RegistrationConvention"> | |
184 <summary> | |
185 Represents a set of types to register and their registration settings. | |
186 </summary> | |
187 </member> | |
188 <member name="M:Microsoft.Practices.Unity.RegistrationConvention.GetTypes"> | |
189 <summary> | |
190 Gets types to register. | |
191 </summary> | |
192 </member> | |
193 <member name="M:Microsoft.Practices.Unity.RegistrationConvention.GetFromTypes"> | |
194 <summary> | |
195 Gets a function to get the types that will be requested for each type to configure. | |
196 </summary> | |
197 </member> | |
198 <member name="M:Microsoft.Practices.Unity.RegistrationConvention.GetName"> | |
199 <summary> | |
200 Gets a function to get the name to use for the registration of each type. | |
201 </summary> | |
202 </member> | |
203 <member name="M:Microsoft.Practices.Unity.RegistrationConvention.GetLifetimeManager"> | |
204 <summary> | |
205 Gets a function to get the <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the registration of each type. Defaults to no lifetime management. | |
206 </summary> | |
207 <returns></returns> | |
208 </member> | |
209 <member name="M:Microsoft.Practices.Unity.RegistrationConvention.GetInjectionMembers"> | |
210 <summary> | |
211 Gets a function to get the additional <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects for the registration of each type. Defaults to no injection members. | |
212 </summary> | |
213 <returns></returns> | |
214 </member> | |
215 <member name="T:Microsoft.Practices.Unity.WithName"> | |
216 <summary> | |
217 Provides helper methods to get type names. | |
218 </summary> | |
219 </member> | |
220 <member name="M:Microsoft.Practices.Unity.WithName.TypeName(System.Type)"> | |
221 <summary> | |
222 Returns the type name. | |
223 </summary> | |
224 <param name="type">The type.</param> | |
225 <returns>The type name.</returns> | |
226 </member> | |
227 <member name="M:Microsoft.Practices.Unity.WithName.Default(System.Type)"> | |
228 <summary> | |
229 Returns null for the registration name. | |
230 </summary> | |
231 <param name="type">The type.</param> | |
232 <returns><see langword="null"/></returns> | |
233 </member> | |
234 <member name="T:Microsoft.Practices.Unity.WithMappings"> | |
235 <summary> | |
236 Provides helper methods to map types to the types interfaces to which register them. | |
237 </summary> | |
238 </member> | |
239 <member name="M:Microsoft.Practices.Unity.WithMappings.None(System.Type)"> | |
240 <summary> | |
241 Returns no types. | |
242 </summary> | |
243 <param name="implementationType">The type to register.</param> | |
244 <returns>An empty enumeration.</returns> | |
245 </member> | |
246 <member name="M:Microsoft.Practices.Unity.WithMappings.FromMatchingInterface(System.Type)"> | |
247 <summary> | |
248 Returns an enumeration with the interface that matches the name of <paramref name="implementationType"/>. | |
249 </summary> | |
250 <param name="implementationType">The type to register.</param> | |
251 <returns>An enumeration with the first interface matching the name of <paramref name="implementationType"/> (for example, if type is MyType, a matching interface is IMyType), | |
252 or an empty enumeration if no such interface is found.</returns> | |
253 </member> | |
254 <member name="M:Microsoft.Practices.Unity.WithMappings.FromAllInterfaces(System.Type)"> | |
255 <summary> | |
256 Returns an enumeration with all the interfaces implemented by <paramref name="implementationType"/>. | |
257 </summary> | |
258 <param name="implementationType">The type to register.</param> | |
259 <returns>An enumeration with all the interfaces implemented by the implementation type except <see cref="T:System.IDisposable"/>.</returns> | |
260 </member> | |
261 <member name="M:Microsoft.Practices.Unity.WithMappings.FromAllInterfacesInSameAssembly(System.Type)"> | |
262 <summary> | |
263 Returns an enumeration with all the interfaces implemented by <paramref name="implementationType"/> that belong to the same assembly as implementationType. | |
264 </summary> | |
265 <param name="implementationType">The type to register.</param> | |
266 <returns>An enumeration with all the interfaces implemented by the implementation type that belong to the same assembly.</returns> | |
267 </member> | |
268 <member name="T:Microsoft.Practices.Unity.UnityContainerRegistrationByConventionExtensions"> | |
269 <summary> | |
270 Provides a set of convenience overloads to the | |
271 <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> interface to support registration of multiple types. | |
272 </summary> | |
273 </member> | |
274 <member name="M:Microsoft.Practices.Unity.UnityContainerRegistrationByConventionExtensions.RegisterTypes(Microsoft.Practices.Unity.IUnityContainer,System.Collections.Generic.IEnumerable{System.Type},System.Func{System.Type,System.Collections.Generic.IEnumerable{System.Type}},System.Func{System.Type,System.String},System.Func{System.Type,Microsoft.Practices.Unity.LifetimeManager},System.Func{System.Type,System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.InjectionMember}},System.Boolean)"> | |
275 <summary> | |
276 Registers the supplied types by using the specified rules for name, lifetime manager, injection members, and registration types. | |
277 </summary> | |
278 <param name="container">The container to configure.</param> | |
279 <param name="types">The types to register. The methods in the <see cref="T:Microsoft.Practices.Unity.AllClasses"/> class can be used to scan assemblies to get types, and further filtering can be performed using LINQ queries.</param> | |
280 <param name="getFromTypes">A function that gets the types that will be requested for each type to configure. It can be a method from the <see cref="T:Microsoft.Practices.Unity.WithMappings"/> class or a custom function. Defaults to no registration types, and registers only the supplied types.</param> | |
281 <param name="getName">A function that gets the name to use for the registration of each type. It can be a method from the <see cref="T:Microsoft.Practices.Unity.WithName"/> or a custom function. Defaults to no name.</param> | |
282 <param name="getLifetimeManager">A function that gets the <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the registration of each type. It can be a method from the <see cref="T:Microsoft.Practices.Unity.WithLifetime"/> class or a custom function. Defaults to no lifetime management.</param> | |
283 <param name="getInjectionMembers">A function that gets the additional <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects for the registration of each type. Defaults to no injection members.</param> | |
284 <param name="overwriteExistingMappings"><see langword="true"/> to overwrite existing mappings; otherwise, <see langword="false"/>. Defaults to <see langword="false"/>.</param> | |
285 <returns> | |
286 The container that this method was called on. | |
287 </returns> | |
288 <exception cref="T:System.ArgumentException">A new registration would overwrite an existing mapping and <paramref name="overwriteExistingMappings"/> is <see langword="false"/>.</exception> | |
289 </member> | |
290 <member name="M:Microsoft.Practices.Unity.UnityContainerRegistrationByConventionExtensions.RegisterTypes(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.RegistrationConvention,System.Boolean)"> | |
291 <summary> | |
292 Registers the types according to the <paramref name="convention"/>. | |
293 </summary> | |
294 <param name="container">The container to configure.</param> | |
295 <param name="convention">The convention to determine which types will be registered and how.</param> | |
296 <param name="overwriteExistingMappings"><see langword="true"/> to overwrite existing mappings; otherwise, <see langword="false"/>. Defaults to <see langword="false"/>.</param> | |
297 <returns> | |
298 The container that this method was called on. | |
299 </returns> | |
300 </member> | |
301 <member name="T:Microsoft.Practices.ObjectBuilder2.LazyDynamicMethodBuildPlanCreatorPolicy"> | |
302 <summary> | |
303 An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanCreatorPolicy"/> implementation | |
304 that constructs a build plan for creating <see cref="T:System.Lazy`1"/> objects. | |
305 </summary> | |
306 </member> | |
307 <member name="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanCreatorPolicy"> | |
308 <summary> | |
309 A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that can create and return an <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanPolicy"/> | |
310 for the given build key. | |
311 </summary> | |
312 </member> | |
313 <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"> | |
314 <summary> | |
315 Represents a builder policy interface. Since there are no fixed requirements | |
316 for policies, it acts as a marker interface from which to derive all other | |
317 policy interfaces. | |
318 </summary> | |
319 </member> | |
320 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuildPlanCreatorPolicy.CreatePlan(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
321 <summary> | |
322 Create a build plan using the given context and build key. | |
323 </summary> | |
324 <param name="context">Current build context.</param> | |
325 <param name="buildKey">Current build key.</param> | |
326 <returns>The build plan.</returns> | |
327 </member> | |
328 <member name="M:Microsoft.Practices.ObjectBuilder2.LazyDynamicMethodBuildPlanCreatorPolicy.CreatePlan(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
329 <summary> | |
330 Creates a build plan using the given context and build key. | |
331 </summary> | |
332 <param name="context">Current build context.</param> | |
333 <param name="buildKey">Current build key.</param> | |
334 <returns> | |
335 The build plan. | |
336 </returns> | |
337 </member> | |
338 <member name="T:Microsoft.Practices.Unity.Utility.TypeReflectionExtensions"> | |
339 <summary> | |
340 Provides extension methods to the <see cref="T:System.Type"/> class due to the introduction | |
341 of <see cref="T:System.Reflection.TypeInfo"/> class in the .NET for Windows Store apps. | |
342 </summary> | |
343 </member> | |
344 <member name="M:Microsoft.Practices.Unity.Utility.TypeReflectionExtensions.GetConstructor(System.Type,System.Type[])"> | |
345 <summary> | |
346 Returns the constructor in <paramref name="type"/> that matches the specified constructor parameter types. | |
347 </summary> | |
348 <param name="type">The type to inspect</param> | |
349 <param name="constructorParameters">The constructor parameter types.</param> | |
350 <returns>The constructor that matches the specified parameter types.</returns> | |
351 </member> | |
352 <member name="M:Microsoft.Practices.Unity.Utility.TypeReflectionExtensions.GetMethodsHierarchical(System.Type)"> | |
353 <summary> | |
354 Returns the non-static declared methods of a type or its base types. | |
355 </summary> | |
356 <param name="type">The type to inspect</param> | |
357 <returns>An enumerable of the <see cref="T:System.Reflection.MethodInfo"/> objects.</returns> | |
358 </member> | |
359 <member name="M:Microsoft.Practices.Unity.Utility.TypeReflectionExtensions.GetMethodHierarchical(System.Type,System.String,System.Type[])"> | |
360 <summary> | |
361 Returns the non-static method of a type or its based type. | |
362 </summary> | |
363 <param name="type">The type to inspect</param> | |
364 <param name="methodName">The name of the method to seek.</param> | |
365 <param name="closedParameters">The (closed) parameter type signature of the method.</param> | |
366 <returns>The discovered <see cref="T:System.Reflection.MethodInfo"/></returns> | |
367 </member> | |
368 <member name="M:Microsoft.Practices.Unity.Utility.TypeReflectionExtensions.GetPropertiesHierarchical(System.Type)"> | |
369 <summary> | |
370 Returns the declared properties of a type or its base types. | |
371 </summary> | |
372 <param name="type">The type to inspect</param> | |
373 <returns>An enumerable of the <see cref="T:System.Reflection.PropertyInfo"/> objects.</returns> | |
374 </member> | |
375 <member name="M:Microsoft.Practices.Unity.Utility.TypeReflectionExtensions.ParametersMatch(System.Reflection.ParameterInfo[],System.Type[])"> | |
376 <summary> | |
377 Determines if the types in a parameter set ordinally matches the set of supplied types. | |
378 </summary> | |
379 <param name="parameters"></param> | |
380 <param name="closedConstructorParameterTypes"></param> | |
381 <returns></returns> | |
382 </member> | |
383 <member name="T:Microsoft.Practices.Unity.DependencyResolutionAttribute"> | |
384 <summary> | |
385 Base class for attributes that can be placed on parameters | |
386 or properties to specify how to resolve the value for | |
387 that parameter or property. | |
388 </summary> | |
389 </member> | |
390 <member name="M:Microsoft.Practices.Unity.DependencyResolutionAttribute.CreateResolver(System.Type)"> | |
391 <summary> | |
392 Create an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that | |
393 will be used to get the value for the member this attribute is | |
394 applied to. | |
395 </summary> | |
396 <param name="typeToResolve">Type of parameter or property that | |
397 this attribute is decoration.</param> | |
398 <returns>The resolver object.</returns> | |
399 </member> | |
400 <member name="T:Microsoft.Practices.Unity.InjectionConstructorAttribute"> | |
401 <summary> | |
402 This attribute is used to indicate which constructor to choose when | |
403 the container attempts to build a type. | |
404 </summary> | |
405 </member> | |
406 <member name="T:Microsoft.Practices.Unity.InjectionMethodAttribute"> | |
407 <summary> | |
408 This attribute is used to mark methods that should be called when | |
409 the container is building an object. | |
410 </summary> | |
411 </member> | |
412 <member name="T:Microsoft.Practices.Unity.DependencyAttribute"> | |
413 <summary> | |
414 This attribute is used to mark properties and parameters as targets for injection. | |
415 </summary> | |
416 <remarks> | |
417 For properties, this attribute is necessary for injection to happen. For parameters, | |
418 it's not needed unless you want to specify additional information to control how | |
419 the parameter is resolved. | |
420 </remarks> | |
421 </member> | |
422 <member name="M:Microsoft.Practices.Unity.DependencyAttribute.#ctor"> | |
423 <summary> | |
424 Create an instance of <see cref="T:Microsoft.Practices.Unity.DependencyAttribute"/> with no name. | |
425 </summary> | |
426 </member> | |
427 <member name="M:Microsoft.Practices.Unity.DependencyAttribute.#ctor(System.String)"> | |
428 <summary> | |
429 Create an instance of <see cref="T:Microsoft.Practices.Unity.DependencyAttribute"/> with the given name. | |
430 </summary> | |
431 <param name="name">Name to use when resolving this dependency.</param> | |
432 </member> | |
433 <member name="M:Microsoft.Practices.Unity.DependencyAttribute.CreateResolver(System.Type)"> | |
434 <summary> | |
435 Create an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that | |
436 will be used to get the value for the member this attribute is | |
437 applied to. | |
438 </summary> | |
439 <param name="typeToResolve">Type of parameter or property that | |
440 this attribute is decoration.</param> | |
441 <returns>The resolver object.</returns> | |
442 </member> | |
443 <member name="P:Microsoft.Practices.Unity.DependencyAttribute.Name"> | |
444 <summary> | |
445 The name specified in the constructor. | |
446 </summary> | |
447 </member> | |
448 <member name="T:Microsoft.Practices.Unity.OptionalDependencyAttribute"> | |
449 <summary> | |
450 An <see cref="T:Microsoft.Practices.Unity.DependencyResolutionAttribute"/> used to mark a dependency | |
451 as optional - the container will try to resolve it, and return null | |
452 if the resolution fails rather than throw. | |
453 </summary> | |
454 </member> | |
455 <member name="M:Microsoft.Practices.Unity.OptionalDependencyAttribute.#ctor"> | |
456 <summary> | |
457 Construct a new <see cref="T:Microsoft.Practices.Unity.OptionalDependencyAttribute"/> object. | |
458 </summary> | |
459 </member> | |
460 <member name="M:Microsoft.Practices.Unity.OptionalDependencyAttribute.#ctor(System.String)"> | |
461 <summary> | |
462 Construct a new <see cref="T:Microsoft.Practices.Unity.OptionalDependencyAttribute"/> object that | |
463 specifies a named dependency. | |
464 </summary> | |
465 <param name="name">Name of the dependency.</param> | |
466 </member> | |
467 <member name="M:Microsoft.Practices.Unity.OptionalDependencyAttribute.CreateResolver(System.Type)"> | |
468 <summary> | |
469 Create an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that | |
470 will be used to get the value for the member this attribute is | |
471 applied to. | |
472 </summary> | |
473 <param name="typeToResolve">Type of parameter or property that | |
474 this attribute is decoration.</param> | |
475 <returns>The resolver object.</returns> | |
476 </member> | |
477 <member name="P:Microsoft.Practices.Unity.OptionalDependencyAttribute.Name"> | |
478 <summary> | |
479 Name of the dependency. | |
480 </summary> | |
481 </member> | |
482 <member name="T:Microsoft.Practices.Unity.CompositeResolverOverride"> | |
483 <summary> | |
484 A <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> that composites other | |
485 ResolverOverride objects. The GetResolver operation then | |
486 returns the resolver from the first child override that | |
487 matches the current context and request. | |
488 </summary> | |
489 </member> | |
490 <member name="T:Microsoft.Practices.Unity.ResolverOverride"> | |
491 <summary> | |
492 Base class for all override objects passed in the | |
493 <see cref="M:Microsoft.Practices.Unity.IUnityContainer.Resolve(System.Type,System.String,Microsoft.Practices.Unity.ResolverOverride[])"/> method. | |
494 </summary> | |
495 </member> | |
496 <member name="M:Microsoft.Practices.Unity.ResolverOverride.GetResolver(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Type)"> | |
497 <summary> | |
498 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that can be used to give a value | |
499 for the given desired dependency. | |
500 </summary> | |
501 <param name="context">Current build context.</param> | |
502 <param name="dependencyType">Type of dependency desired.</param> | |
503 <returns>a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object if this override applies, null if not.</returns> | |
504 </member> | |
505 <member name="M:Microsoft.Practices.Unity.ResolverOverride.OnType``1"> | |
506 <summary> | |
507 Wrap this resolver in one that verifies the type of the object being built. | |
508 This allows you to narrow any override down to a specific type easily. | |
509 </summary> | |
510 <typeparam name="T">Type to constrain the override to.</typeparam> | |
511 <returns>The new override.</returns> | |
512 </member> | |
513 <member name="M:Microsoft.Practices.Unity.ResolverOverride.OnType(System.Type)"> | |
514 <summary> | |
515 Wrap this resolver in one that verifies the type of the object being built. | |
516 This allows you to narrow any override down to a specific type easily. | |
517 </summary> | |
518 <param name="typeToOverride">Type to constrain the override to.</param> | |
519 <returns>The new override.</returns> | |
520 </member> | |
521 <member name="M:Microsoft.Practices.Unity.CompositeResolverOverride.Add(Microsoft.Practices.Unity.ResolverOverride)"> | |
522 <summary> | |
523 Add a new <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> to the collection | |
524 that is checked. | |
525 </summary> | |
526 <param name="newOverride">item to add.</param> | |
527 </member> | |
528 <member name="M:Microsoft.Practices.Unity.CompositeResolverOverride.AddRange(System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.ResolverOverride})"> | |
529 <summary> | |
530 Add a setof <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/>s to the collection. | |
531 </summary> | |
532 <param name="newOverrides">items to add.</param> | |
533 </member> | |
534 <member name="M:Microsoft.Practices.Unity.CompositeResolverOverride.System#Collections#IEnumerable#GetEnumerator"> | |
535 <summary> | |
536 Returns an enumerator that iterates through a collection. | |
537 </summary> | |
538 <returns> | |
539 An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection. | |
540 </returns> | |
541 <filterpriority>2</filterpriority> | |
542 </member> | |
543 <member name="M:Microsoft.Practices.Unity.CompositeResolverOverride.GetEnumerator"> | |
544 <summary> | |
545 Returns an enumerator that iterates through the collection. | |
546 </summary> | |
547 <returns> | |
548 A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection. | |
549 </returns> | |
550 <filterpriority>1</filterpriority> | |
551 </member> | |
552 <member name="M:Microsoft.Practices.Unity.CompositeResolverOverride.GetResolver(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Type)"> | |
553 <summary> | |
554 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that can be used to give a value | |
555 for the given desired dependency. | |
556 </summary> | |
557 <param name="context">Current build context.</param> | |
558 <param name="dependencyType">Type of dependency desired.</param> | |
559 <returns>a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object if this override applies, null if not.</returns> | |
560 </member> | |
561 <member name="T:Microsoft.Practices.Unity.ContainerRegistration"> | |
562 <summary> | |
563 Class that returns information about the types registered in a container. | |
564 </summary> | |
565 </member> | |
566 <member name="P:Microsoft.Practices.Unity.ContainerRegistration.RegisteredType"> | |
567 <summary> | |
568 The type that was passed to the <see cref="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"/> method | |
569 as the "from" type, or the only type if type mapping wasn't done. | |
570 </summary> | |
571 </member> | |
572 <member name="P:Microsoft.Practices.Unity.ContainerRegistration.MappedToType"> | |
573 <summary> | |
574 The type that this registration is mapped to. If no type mapping was done, the | |
575 <see cref="P:Microsoft.Practices.Unity.ContainerRegistration.RegisteredType"/> property and this one will have the same value. | |
576 </summary> | |
577 </member> | |
578 <member name="P:Microsoft.Practices.Unity.ContainerRegistration.Name"> | |
579 <summary> | |
580 Name the type was registered under. Null for default registration. | |
581 </summary> | |
582 </member> | |
583 <member name="P:Microsoft.Practices.Unity.ContainerRegistration.LifetimeManagerType"> | |
584 <summary> | |
585 The registered lifetime manager instance. | |
586 </summary> | |
587 </member> | |
588 <member name="P:Microsoft.Practices.Unity.ContainerRegistration.LifetimeManager"> | |
589 <summary> | |
590 The lifetime manager for this registration. | |
591 </summary> | |
592 <remarks> | |
593 This property will be null if this registration is for an open generic.</remarks> | |
594 </member> | |
595 <member name="T:Microsoft.Practices.Unity.DependencyOverride"> | |
596 <summary> | |
597 A <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> class that overrides | |
598 the value injected whenever there is a dependency of the | |
599 given type, regardless of where it appears in the object graph. | |
600 </summary> | |
601 </member> | |
602 <member name="M:Microsoft.Practices.Unity.DependencyOverride.#ctor(System.Type,System.Object)"> | |
603 <summary> | |
604 Create an instance of <see cref="T:Microsoft.Practices.Unity.DependencyOverride"/> to override | |
605 the given type with the given value. | |
606 </summary> | |
607 <param name="typeToConstruct">Type of the dependency.</param> | |
608 <param name="dependencyValue">Value to use.</param> | |
609 </member> | |
610 <member name="M:Microsoft.Practices.Unity.DependencyOverride.GetResolver(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Type)"> | |
611 <summary> | |
612 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that can be used to give a value | |
613 for the given desired dependency. | |
614 </summary> | |
615 <param name="context">Current build context.</param> | |
616 <param name="dependencyType">Type of dependency desired.</param> | |
617 <returns>a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object if this override applies, null if not.</returns> | |
618 </member> | |
619 <member name="T:Microsoft.Practices.Unity.DependencyOverride`1"> | |
620 <summary> | |
621 A convenience version of <see cref="T:Microsoft.Practices.Unity.DependencyOverride"/> that lets you | |
622 specify the dependency type using generic syntax. | |
623 </summary> | |
624 <typeparam name="T">Type of the dependency to override.</typeparam> | |
625 </member> | |
626 <member name="M:Microsoft.Practices.Unity.DependencyOverride`1.#ctor(System.Object)"> | |
627 <summary> | |
628 Construct a new <see cref="T:Microsoft.Practices.Unity.DependencyOverride`1"/> object that will | |
629 override the given dependency, and pass the given value. | |
630 </summary> | |
631 </member> | |
632 <member name="T:Microsoft.Practices.Unity.DependencyOverrides"> | |
633 <summary> | |
634 A convenience form of <see cref="T:Microsoft.Practices.Unity.DependencyOverride"/> that lets you | |
635 specify multiple parameter overrides in one shot rather than having | |
636 to construct multiple objects. | |
637 </summary> | |
638 <remarks> | |
639 This class isn't really a collection, it just implements IEnumerable | |
640 so that we get use of the nice C# collection initializer syntax. | |
641 </remarks> | |
642 </member> | |
643 <member name="T:Microsoft.Practices.Unity.OverrideCollection`3"> | |
644 <summary> | |
645 Base helper class for creating collections of <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> objects | |
646 for use in passing a bunch of them to the resolve call. This base class provides | |
647 the mechanics needed to allow you to use the C# collection initializer syntax. | |
648 </summary> | |
649 <typeparam name="TOverride">Concrete type of the <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> this class collects.</typeparam> | |
650 <typeparam name="TKey">Key used to create the underlying override object.</typeparam> | |
651 <typeparam name="TValue">Value that the override returns.</typeparam> | |
652 </member> | |
653 <member name="M:Microsoft.Practices.Unity.OverrideCollection`3.Add(`1,`2)"> | |
654 <summary> | |
655 Add a new override to the collection with the given key and value. | |
656 </summary> | |
657 <param name="key">Key - for example, a parameter or property name.</param> | |
658 <param name="value">Value - the value to be returned by the override.</param> | |
659 </member> | |
660 <member name="M:Microsoft.Practices.Unity.OverrideCollection`3.GetResolver(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Type)"> | |
661 <summary> | |
662 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that can be used to give a value | |
663 for the given desired dependency. | |
664 </summary> | |
665 <param name="context">Current build context.</param> | |
666 <param name="dependencyType">Type of dependency desired.</param> | |
667 <returns>a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object if this override applies, null if not.</returns> | |
668 </member> | |
669 <member name="M:Microsoft.Practices.Unity.OverrideCollection`3.System#Collections#IEnumerable#GetEnumerator"> | |
670 <summary> | |
671 Returns an enumerator that iterates through a collection. | |
672 </summary> | |
673 <returns> | |
674 An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection. | |
675 </returns> | |
676 <filterpriority>2</filterpriority> | |
677 </member> | |
678 <member name="M:Microsoft.Practices.Unity.OverrideCollection`3.GetEnumerator"> | |
679 <summary> | |
680 Returns an enumerator that iterates through the collection. | |
681 </summary> | |
682 <returns> | |
683 A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection. | |
684 </returns> | |
685 <filterpriority>1</filterpriority> | |
686 </member> | |
687 <member name="M:Microsoft.Practices.Unity.OverrideCollection`3.MakeOverride(`1,`2)"> | |
688 <summary> | |
689 When implemented in derived classes, this method is called from the <see cref="M:Microsoft.Practices.Unity.OverrideCollection`3.Add(`1,`2)"/> | |
690 method to create the actual <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> objects. | |
691 </summary> | |
692 <param name="key">Key value to create the resolver.</param> | |
693 <param name="value">Value to store in the resolver.</param> | |
694 <returns>The created <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/>.</returns> | |
695 </member> | |
696 <member name="M:Microsoft.Practices.Unity.DependencyOverrides.MakeOverride(System.Type,System.Object)"> | |
697 <summary> | |
698 When implemented in derived classes, this method is called from the <see cref="M:Microsoft.Practices.Unity.OverrideCollection`3.Add(`1,`2)"/> | |
699 method to create the actual <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> objects. | |
700 </summary> | |
701 <param name="key">Key value to create the resolver.</param> | |
702 <param name="value">Value to store in the resolver.</param> | |
703 <returns>The created <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/>.</returns> | |
704 </member> | |
705 <member name="T:Microsoft.Practices.Unity.ChildContainerCreatedEventArgs"> | |
706 <summary> | |
707 Event argument class for the <see cref="E:Microsoft.Practices.Unity.ExtensionContext.ChildContainerCreated"/> event. | |
708 </summary> | |
709 </member> | |
710 <member name="M:Microsoft.Practices.Unity.ChildContainerCreatedEventArgs.#ctor(Microsoft.Practices.Unity.ExtensionContext)"> | |
711 <summary> | |
712 Construct a new <see cref="T:Microsoft.Practices.Unity.ChildContainerCreatedEventArgs"/> object with the | |
713 given child container object. | |
714 </summary> | |
715 <param name="childContext">An <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> for the newly created child | |
716 container.</param> | |
717 </member> | |
718 <member name="P:Microsoft.Practices.Unity.ChildContainerCreatedEventArgs.ChildContainer"> | |
719 <summary> | |
720 The newly created child container. | |
721 </summary> | |
722 </member> | |
723 <member name="P:Microsoft.Practices.Unity.ChildContainerCreatedEventArgs.ChildContext"> | |
724 <summary> | |
725 An extension context for the created child container. | |
726 </summary> | |
727 </member> | |
728 <member name="T:Microsoft.Practices.Unity.GenericParameterBase"> | |
729 <summary> | |
730 Base class for <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> subclasses that let you specify that | |
731 an instance of a generic type parameter should be resolved. | |
732 </summary> | |
733 </member> | |
734 <member name="T:Microsoft.Practices.Unity.InjectionParameterValue"> | |
735 <summary> | |
736 Base type for objects that are used to configure parameters for | |
737 constructor or method injection, or for getting the value to | |
738 be injected into a property. | |
739 </summary> | |
740 </member> | |
741 <member name="M:Microsoft.Practices.Unity.InjectionParameterValue.MatchesType(System.Type)"> | |
742 <summary> | |
743 Test to see if this parameter value has a matching type for the given type. | |
744 </summary> | |
745 <param name="t">Type to check.</param> | |
746 <returns>True if this parameter value is compatible with type <paramref name="t"/>, | |
747 false if not.</returns> | |
748 </member> | |
749 <member name="M:Microsoft.Practices.Unity.InjectionParameterValue.GetResolverPolicy(System.Type)"> | |
750 <summary> | |
751 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
752 return this types value for the parameter. | |
753 </summary> | |
754 <param name="typeToBuild">Type that contains the member that needs this parameter. Used | |
755 to resolve open generic parameters.</param> | |
756 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
757 </member> | |
758 <member name="M:Microsoft.Practices.Unity.InjectionParameterValue.ToParameters(System.Object[])"> | |
759 <summary> | |
760 Convert the given set of arbitrary values to a sequence of InjectionParameterValue | |
761 objects. The rules are: If it's already an InjectionParameterValue, return it. If | |
762 it's a Type, return a ResolvedParameter object for that type. Otherwise return | |
763 an InjectionParameter object for that value. | |
764 </summary> | |
765 <param name="values">The values to build the sequence from.</param> | |
766 <returns>The resulting converted sequence.</returns> | |
767 </member> | |
768 <member name="M:Microsoft.Practices.Unity.InjectionParameterValue.ToParameter(System.Object)"> | |
769 <summary> | |
770 Convert an arbitrary value to an InjectionParameterValue object. The rules are: | |
771 If it's already an InjectionParameterValue, return it. If it's a Type, return a | |
772 ResolvedParameter object for that type. Otherwise return an InjectionParameter | |
773 object for that value. | |
774 </summary> | |
775 <param name="value">The value to convert.</param> | |
776 <returns>The resulting <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/>.</returns> | |
777 </member> | |
778 <member name="P:Microsoft.Practices.Unity.InjectionParameterValue.ParameterTypeName"> | |
779 <summary> | |
780 Name for the type represented by this <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/>. | |
781 This may be an actual type name or a generic argument name. | |
782 </summary> | |
783 </member> | |
784 <member name="M:Microsoft.Practices.Unity.GenericParameterBase.#ctor(System.String)"> | |
785 <summary> | |
786 Create a new <see cref="T:Microsoft.Practices.Unity.GenericParameter"/> instance that specifies | |
787 that the given named generic parameter should be resolved. | |
788 </summary> | |
789 <param name="genericParameterName">The generic parameter name to resolve.</param> | |
790 </member> | |
791 <member name="M:Microsoft.Practices.Unity.GenericParameterBase.#ctor(System.String,System.String)"> | |
792 <summary> | |
793 Create a new <see cref="T:Microsoft.Practices.Unity.GenericParameter"/> instance that specifies | |
794 that the given named generic parameter should be resolved. | |
795 </summary> | |
796 <param name="genericParameterName">The generic parameter name to resolve.</param> | |
797 <param name="resolutionKey">name to use when looking up in the container.</param> | |
798 </member> | |
799 <member name="M:Microsoft.Practices.Unity.GenericParameterBase.MatchesType(System.Type)"> | |
800 <summary> | |
801 Test to see if this parameter value has a matching type for the given type. | |
802 </summary> | |
803 <param name="t">Type to check.</param> | |
804 <returns>True if this parameter value is compatible with type <paramref name="t"/>, | |
805 false if not.</returns> | |
806 </member> | |
807 <member name="M:Microsoft.Practices.Unity.GenericParameterBase.GetResolverPolicy(System.Type)"> | |
808 <summary> | |
809 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
810 return this types value for the parameter. | |
811 </summary> | |
812 <param name="typeToBuild">Type that contains the member that needs this parameter. Used | |
813 to resolve open generic parameters.</param> | |
814 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
815 </member> | |
816 <member name="M:Microsoft.Practices.Unity.GenericParameterBase.DoGetResolverPolicy(System.Type,System.String)"> | |
817 <summary> | |
818 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
819 return this types value for the parameter. | |
820 </summary> | |
821 <param name="typeToResolve">The actual type to resolve.</param> | |
822 <param name="resolutionKey">The resolution key.</param> | |
823 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
824 </member> | |
825 <member name="P:Microsoft.Practices.Unity.GenericParameterBase.ParameterTypeName"> | |
826 <summary> | |
827 Name for the type represented by this <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/>. | |
828 This may be an actual type name or a generic argument name. | |
829 </summary> | |
830 </member> | |
831 <member name="T:Microsoft.Practices.Unity.OptionalGenericParameter"> | |
832 <summary> | |
833 A <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> that lets you specify that | |
834 an instance of a generic type parameter should be resolved, providing the <see langword="null"/> | |
835 value if resolving fails. | |
836 </summary> | |
837 </member> | |
838 <member name="M:Microsoft.Practices.Unity.OptionalGenericParameter.#ctor(System.String)"> | |
839 <summary> | |
840 Create a new <see cref="T:Microsoft.Practices.Unity.GenericParameter"/> instance that specifies | |
841 that the given named generic parameter should be resolved. | |
842 </summary> | |
843 <param name="genericParameterName">The generic parameter name to resolve.</param> | |
844 </member> | |
845 <member name="M:Microsoft.Practices.Unity.OptionalGenericParameter.#ctor(System.String,System.String)"> | |
846 <summary> | |
847 Create a new <see cref="T:Microsoft.Practices.Unity.GenericParameter"/> instance that specifies | |
848 that the given named generic parameter should be resolved. | |
849 </summary> | |
850 <param name="genericParameterName">The generic parameter name to resolve.</param> | |
851 <param name="resolutionKey">name to use when looking up in the container.</param> | |
852 </member> | |
853 <member name="M:Microsoft.Practices.Unity.OptionalGenericParameter.DoGetResolverPolicy(System.Type,System.String)"> | |
854 <summary> | |
855 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
856 return this types value for the parameter. | |
857 </summary> | |
858 <param name="typeToResolve">The actual type to resolve.</param> | |
859 <param name="resolutionKey">The resolution key.</param> | |
860 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
861 </member> | |
862 <member name="T:Microsoft.Practices.Unity.InjectionFactory"> | |
863 <summary> | |
864 A class that lets you specify a factory method the container | |
865 will use to create the object. | |
866 </summary> | |
867 <remarks>This is a significantly easier way to do the same | |
868 thing the old static factory extension was used for.</remarks> | |
869 </member> | |
870 <member name="T:Microsoft.Practices.Unity.InjectionMember"> | |
871 <summary> | |
872 Base class for objects that can be used to configure what | |
873 class members get injected by the container. | |
874 </summary> | |
875 </member> | |
876 <member name="M:Microsoft.Practices.Unity.InjectionMember.AddPolicies(System.Type,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
877 <summary> | |
878 Add policies to the <paramref name="policies"/> to configure the | |
879 container to call this constructor with the appropriate parameter values. | |
880 </summary> | |
881 <param name="typeToCreate">Type to register.</param> | |
882 <param name="policies">Policy list to add policies to.</param> | |
883 </member> | |
884 <member name="M:Microsoft.Practices.Unity.InjectionMember.AddPolicies(System.Type,System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
885 <summary> | |
886 Add policies to the <paramref name="policies"/> to configure the | |
887 container to call this constructor with the appropriate parameter values. | |
888 </summary> | |
889 <param name="serviceType">Type of interface being registered. If no interface, | |
890 this will be null.</param> | |
891 <param name="implementationType">Type of concrete type being registered.</param> | |
892 <param name="name">Name used to resolve the type object.</param> | |
893 <param name="policies">Policy list to add policies to.</param> | |
894 </member> | |
895 <member name="M:Microsoft.Practices.Unity.InjectionFactory.#ctor(System.Func{Microsoft.Practices.Unity.IUnityContainer,System.Object})"> | |
896 <summary> | |
897 Create a new instance of <see cref="T:Microsoft.Practices.Unity.InjectionFactory"/> with | |
898 the given factory function. | |
899 </summary> | |
900 <param name="factoryFunc">Factory function.</param> | |
901 </member> | |
902 <member name="M:Microsoft.Practices.Unity.InjectionFactory.#ctor(System.Func{Microsoft.Practices.Unity.IUnityContainer,System.Type,System.String,System.Object})"> | |
903 <summary> | |
904 Create a new instance of <see cref="T:Microsoft.Practices.Unity.InjectionFactory"/> with | |
905 the given factory function. | |
906 </summary> | |
907 <param name="factoryFunc">Factory function.</param> | |
908 </member> | |
909 <member name="M:Microsoft.Practices.Unity.InjectionFactory.AddPolicies(System.Type,System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
910 <summary> | |
911 Add policies to the <paramref name="policies"/> to configure the | |
912 container to call this constructor with the appropriate parameter values. | |
913 </summary> | |
914 <param name="serviceType">Type of interface being registered. If no interface, | |
915 this will be null. This parameter is ignored in this implementation.</param> | |
916 <param name="implementationType">Type of concrete type being registered.</param> | |
917 <param name="name">Name used to resolve the type object.</param> | |
918 <param name="policies">Policy list to add policies to.</param> | |
919 </member> | |
920 <member name="T:Microsoft.Practices.Unity.OptionalParameter"> | |
921 <summary> | |
922 A <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> that can be passed to | |
923 <see cref="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"/> to configure a | |
924 parameter or property as an optional dependency. | |
925 </summary> | |
926 </member> | |
927 <member name="T:Microsoft.Practices.Unity.TypedInjectionValue"> | |
928 <summary> | |
929 A base class for implementing <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> classes | |
930 that deal in explicit types. | |
931 </summary> | |
932 </member> | |
933 <member name="M:Microsoft.Practices.Unity.TypedInjectionValue.#ctor(System.Type)"> | |
934 <summary> | |
935 Create a new <see cref="T:Microsoft.Practices.Unity.TypedInjectionValue"/> that exposes | |
936 information about the given <paramref name="parameterType"/>. | |
937 </summary> | |
938 <param name="parameterType">Type of the parameter.</param> | |
939 </member> | |
940 <member name="M:Microsoft.Practices.Unity.TypedInjectionValue.MatchesType(System.Type)"> | |
941 <summary> | |
942 Test to see if this parameter value has a matching type for the given type. | |
943 </summary> | |
944 <param name="t">Type to check.</param> | |
945 <returns>True if this parameter value is compatible with type <paramref name="t"/>, | |
946 false if not.</returns> | |
947 </member> | |
948 <member name="P:Microsoft.Practices.Unity.TypedInjectionValue.ParameterType"> | |
949 <summary> | |
950 The type of parameter this object represents. | |
951 </summary> | |
952 </member> | |
953 <member name="P:Microsoft.Practices.Unity.TypedInjectionValue.ParameterTypeName"> | |
954 <summary> | |
955 Name for the type represented by this <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/>. | |
956 This may be an actual type name or a generic argument name. | |
957 </summary> | |
958 </member> | |
959 <member name="M:Microsoft.Practices.Unity.OptionalParameter.#ctor(System.Type)"> | |
960 <summary> | |
961 Construct a new <see cref="T:Microsoft.Practices.Unity.OptionalParameter"/> object that | |
962 specifies the given <paramref name="type"/>. | |
963 </summary> | |
964 <param name="type">Type of the dependency.</param> | |
965 </member> | |
966 <member name="M:Microsoft.Practices.Unity.OptionalParameter.#ctor(System.Type,System.String)"> | |
967 <summary> | |
968 Construct a new <see cref="T:Microsoft.Practices.Unity.OptionalParameter"/> object that | |
969 specifies the given <paramref name="type"/> and <paramref name="name"/>. | |
970 </summary> | |
971 <param name="type">Type of the dependency.</param> | |
972 <param name="name">Name for the dependency.</param> | |
973 </member> | |
974 <member name="M:Microsoft.Practices.Unity.OptionalParameter.GetResolverPolicy(System.Type)"> | |
975 <summary> | |
976 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
977 return this types value for the parameter. | |
978 </summary> | |
979 <param name="typeToBuild">Type that contains the member that needs this parameter. Used | |
980 to resolve open generic parameters.</param> | |
981 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
982 </member> | |
983 <member name="T:Microsoft.Practices.Unity.OptionalParameter`1"> | |
984 <summary> | |
985 A generic version of <see cref="T:Microsoft.Practices.Unity.OptionalParameter"></see> that lets you | |
986 specify the type of the dependency using generics syntax. | |
987 </summary> | |
988 <typeparam name="T">Type of the dependency.</typeparam> | |
989 </member> | |
990 <member name="M:Microsoft.Practices.Unity.OptionalParameter`1.#ctor"> | |
991 <summary> | |
992 Construct a new <see cref="T:Microsoft.Practices.Unity.OptionalParameter`1"/>. | |
993 </summary> | |
994 </member> | |
995 <member name="M:Microsoft.Practices.Unity.OptionalParameter`1.#ctor(System.String)"> | |
996 <summary> | |
997 Construct a new <see cref="T:Microsoft.Practices.Unity.OptionalParameter`1"/> with the given | |
998 <paramref name="name"/>. | |
999 </summary> | |
1000 <param name="name">Name of the dependency.</param> | |
1001 </member> | |
1002 <member name="T:Microsoft.Practices.Unity.HierarchicalLifetimeManager"> | |
1003 <summary> | |
1004 A special lifetime manager which works like <see cref="T:Microsoft.Practices.Unity.ContainerControlledLifetimeManager"/>, | |
1005 except that in the presence of child containers, each child gets it's own instance | |
1006 of the object, instead of sharing one in the common parent. | |
1007 </summary> | |
1008 </member> | |
1009 <member name="T:Microsoft.Practices.Unity.ContainerControlledLifetimeManager"> | |
1010 <summary> | |
1011 A <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that holds onto the instance given to it. | |
1012 When the <see cref="T:Microsoft.Practices.Unity.ContainerControlledLifetimeManager"/> is disposed, | |
1013 the instance is disposed with it. | |
1014 </summary> | |
1015 </member> | |
1016 <member name="T:Microsoft.Practices.Unity.SynchronizedLifetimeManager"> | |
1017 <summary> | |
1018 Base class for Lifetime managers which need to synchronize calls to | |
1019 <see cref="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.GetValue"/>. | |
1020 </summary> | |
1021 <remarks> | |
1022 <para> | |
1023 The purpose of this class is to provide a basic implementation of the lifetime manager synchronization pattern. | |
1024 </para> | |
1025 <para> | |
1026 Calls to the <see cref="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.GetValue"/> method of a <see cref="T:Microsoft.Practices.Unity.SynchronizedLifetimeManager"/> | |
1027 instance acquire a lock, and if the instance has not been initialized with a value yet the lock will only be released | |
1028 when such an initialization takes place by calling the <see cref="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.SetValue(System.Object)"/> method or if | |
1029 the build request which resulted in the call to the GetValue method fails. | |
1030 </para> | |
1031 </remarks> | |
1032 <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> | |
1033 </member> | |
1034 <member name="T:Microsoft.Practices.Unity.LifetimeManager"> | |
1035 <summary> | |
1036 Base class for Lifetime managers - classes that control how | |
1037 and when instances are created by the Unity container. | |
1038 </summary> | |
1039 </member> | |
1040 <member name="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"> | |
1041 <summary> | |
1042 A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that controls how instances are | |
1043 persisted and recovered from an external store. Used to implement | |
1044 things like singletons and per-http-request lifetime. | |
1045 </summary> | |
1046 </member> | |
1047 <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy.GetValue"> | |
1048 <summary> | |
1049 Retrieve a value from the backing store associated with this Lifetime policy. | |
1050 </summary> | |
1051 <returns>the object desired, or null if no such object is currently stored.</returns> | |
1052 </member> | |
1053 <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy.SetValue(System.Object)"> | |
1054 <summary> | |
1055 Stores the given value into backing store for retrieval later. | |
1056 </summary> | |
1057 <param name="newValue">The object to store.</param> | |
1058 </member> | |
1059 <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy.RemoveValue"> | |
1060 <summary> | |
1061 Remove the value this lifetime policy is managing from backing store. | |
1062 </summary> | |
1063 </member> | |
1064 <member name="M:Microsoft.Practices.Unity.LifetimeManager.GetValue"> | |
1065 <summary> | |
1066 Retrieve a value from the backing store associated with this Lifetime policy. | |
1067 </summary> | |
1068 <returns>the object desired, or null if no such object is currently stored.</returns> | |
1069 </member> | |
1070 <member name="M:Microsoft.Practices.Unity.LifetimeManager.SetValue(System.Object)"> | |
1071 <summary> | |
1072 Stores the given value into backing store for retrieval later. | |
1073 </summary> | |
1074 <param name="newValue">The object being stored.</param> | |
1075 </member> | |
1076 <member name="M:Microsoft.Practices.Unity.LifetimeManager.RemoveValue"> | |
1077 <summary> | |
1078 Remove the given object from backing store. | |
1079 </summary> | |
1080 </member> | |
1081 <member name="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"> | |
1082 <summary> | |
1083 This interface provides a hook for the builder context to | |
1084 implement error recovery when a builder strategy throws | |
1085 an exception. Since we can't get try/finally blocks onto | |
1086 the call stack for later stages in the chain, we instead | |
1087 add these objects to the context. If there's an exception, | |
1088 all the current IRequiresRecovery instances will have | |
1089 their Recover methods called. | |
1090 </summary> | |
1091 </member> | |
1092 <member name="M:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery.Recover"> | |
1093 <summary> | |
1094 A method that does whatever is needed to clean up | |
1095 as part of cleaning up after an exception. | |
1096 </summary> | |
1097 <remarks> | |
1098 Don't do anything that could throw in this method, | |
1099 it will cause later recover operations to get skipped | |
1100 and play real havoc with the stack trace. | |
1101 </remarks> | |
1102 </member> | |
1103 <member name="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.GetValue"> | |
1104 <summary> | |
1105 Retrieve a value from the backing store associated with this Lifetime policy. | |
1106 </summary> | |
1107 <returns>the object desired, or null if no such object is currently stored.</returns> | |
1108 <remarks>Calls to this method acquire a lock which is released only if a non-null value | |
1109 has been set for the lifetime manager.</remarks> | |
1110 </member> | |
1111 <member name="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.SynchronizedGetValue"> | |
1112 <summary> | |
1113 Performs the actual retrieval of a value from the backing store associated | |
1114 with this Lifetime policy. | |
1115 </summary> | |
1116 <returns>the object desired, or null if no such object is currently stored.</returns> | |
1117 <remarks>This method is invoked by <see cref="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.GetValue"/> | |
1118 after it has acquired its lock.</remarks> | |
1119 </member> | |
1120 <member name="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.SetValue(System.Object)"> | |
1121 <summary> | |
1122 Stores the given value into backing store for retrieval later. | |
1123 </summary> | |
1124 <param name="newValue">The object being stored.</param> | |
1125 <remarks>Setting a value will attempt to release the lock acquired by | |
1126 <see cref="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.GetValue"/>.</remarks> | |
1127 </member> | |
1128 <member name="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.SynchronizedSetValue(System.Object)"> | |
1129 <summary> | |
1130 Performs the actual storage of the given value into backing store for retrieval later. | |
1131 </summary> | |
1132 <param name="newValue">The object being stored.</param> | |
1133 <remarks>This method is invoked by <see cref="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.SetValue(System.Object)"/> | |
1134 before releasing its lock.</remarks> | |
1135 </member> | |
1136 <member name="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.RemoveValue"> | |
1137 <summary> | |
1138 Remove the given object from backing store. | |
1139 </summary> | |
1140 </member> | |
1141 <member name="M:Microsoft.Practices.Unity.SynchronizedLifetimeManager.Recover"> | |
1142 <summary> | |
1143 A method that does whatever is needed to clean up | |
1144 as part of cleaning up after an exception. | |
1145 </summary> | |
1146 <remarks> | |
1147 Don't do anything that could throw in this method, | |
1148 it will cause later recover operations to get skipped | |
1149 and play real havoc with the stack trace. | |
1150 </remarks> | |
1151 </member> | |
1152 <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.SynchronizedGetValue"> | |
1153 <summary> | |
1154 Retrieve a value from the backing store associated with this Lifetime policy. | |
1155 </summary> | |
1156 <returns>the object desired, or null if no such object is currently stored.</returns> | |
1157 </member> | |
1158 <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.SynchronizedSetValue(System.Object)"> | |
1159 <summary> | |
1160 Stores the given value into backing store for retrieval later. | |
1161 </summary> | |
1162 <param name="newValue">The object being stored.</param> | |
1163 </member> | |
1164 <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.RemoveValue"> | |
1165 <summary> | |
1166 Remove the given object from backing store. | |
1167 </summary> | |
1168 </member> | |
1169 <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.Dispose"> | |
1170 <summary> | |
1171 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
1172 </summary> | |
1173 <filterpriority>2</filterpriority> | |
1174 </member> | |
1175 <member name="M:Microsoft.Practices.Unity.ContainerControlledLifetimeManager.Dispose(System.Boolean)"> | |
1176 <summary> | |
1177 Standard Dispose pattern implementation. Not needed, but it keeps FxCop happy. | |
1178 </summary> | |
1179 <param name="disposing">Always true, since we don't have a finalizer.</param> | |
1180 </member> | |
1181 <member name="T:Microsoft.Practices.Unity.PerResolveLifetimeManager"> | |
1182 <summary> | |
1183 This is a custom lifetime manager that acts like <see cref="T:Microsoft.Practices.Unity.TransientLifetimeManager"/>, | |
1184 but also provides a signal to the default build plan, marking the type so that | |
1185 instances are reused across the build up object graph. | |
1186 </summary> | |
1187 </member> | |
1188 <member name="M:Microsoft.Practices.Unity.PerResolveLifetimeManager.#ctor"> | |
1189 <summary> | |
1190 Construct a new <see cref="T:Microsoft.Practices.Unity.PerResolveLifetimeManager"/> object that does not | |
1191 itself manage an instance. | |
1192 </summary> | |
1193 </member> | |
1194 <member name="M:Microsoft.Practices.Unity.PerResolveLifetimeManager.#ctor(System.Object)"> | |
1195 <summary> | |
1196 Construct a new <see cref="T:Microsoft.Practices.Unity.PerResolveLifetimeManager"/> object that stores the | |
1197 give value. This value will be returned by <see cref="M:Microsoft.Practices.Unity.LifetimeManager.GetValue"/> | |
1198 but is not stored in the lifetime manager, nor is the value disposed. | |
1199 This Lifetime manager is intended only for internal use, which is why the | |
1200 normal <see cref="M:Microsoft.Practices.Unity.LifetimeManager.SetValue(System.Object)"/> method is not used here. | |
1201 </summary> | |
1202 <param name="value">Value to store.</param> | |
1203 </member> | |
1204 <member name="M:Microsoft.Practices.Unity.PerResolveLifetimeManager.GetValue"> | |
1205 <summary> | |
1206 Retrieve a value from the backing store associated with this Lifetime policy. | |
1207 </summary> | |
1208 <returns>the object desired, or null if no such object is currently stored.</returns> | |
1209 </member> | |
1210 <member name="M:Microsoft.Practices.Unity.PerResolveLifetimeManager.SetValue(System.Object)"> | |
1211 <summary> | |
1212 Stores the given value into backing store for retrieval later. In this class, | |
1213 this is a noop, since it has special hooks down in the guts. | |
1214 </summary> | |
1215 <param name="newValue">The object being stored.</param> | |
1216 </member> | |
1217 <member name="M:Microsoft.Practices.Unity.PerResolveLifetimeManager.RemoveValue"> | |
1218 <summary> | |
1219 Remove the given object from backing store. Noop in this class. | |
1220 </summary> | |
1221 </member> | |
1222 <member name="T:Microsoft.Practices.Unity.HierarchicalLifetimeStrategy"> | |
1223 <summary> | |
1224 A strategy that handles Hierarchical lifetimes across a set of parent/child | |
1225 containers. | |
1226 </summary> | |
1227 </member> | |
1228 <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"> | |
1229 <summary> | |
1230 Represents a strategy in the chain of responsibility. | |
1231 Strategies are required to support both BuildUp and TearDown. | |
1232 </summary> | |
1233 </member> | |
1234 <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"> | |
1235 <summary> | |
1236 Represents a strategy in the chain of responsibility. | |
1237 Strategies are required to support both BuildUp and TearDown. Although you | |
1238 can implement this interface directly, you may also choose to use | |
1239 <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> as the base class for your strategies, as | |
1240 this class provides useful helper methods and makes support BuildUp and TearDown | |
1241 optional. | |
1242 </summary> | |
1243 </member> | |
1244 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1245 <summary> | |
1246 Called during the chain of responsibility for a build operation. The | |
1247 PreBuildUp method is called when the chain is being executed in the | |
1248 forward direction. | |
1249 </summary> | |
1250 <param name="context">Context of the build operation.</param> | |
1251 </member> | |
1252 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy.PostBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1253 <summary> | |
1254 Called during the chain of responsibility for a build operation. The | |
1255 PostBuildUp method is called when the chain has finished the PreBuildUp | |
1256 phase and executes in reverse order from the PreBuildUp calls. | |
1257 </summary> | |
1258 <param name="context">Context of the build operation.</param> | |
1259 </member> | |
1260 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy.PreTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1261 <summary> | |
1262 Called during the chain of responsibility for a teardown operation. The | |
1263 PreTearDown method is called when the chain is being executed in the | |
1264 forward direction. | |
1265 </summary> | |
1266 <param name="context">Context of the teardown operation.</param> | |
1267 </member> | |
1268 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy.PostTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1269 <summary> | |
1270 Called during the chain of responsibility for a teardown operation. The | |
1271 PostTearDown method is called when the chain has finished the PreTearDown | |
1272 phase and executes in reverse order from the PreTearDown calls. | |
1273 </summary> | |
1274 <param name="context">Context of the teardown operation.</param> | |
1275 </member> | |
1276 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1277 <summary> | |
1278 Called during the chain of responsibility for a build operation. The | |
1279 PreBuildUp method is called when the chain is being executed in the | |
1280 forward direction. | |
1281 </summary> | |
1282 <param name="context">Context of the build operation.</param> | |
1283 </member> | |
1284 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderStrategy.PostBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1285 <summary> | |
1286 Called during the chain of responsibility for a build operation. The | |
1287 PostBuildUp method is called when the chain has finished the PreBuildUp | |
1288 phase and executes in reverse order from the PreBuildUp calls. | |
1289 </summary> | |
1290 <param name="context">Context of the build operation.</param> | |
1291 </member> | |
1292 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderStrategy.PreTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1293 <summary> | |
1294 Called during the chain of responsibility for a teardown operation. The | |
1295 PreTearDown method is called when the chain is being executed in the | |
1296 forward direction. | |
1297 </summary> | |
1298 <param name="context">Context of the teardown operation.</param> | |
1299 </member> | |
1300 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderStrategy.PostTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1301 <summary> | |
1302 Called during the chain of responsibility for a teardown operation. The | |
1303 PostTearDown method is called when the chain has finished the PreTearDown | |
1304 phase and executes in reverse order from the PreTearDown calls. | |
1305 </summary> | |
1306 <param name="context">Context of the teardown operation.</param> | |
1307 </member> | |
1308 <member name="M:Microsoft.Practices.Unity.HierarchicalLifetimeStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1309 <summary> | |
1310 Called during the chain of responsibility for a build operation. The | |
1311 PreBuildUp method is called when the chain is being executed in the | |
1312 forward direction. | |
1313 </summary> | |
1314 <param name="context">Context of the build operation.</param> | |
1315 </member> | |
1316 <member name="T:Microsoft.Practices.Unity.OptionalDependencyResolverPolicy"> | |
1317 <summary> | |
1318 A <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that will attempt to | |
1319 resolve a value, and return null if it cannot rather than throwing. | |
1320 </summary> | |
1321 </member> | |
1322 <member name="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"> | |
1323 <summary> | |
1324 A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that is used at build plan execution time | |
1325 to resolve a dependent value. | |
1326 </summary> | |
1327 </member> | |
1328 <member name="M:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1329 <summary> | |
1330 Get the value for a dependency. | |
1331 </summary> | |
1332 <param name="context">Current build context.</param> | |
1333 <returns>The value for the dependency.</returns> | |
1334 </member> | |
1335 <member name="M:Microsoft.Practices.Unity.OptionalDependencyResolverPolicy.#ctor(System.Type,System.String)"> | |
1336 <summary> | |
1337 Construct a new <see cref="T:Microsoft.Practices.Unity.OptionalDependencyResolverPolicy"/> object | |
1338 that will attempt to resolve the given name and type from the container. | |
1339 </summary> | |
1340 <param name="type">Type to resolve. Must be a reference type.</param> | |
1341 <param name="name">Name to resolve with.</param> | |
1342 </member> | |
1343 <member name="M:Microsoft.Practices.Unity.OptionalDependencyResolverPolicy.#ctor(System.Type)"> | |
1344 <summary> | |
1345 Construct a new <see cref="T:Microsoft.Practices.Unity.OptionalDependencyResolverPolicy"/> object | |
1346 that will attempt to resolve the given type from the container. | |
1347 </summary> | |
1348 <param name="type">Type to resolve. Must be a reference type.</param> | |
1349 </member> | |
1350 <member name="M:Microsoft.Practices.Unity.OptionalDependencyResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1351 <summary> | |
1352 Get the value for a dependency. | |
1353 </summary> | |
1354 <param name="context">Current build context.</param> | |
1355 <returns>The value for the dependency.</returns> | |
1356 </member> | |
1357 <member name="P:Microsoft.Practices.Unity.OptionalDependencyResolverPolicy.DependencyType"> | |
1358 <summary> | |
1359 Type this resolver will resolve. | |
1360 </summary> | |
1361 </member> | |
1362 <member name="P:Microsoft.Practices.Unity.OptionalDependencyResolverPolicy.Name"> | |
1363 <summary> | |
1364 Name this resolver will resolve. | |
1365 </summary> | |
1366 </member> | |
1367 <member name="T:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions"> | |
1368 <summary> | |
1369 Extension methods on <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to provide convenience | |
1370 overloads (generic versions, mostly). | |
1371 </summary> | |
1372 </member> | |
1373 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Clear``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object)"> | |
1374 <summary> | |
1375 Removes an individual policy type for a build key. | |
1376 </summary> | |
1377 <typeparam name="TPolicyInterface">The type the policy was registered as.</typeparam> | |
1378 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to remove the policy from.</param> | |
1379 <param name="buildKey">The key the policy applies.</param> | |
1380 </member> | |
1381 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.ClearDefault``1(Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
1382 <summary> | |
1383 Removes a default policy. | |
1384 </summary> | |
1385 <typeparam name="TPolicyInterface">The type the policy was registered as.</typeparam> | |
1386 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to remove the policy from.</param> | |
1387 </member> | |
1388 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Get``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object)"> | |
1389 <summary> | |
1390 Gets an individual policy. | |
1391 </summary> | |
1392 <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam> | |
1393 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1394 <param name="buildKey">The key the policy applies.</param> | |
1395 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1396 </member> | |
1397 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Get``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,Microsoft.Practices.ObjectBuilder2.IPolicyList@)"> | |
1398 <summary> | |
1399 Gets an individual policy. | |
1400 </summary> | |
1401 <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam> | |
1402 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1403 <param name="buildKey">The key the policy applies.</param> | |
1404 <param name="containingPolicyList">The policy list that actually contains the returned policy.</param> | |
1405 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1406 </member> | |
1407 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Get(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Type,System.Object)"> | |
1408 <summary> | |
1409 Gets an individual policy. | |
1410 </summary> | |
1411 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1412 <param name="policyInterface">The interface the policy is registered under.</param> | |
1413 <param name="buildKey">The key the policy applies.</param> | |
1414 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1415 </member> | |
1416 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Get(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Type,System.Object,Microsoft.Practices.ObjectBuilder2.IPolicyList@)"> | |
1417 <summary> | |
1418 Gets an individual policy. | |
1419 </summary> | |
1420 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1421 <param name="policyInterface">The interface the policy is registered under.</param> | |
1422 <param name="buildKey">The key the policy applies.</param> | |
1423 <param name="containingPolicyList">The policy list that actually contains the returned policy.</param> | |
1424 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1425 </member> | |
1426 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Get``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,System.Boolean)"> | |
1427 <summary> | |
1428 Gets an individual policy. | |
1429 </summary> | |
1430 <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam> | |
1431 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1432 <param name="buildKey">The key the policy applies.</param> | |
1433 <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param> | |
1434 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1435 </member> | |
1436 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Get``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,System.Boolean,Microsoft.Practices.ObjectBuilder2.IPolicyList@)"> | |
1437 <summary> | |
1438 Gets an individual policy. | |
1439 </summary> | |
1440 <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam> | |
1441 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1442 <param name="buildKey">The key the policy applies.</param> | |
1443 <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param> | |
1444 <param name="containingPolicyList">The policy list that actually contains the returned policy.</param> | |
1445 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1446 </member> | |
1447 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Get(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Type,System.Object,System.Boolean)"> | |
1448 <summary> | |
1449 Gets an individual policy. | |
1450 </summary> | |
1451 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1452 <param name="policyInterface">The interface the policy is registered under.</param> | |
1453 <param name="buildKey">The key the policy applies.</param> | |
1454 <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param> | |
1455 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1456 </member> | |
1457 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.GetNoDefault``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,System.Boolean)"> | |
1458 <summary> | |
1459 Get the non default policy. | |
1460 </summary> | |
1461 <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam> | |
1462 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1463 <param name="buildKey">The key the policy applies.</param> | |
1464 <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param> | |
1465 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1466 </member> | |
1467 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.GetNoDefault``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,System.Boolean,Microsoft.Practices.ObjectBuilder2.IPolicyList@)"> | |
1468 <summary> | |
1469 Get the non default policy. | |
1470 </summary> | |
1471 <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam> | |
1472 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1473 <param name="buildKey">The key the policy applies.</param> | |
1474 <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param> | |
1475 <param name="containingPolicyList">The policy list that actually contains the returned policy.</param> | |
1476 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1477 </member> | |
1478 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.GetNoDefault(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Type,System.Object,System.Boolean)"> | |
1479 <summary> | |
1480 Get the non default policy. | |
1481 </summary> | |
1482 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to search.</param> | |
1483 <param name="policyInterface">The interface the policy is registered under.</param> | |
1484 <param name="buildKey">The key the policy applies.</param> | |
1485 <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param> | |
1486 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
1487 </member> | |
1488 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.Set``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,``0,System.Object)"> | |
1489 <summary> | |
1490 Sets an individual policy. | |
1491 </summary> | |
1492 <typeparam name="TPolicyInterface">The interface the policy is registered under.</typeparam> | |
1493 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add the policy to.</param> | |
1494 <param name="policy">The policy to be registered.</param> | |
1495 <param name="buildKey">The key the policy applies.</param> | |
1496 </member> | |
1497 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyListExtensions.SetDefault``1(Microsoft.Practices.ObjectBuilder2.IPolicyList,``0)"> | |
1498 <summary> | |
1499 Sets a default policy. When checking for a policy, if no specific individual policy | |
1500 is available, the default will be used. | |
1501 </summary> | |
1502 <typeparam name="TPolicyInterface">The interface to register the policy under.</typeparam> | |
1503 <param name="policies"><see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add the policy to.</param> | |
1504 <param name="policy">The default policy to be registered.</param> | |
1505 </member> | |
1506 <member name="T:Microsoft.Practices.ObjectBuilder2.BuildOperation"> | |
1507 <summary> | |
1508 Base class for the current operation stored in the build context. | |
1509 </summary> | |
1510 </member> | |
1511 <member name="M:Microsoft.Practices.ObjectBuilder2.BuildOperation.#ctor(System.Type)"> | |
1512 <summary> | |
1513 Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.BuildOperation"/>. | |
1514 </summary> | |
1515 <param name="typeBeingConstructed">Type currently being built.</param> | |
1516 </member> | |
1517 <member name="P:Microsoft.Practices.ObjectBuilder2.BuildOperation.TypeBeingConstructed"> | |
1518 <summary> | |
1519 The type that's currently being built. | |
1520 </summary> | |
1521 </member> | |
1522 <member name="T:Microsoft.Practices.ObjectBuilder2.DeferredResolveBuildPlanPolicy"> | |
1523 <summary> | |
1524 Build plan for <see cref="T:System.Func`1"/> that will | |
1525 return a func that will resolve the requested type | |
1526 through this container later. | |
1527 </summary> | |
1528 </member> | |
1529 <member name="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanPolicy"> | |
1530 <summary> | |
1531 A build plan is an object that, when invoked, will create a new object | |
1532 or fill in a given existing one. It encapsulates all the information | |
1533 gathered by the strategies to construct a particular object. | |
1534 </summary> | |
1535 </member> | |
1536 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuildPlanPolicy.BuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1537 <summary> | |
1538 Creates an instance of this build plan's type, or fills | |
1539 in the existing type if passed in. | |
1540 </summary> | |
1541 <param name="context">Context used to build up the object.</param> | |
1542 </member> | |
1543 <member name="M:Microsoft.Practices.ObjectBuilder2.OverriddenBuildPlanMarkerPolicy.BuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
1544 <summary> | |
1545 Creates an instance of this build plan's type, or fills | |
1546 in the existing type if passed in. | |
1547 </summary> | |
1548 <param name="context">Context used to build up the object.</param> | |
1549 </member> | |
1550 <member name="T:Microsoft.Practices.ObjectBuilder2.EnumerableExtensions"> | |
1551 <summary> | |
1552 The almost inevitable collection of extra helper methods on | |
1553 <see cref="T:System.Collections.Generic.IEnumerable`1"/> to augment the rich set of what | |
1554 Linq already gives us. | |
1555 </summary> | |
1556 </member> | |
1557 <member name="M:Microsoft.Practices.ObjectBuilder2.EnumerableExtensions.ForEach``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})"> | |
1558 <summary> | |
1559 Execute the provided <paramref name="action"/> on every item in <paramref name="sequence"/>. | |
1560 </summary> | |
1561 <typeparam name="TItem">Type of the items stored in <paramref name="sequence"/></typeparam> | |
1562 <param name="sequence">Sequence of items to process.</param> | |
1563 <param name="action">Code to run over each item.</param> | |
1564 </member> | |
1565 <member name="M:Microsoft.Practices.ObjectBuilder2.EnumerableExtensions.JoinStrings``1(System.Collections.Generic.IEnumerable{``0},System.String,System.Func{``0,System.String})"> | |
1566 <summary> | |
1567 Create a single string from a sequenc of items, separated by the provided <paramref name="separator"/>, | |
1568 and with the conversion to string done by the given <paramref name="converter"/>. | |
1569 </summary> | |
1570 <remarks>This method does basically the same thing as <see cref="M:System.String.Join(System.String,System.String[])"/>, | |
1571 but will work on any sequence of items, not just arrays.</remarks> | |
1572 <typeparam name="TItem">Type of items in the sequence.</typeparam> | |
1573 <param name="sequence">Sequence of items to convert.</param> | |
1574 <param name="separator">Separator to place between the items in the string.</param> | |
1575 <param name="converter">The conversion function to change TItem -> string.</param> | |
1576 <returns>The resulting string.</returns> | |
1577 </member> | |
1578 <member name="M:Microsoft.Practices.ObjectBuilder2.EnumerableExtensions.JoinStrings``1(System.Collections.Generic.IEnumerable{``0},System.String)"> | |
1579 <summary> | |
1580 Create a single string from a sequenc of items, separated by the provided <paramref name="separator"/>, | |
1581 and with the conversion to string done by the item's <see cref="M:System.Object.ToString"/> method. | |
1582 </summary> | |
1583 <remarks>This method does basically the same thing as <see cref="M:System.String.Join(System.String,System.String[])"/>, | |
1584 but will work on any sequence of items, not just arrays.</remarks> | |
1585 <typeparam name="TItem">Type of items in the sequence.</typeparam> | |
1586 <param name="sequence">Sequence of items to convert.</param> | |
1587 <param name="separator">Separator to place between the items in the string.</param> | |
1588 <returns>The resulting string.</returns> | |
1589 </member> | |
1590 <member name="T:Microsoft.Practices.Unity.ParameterOverride"> | |
1591 <summary> | |
1592 A <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> class that lets you | |
1593 override a named parameter passed to a constructor. | |
1594 </summary> | |
1595 </member> | |
1596 <member name="M:Microsoft.Practices.Unity.ParameterOverride.#ctor(System.String,System.Object)"> | |
1597 <summary> | |
1598 Construct a new <see cref="T:Microsoft.Practices.Unity.ParameterOverride"/> object that will | |
1599 override the given named constructor parameter, and pass the given | |
1600 value. | |
1601 </summary> | |
1602 <param name="parameterName">Name of the constructor parameter.</param> | |
1603 <param name="parameterValue">Value to pass for the constructor.</param> | |
1604 </member> | |
1605 <member name="M:Microsoft.Practices.Unity.ParameterOverride.GetResolver(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Type)"> | |
1606 <summary> | |
1607 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that can be used to give a value | |
1608 for the given desired dependency. | |
1609 </summary> | |
1610 <param name="context">Current build context.</param> | |
1611 <param name="dependencyType">Type of dependency desired.</param> | |
1612 <returns>a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object if this override applies, null if not.</returns> | |
1613 </member> | |
1614 <member name="T:Microsoft.Practices.Unity.ParameterOverrides"> | |
1615 <summary> | |
1616 A convenience form of <see cref="T:Microsoft.Practices.Unity.ParameterOverride"/> that lets you | |
1617 specify multiple parameter overrides in one shot rather than having | |
1618 to construct multiple objects. | |
1619 </summary> | |
1620 </member> | |
1621 <member name="M:Microsoft.Practices.Unity.ParameterOverrides.MakeOverride(System.String,System.Object)"> | |
1622 <summary> | |
1623 When implemented in derived classes, this method is called from the <see cref="M:Microsoft.Practices.Unity.OverrideCollection`3.Add(`1,`2)"/> | |
1624 method to create the actual <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> objects. | |
1625 </summary> | |
1626 <param name="key">Key value to create the resolver.</param> | |
1627 <param name="value">Value to store in the resolver.</param> | |
1628 <returns>The created <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/>.</returns> | |
1629 </member> | |
1630 <member name="T:Microsoft.Practices.Unity.PropertyOverride"> | |
1631 <summary> | |
1632 A <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> that lets you override | |
1633 the value for a specified property. | |
1634 </summary> | |
1635 </member> | |
1636 <member name="M:Microsoft.Practices.Unity.PropertyOverride.#ctor(System.String,System.Object)"> | |
1637 <summary> | |
1638 Create an instance of <see cref="T:Microsoft.Practices.Unity.PropertyOverride"/>. | |
1639 </summary> | |
1640 <param name="propertyName">The property name.</param> | |
1641 <param name="propertyValue">Value to use for the property.</param> | |
1642 </member> | |
1643 <member name="M:Microsoft.Practices.Unity.PropertyOverride.GetResolver(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Type)"> | |
1644 <summary> | |
1645 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that can be used to give a value | |
1646 for the given desired dependency. | |
1647 </summary> | |
1648 <param name="context">Current build context.</param> | |
1649 <param name="dependencyType">Type of dependency desired.</param> | |
1650 <returns>a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object if this override applies, null if not.</returns> | |
1651 </member> | |
1652 <member name="T:Microsoft.Practices.Unity.PropertyOverrides"> | |
1653 <summary> | |
1654 A convenience form of <see cref="T:Microsoft.Practices.Unity.PropertyOverride"/> that lets you | |
1655 specify multiple property overrides in one shot rather than having | |
1656 to construct multiple objects. | |
1657 </summary> | |
1658 </member> | |
1659 <member name="M:Microsoft.Practices.Unity.PropertyOverrides.MakeOverride(System.String,System.Object)"> | |
1660 <summary> | |
1661 When implemented in derived classes, this method is called from the <see cref="M:Microsoft.Practices.Unity.OverrideCollection`3.Add(`1,`2)"/> | |
1662 method to create the actual <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> objects. | |
1663 </summary> | |
1664 <param name="key">Key value to create the resolver.</param> | |
1665 <param name="value">Value to store in the resolver.</param> | |
1666 <returns>The created <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/>.</returns> | |
1667 </member> | |
1668 <member name="T:Microsoft.Practices.Unity.StaticFactory.IStaticFactoryConfiguration"> | |
1669 <summary> | |
1670 Interface defining the configuration interface exposed by the | |
1671 Static Factory extension. | |
1672 </summary> | |
1673 </member> | |
1674 <member name="T:Microsoft.Practices.Unity.IUnityContainerExtensionConfigurator"> | |
1675 <summary> | |
1676 Base interface for all extension configuration interfaces. | |
1677 </summary> | |
1678 </member> | |
1679 <member name="P:Microsoft.Practices.Unity.IUnityContainerExtensionConfigurator.Container"> | |
1680 <summary> | |
1681 Retrieve the container instance that we are currently configuring. | |
1682 </summary> | |
1683 </member> | |
1684 <member name="M:Microsoft.Practices.Unity.StaticFactory.IStaticFactoryConfiguration.RegisterFactory``1(System.Func{Microsoft.Practices.Unity.IUnityContainer,System.Object})"> | |
1685 <summary> | |
1686 Register the given factory delegate to be called when the container is | |
1687 asked to resolve <typeparamref name="TTypeToBuild"/>. | |
1688 </summary> | |
1689 <typeparam name="TTypeToBuild">Type that will be requested from the container.</typeparam> | |
1690 <param name="factoryMethod">Delegate to invoke to create the instance.</param> | |
1691 <returns>The container extension object this method was invoked on.</returns> | |
1692 </member> | |
1693 <member name="M:Microsoft.Practices.Unity.StaticFactory.IStaticFactoryConfiguration.RegisterFactory``1(System.String,System.Func{Microsoft.Practices.Unity.IUnityContainer,System.Object})"> | |
1694 <summary> | |
1695 Register the given factory delegate to be called when the container is | |
1696 asked to resolve <typeparamref name="TTypeToBuild"/> and <paramref name="name"/>. | |
1697 </summary> | |
1698 <typeparam name="TTypeToBuild">Type that will be requested from the container.</typeparam> | |
1699 <param name="name">The name that will be used when requesting to resolve this type.</param> | |
1700 <param name="factoryMethod">Delegate to invoke to create the instance.</param> | |
1701 <returns>The container extension object this method was invoked on.</returns> | |
1702 </member> | |
1703 <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderContext"> | |
1704 <summary> | |
1705 Represents the context in which a build-up or tear-down operation runs. | |
1706 </summary> | |
1707 </member> | |
1708 <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"> | |
1709 <summary> | |
1710 Represents the context in which a build-up or tear-down operation runs. | |
1711 </summary> | |
1712 </member> | |
1713 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderContext.AddResolverOverrides(System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.ResolverOverride})"> | |
1714 <summary> | |
1715 Add a new set of resolver override objects to the current build operation. | |
1716 </summary> | |
1717 <param name="newOverrides"><see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> objects to add.</param> | |
1718 </member> | |
1719 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderContext.GetOverriddenResolver(System.Type)"> | |
1720 <summary> | |
1721 Get a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object for the given <paramref name="dependencyType"/> | |
1722 or null if that dependency hasn't been overridden. | |
1723 </summary> | |
1724 <param name="dependencyType">Type of the dependency.</param> | |
1725 <returns>Resolver to use, or null if no override matches for the current operation.</returns> | |
1726 </member> | |
1727 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderContext.NewBuildUp(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
1728 <summary> | |
1729 A convenience method to do a new buildup operation on an existing context. | |
1730 </summary> | |
1731 <param name="newBuildKey">Key to use to build up.</param> | |
1732 <returns>Created object.</returns> | |
1733 </member> | |
1734 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderContext.NewBuildUp(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,System.Action{Microsoft.Practices.ObjectBuilder2.IBuilderContext})"> | |
1735 <summary> | |
1736 A convenience method to do a new buildup operation on an existing context. This | |
1737 overload allows you to specify extra policies which will be in effect for the duration | |
1738 of the build. | |
1739 </summary> | |
1740 <param name="newBuildKey">Key defining what to build up.</param> | |
1741 <param name="childCustomizationBlock">A delegate that takes a <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/>. This | |
1742 is invoked with the new child context before the build up process starts. This gives callers | |
1743 the opportunity to customize the context for the build process.</param> | |
1744 <returns>Created object.</returns> | |
1745 </member> | |
1746 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Strategies"> | |
1747 <summary> | |
1748 Gets the head of the strategy chain. | |
1749 </summary> | |
1750 <returns> | |
1751 The strategy that's first in the chain; returns null if there are no | |
1752 strategies in the chain. | |
1753 </returns> | |
1754 </member> | |
1755 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Lifetime"> | |
1756 <summary> | |
1757 Gets the <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> associated with the build. | |
1758 </summary> | |
1759 <value> | |
1760 The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> associated with the build. | |
1761 </value> | |
1762 </member> | |
1763 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.OriginalBuildKey"> | |
1764 <summary> | |
1765 Gets the original build key for the build operation. | |
1766 </summary> | |
1767 <value> | |
1768 The original build key for the build operation. | |
1769 </value> | |
1770 </member> | |
1771 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.BuildKey"> | |
1772 <summary> | |
1773 Get the current build key for the current build operation. | |
1774 </summary> | |
1775 </member> | |
1776 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.PersistentPolicies"> | |
1777 <summary> | |
1778 The set of policies that were passed into this context. | |
1779 </summary> | |
1780 <remarks>This returns the policies passed into the context. | |
1781 Policies added here will remain after buildup completes.</remarks> | |
1782 <value>The persistent policies for the current context.</value> | |
1783 </member> | |
1784 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Policies"> | |
1785 <summary> | |
1786 Gets the policies for the current context. | |
1787 </summary> | |
1788 <remarks>Any policies added to this object are transient | |
1789 and will be erased at the end of the buildup.</remarks> | |
1790 <value> | |
1791 The policies for the current context. | |
1792 </value> | |
1793 </member> | |
1794 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.RecoveryStack"> | |
1795 <summary> | |
1796 Gets the collection of <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> objects | |
1797 that need to execute in event of an exception. | |
1798 </summary> | |
1799 </member> | |
1800 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.Existing"> | |
1801 <summary> | |
1802 The current object being built up or torn down. | |
1803 </summary> | |
1804 <value> | |
1805 The current object being manipulated by the build operation. May | |
1806 be null if the object hasn't been created yet.</value> | |
1807 </member> | |
1808 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.BuildComplete"> | |
1809 <summary> | |
1810 Flag indicating if the build operation should continue. | |
1811 </summary> | |
1812 <value>true means that building should not call any more | |
1813 strategies, false means continue to the next strategy.</value> | |
1814 </member> | |
1815 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.CurrentOperation"> | |
1816 <summary> | |
1817 An object representing what is currently being done in the | |
1818 build chain. Used to report back errors if there's a failure. | |
1819 </summary> | |
1820 </member> | |
1821 <member name="P:Microsoft.Practices.ObjectBuilder2.IBuilderContext.ChildContext"> | |
1822 <summary> | |
1823 The build context used to resolve a dependency during the build operation represented by this context. | |
1824 </summary> | |
1825 </member> | |
1826 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.#ctor"> | |
1827 <summary> | |
1828 Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderContext"/> class. | |
1829 </summary> | |
1830 </member> | |
1831 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.#ctor(Microsoft.Practices.ObjectBuilder2.IStrategyChain,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,System.Object)"> | |
1832 <summary> | |
1833 Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderContext"/> class with a <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/>, | |
1834 <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/>, <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> and the | |
1835 build key used to start this build operation. | |
1836 </summary> | |
1837 <param name="chain">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this context.</param> | |
1838 <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this context.</param> | |
1839 <param name="policies">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to use for this context.</param> | |
1840 <param name="originalBuildKey">Build key to start building.</param> | |
1841 <param name="existing">The existing object to build up.</param> | |
1842 </member> | |
1843 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.#ctor(Microsoft.Practices.ObjectBuilder2.IStrategyChain,Microsoft.Practices.ObjectBuilder2.ILifetimeContainer,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.IPolicyList,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,System.Object)"> | |
1844 <summary> | |
1845 Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderContext"/> using the explicitly provided | |
1846 values. | |
1847 </summary> | |
1848 <param name="chain">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/> to use for this context.</param> | |
1849 <param name="lifetime">The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> to use for this context.</param> | |
1850 <param name="persistentPolicies">The set of persistent policies to use for this context.</param> | |
1851 <param name="transientPolicies">The set of transient policies to use for this context. It is | |
1852 the caller's responsibility to ensure that the transient and persistent policies are properly | |
1853 combined.</param> | |
1854 <param name="buildKey">Build key for this context.</param> | |
1855 <param name="existing">Existing object to build up.</param> | |
1856 </member> | |
1857 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.AddResolverOverrides(System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.ResolverOverride})"> | |
1858 <summary> | |
1859 Add a new set of resolver override objects to the current build operation. | |
1860 </summary> | |
1861 <param name="newOverrides"><see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> objects to add.</param> | |
1862 </member> | |
1863 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.GetOverriddenResolver(System.Type)"> | |
1864 <summary> | |
1865 Get a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object for the given <paramref name="dependencyType"/> | |
1866 or null if that dependency hasn't been overridden. | |
1867 </summary> | |
1868 <param name="dependencyType">Type of the dependency.</param> | |
1869 <returns>Resolver to use, or null if no override matches for the current operation.</returns> | |
1870 </member> | |
1871 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
1872 <summary> | |
1873 A convenience method to do a new buildup operation on an existing context. | |
1874 </summary> | |
1875 <param name="newBuildKey">Key to use to build up.</param> | |
1876 <returns>Created object.</returns> | |
1877 </member> | |
1878 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,System.Action{Microsoft.Practices.ObjectBuilder2.IBuilderContext})"> | |
1879 <summary> | |
1880 A convenience method to do a new buildup operation on an existing context. This | |
1881 overload allows you to specify extra policies which will be in effect for the duration | |
1882 of the build. | |
1883 </summary> | |
1884 <param name="newBuildKey">Key defining what to build up.</param> | |
1885 <param name="childCustomizationBlock">A delegate that takes a <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/>. This | |
1886 is invoked with the new child context before the build up process starts. This gives callers | |
1887 the opportunity to customize the context for the build process.</param> | |
1888 <returns>Created object.</returns> | |
1889 </member> | |
1890 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Strategies"> | |
1891 <summary> | |
1892 Gets the head of the strategy chain. | |
1893 </summary> | |
1894 <returns> | |
1895 The strategy that's first in the chain; returns null if there are no | |
1896 strategies in the chain. | |
1897 </returns> | |
1898 </member> | |
1899 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.BuildKey"> | |
1900 <summary> | |
1901 Get the current build key for the current build operation. | |
1902 </summary> | |
1903 </member> | |
1904 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Existing"> | |
1905 <summary> | |
1906 The current object being built up or torn down. | |
1907 </summary> | |
1908 <value> | |
1909 The current object being manipulated by the build operation. May | |
1910 be null if the object hasn't been created yet.</value> | |
1911 </member> | |
1912 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Lifetime"> | |
1913 <summary> | |
1914 Gets the <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> associated with the build. | |
1915 </summary> | |
1916 <value> | |
1917 The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> associated with the build. | |
1918 </value> | |
1919 </member> | |
1920 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.OriginalBuildKey"> | |
1921 <summary> | |
1922 Gets the original build key for the build operation. | |
1923 </summary> | |
1924 <value> | |
1925 The original build key for the build operation. | |
1926 </value> | |
1927 </member> | |
1928 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.PersistentPolicies"> | |
1929 <summary> | |
1930 The set of policies that were passed into this context. | |
1931 </summary> | |
1932 <remarks>This returns the policies passed into the context. | |
1933 Policies added here will remain after buildup completes.</remarks> | |
1934 <value>The persistent policies for the current context.</value> | |
1935 </member> | |
1936 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.Policies"> | |
1937 <summary> | |
1938 Gets the policies for the current context. | |
1939 </summary> | |
1940 <remarks> | |
1941 Any modifications will be transient (meaning, they will be forgotten when | |
1942 the outer BuildUp for this context is finished executing). | |
1943 </remarks> | |
1944 <value> | |
1945 The policies for the current context. | |
1946 </value> | |
1947 </member> | |
1948 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.RecoveryStack"> | |
1949 <summary> | |
1950 Gets the collection of <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> objects | |
1951 that need to execute in event of an exception. | |
1952 </summary> | |
1953 </member> | |
1954 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.BuildComplete"> | |
1955 <summary> | |
1956 Flag indicating if the build operation should continue. | |
1957 </summary> | |
1958 <value>true means that building should not call any more | |
1959 strategies, false means continue to the next strategy.</value> | |
1960 </member> | |
1961 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.CurrentOperation"> | |
1962 <summary> | |
1963 An object representing what is currently being done in the | |
1964 build chain. Used to report back errors if there's a failure. | |
1965 </summary> | |
1966 </member> | |
1967 <member name="P:Microsoft.Practices.ObjectBuilder2.BuilderContext.ChildContext"> | |
1968 <summary> | |
1969 The build context used to resolve a dependency during the build operation represented by this context. | |
1970 </summary> | |
1971 </member> | |
1972 <member name="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"> | |
1973 <summary> | |
1974 Represents that a dependency could not be resolved. | |
1975 </summary> | |
1976 <summary> | |
1977 Represents that a dependency could not be resolved. | |
1978 </summary> | |
1979 </member> | |
1980 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor"> | |
1981 <summary> | |
1982 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with no extra information. | |
1983 </summary> | |
1984 </member> | |
1985 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor(System.String)"> | |
1986 <summary> | |
1987 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with the given message. | |
1988 </summary> | |
1989 <param name="message">Some random message.</param> | |
1990 </member> | |
1991 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor(System.String,System.Exception)"> | |
1992 <summary> | |
1993 Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with the given | |
1994 message and inner exception. | |
1995 </summary> | |
1996 <param name="message">Some random message</param> | |
1997 <param name="innerException">Inner exception.</param> | |
1998 </member> | |
1999 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor(System.Object)"> | |
2000 <summary> | |
2001 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with the build key of the object begin built. | |
2002 </summary> | |
2003 <param name="buildKey">The build key of the object begin built.</param> | |
2004 </member> | |
2005 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyMissingException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> | |
2006 <summary> | |
2007 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.DependencyMissingException"/> class with serialized data. | |
2008 </summary> | |
2009 <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param> | |
2010 <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination. </param> | |
2011 </member> | |
2012 <member name="T:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException"> | |
2013 <summary> | |
2014 The exception thrown when injection is attempted on a method | |
2015 that is an open generic or has out or ref params. | |
2016 </summary> | |
2017 <summary> | |
2018 The exception thrown when injection is attempted on a method | |
2019 that is an open generic or has out or ref params. | |
2020 </summary> | |
2021 </member> | |
2022 <member name="M:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException.#ctor"> | |
2023 <summary> | |
2024 Construct a new <see cref="T:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException"/> with no | |
2025 message. | |
2026 </summary> | |
2027 </member> | |
2028 <member name="M:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException.#ctor(System.String)"> | |
2029 <summary> | |
2030 Construct a <see cref="T:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException"/> with the given message | |
2031 </summary> | |
2032 <param name="message">Message to return.</param> | |
2033 </member> | |
2034 <member name="M:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException.#ctor(System.String,System.Exception)"> | |
2035 <summary> | |
2036 Construct a <see cref="T:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException"/> with the given message | |
2037 and inner exception. | |
2038 </summary> | |
2039 <param name="message">Message to return.</param> | |
2040 <param name="innerException">Inner exception</param> | |
2041 </member> | |
2042 <member name="M:Microsoft.Practices.ObjectBuilder2.IllegalInjectionMethodException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> | |
2043 <summary> | |
2044 Used for serialization. | |
2045 </summary> | |
2046 <param name="info">Serialization info.</param> | |
2047 <param name="context">Serialization context.</param> | |
2048 </member> | |
2049 <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderContextExtensions"> | |
2050 <summary> | |
2051 Extension methods to provide convenience overloads over the | |
2052 <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/> interface. | |
2053 </summary> | |
2054 </member> | |
2055 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContextExtensions.NewBuildUp``1(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2056 <summary> | |
2057 Start a recursive build up operation to retrieve the default | |
2058 value for the given <typeparamref name="TResult"/> type. | |
2059 </summary> | |
2060 <typeparam name="TResult">Type of object to build.</typeparam> | |
2061 <param name="context">Parent context.</param> | |
2062 <returns>Resulting object.</returns> | |
2063 </member> | |
2064 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContextExtensions.NewBuildUp``1(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.String)"> | |
2065 <summary> | |
2066 Start a recursive build up operation to retrieve the named | |
2067 implementation for the given <typeparamref name="TResult"/> type. | |
2068 </summary> | |
2069 <typeparam name="TResult">Type to resolve.</typeparam> | |
2070 <param name="context">Parent context.</param> | |
2071 <param name="name">Name to resolve with.</param> | |
2072 <returns>The resulting object.</returns> | |
2073 </member> | |
2074 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderContextExtensions.AddResolverOverrides(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.Unity.ResolverOverride[])"> | |
2075 <summary> | |
2076 Add a set of <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/>s to the context, specified as a | |
2077 variable argument list. | |
2078 </summary> | |
2079 <param name="context">Context to add overrides to.</param> | |
2080 <param name="overrides">The overrides.</param> | |
2081 </member> | |
2082 <member name="T:Microsoft.Practices.ObjectBuilder2.IRecoveryStack"> | |
2083 <summary> | |
2084 Data structure that stores the set of <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> | |
2085 objects and executes them when requested. | |
2086 </summary> | |
2087 </member> | |
2088 <member name="M:Microsoft.Practices.ObjectBuilder2.IRecoveryStack.Add(Microsoft.Practices.ObjectBuilder2.IRequiresRecovery)"> | |
2089 <summary> | |
2090 Add a new <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> object to this | |
2091 list. | |
2092 </summary> | |
2093 <param name="recovery">Object to add.</param> | |
2094 </member> | |
2095 <member name="M:Microsoft.Practices.ObjectBuilder2.IRecoveryStack.ExecuteRecovery"> | |
2096 <summary> | |
2097 Execute the <see cref="M:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery.Recover"/> method | |
2098 of everything in the recovery list. Recoveries will execute | |
2099 in the opposite order of add - it's a stack. | |
2100 </summary> | |
2101 </member> | |
2102 <member name="P:Microsoft.Practices.ObjectBuilder2.IRecoveryStack.Count"> | |
2103 <summary> | |
2104 Return the number of recovery objects currently in the stack. | |
2105 </summary> | |
2106 </member> | |
2107 <member name="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"> | |
2108 <summary> | |
2109 Represents a lifetime container. | |
2110 </summary> | |
2111 <remarks> | |
2112 A lifetime container tracks the lifetime of an object, and implements | |
2113 IDisposable. When the container is disposed, any objects in the | |
2114 container which implement IDisposable are also disposed. | |
2115 </remarks> | |
2116 </member> | |
2117 <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer.Add(System.Object)"> | |
2118 <summary> | |
2119 Adds an object to the lifetime container. | |
2120 </summary> | |
2121 <param name="item">The item to be added to the lifetime container.</param> | |
2122 </member> | |
2123 <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer.Contains(System.Object)"> | |
2124 <summary> | |
2125 Determine if a given object is in the lifetime container. | |
2126 </summary> | |
2127 <param name="item"> | |
2128 The item to locate in the lifetime container. | |
2129 </param> | |
2130 <returns> | |
2131 Returns true if the object is contained in the lifetime | |
2132 container; returns false otherwise. | |
2133 </returns> | |
2134 </member> | |
2135 <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer.Remove(System.Object)"> | |
2136 <summary> | |
2137 Removes an item from the lifetime container. The item is | |
2138 not disposed. | |
2139 </summary> | |
2140 <param name="item">The item to be removed.</param> | |
2141 </member> | |
2142 <member name="P:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer.Count"> | |
2143 <summary> | |
2144 Gets the number of references in the lifetime container | |
2145 </summary> | |
2146 <value> | |
2147 The number of references in the lifetime container | |
2148 </value> | |
2149 </member> | |
2150 <member name="T:Microsoft.Practices.ObjectBuilder2.LifetimeContainer"> | |
2151 <summary> | |
2152 Represents a lifetime container. | |
2153 </summary> | |
2154 <remarks> | |
2155 A lifetime container tracks the lifetime of an object, and implements | |
2156 IDisposable. When the container is disposed, any objects in the | |
2157 container which implement IDisposable are also disposed. | |
2158 </remarks> | |
2159 </member> | |
2160 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Add(System.Object)"> | |
2161 <summary> | |
2162 Adds an object to the lifetime container. | |
2163 </summary> | |
2164 <param name="item">The item to be added to the lifetime container.</param> | |
2165 </member> | |
2166 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Contains(System.Object)"> | |
2167 <summary> | |
2168 Determine if a given object is in the lifetime container. | |
2169 </summary> | |
2170 <param name="item"> | |
2171 The item to locate in the lifetime container. | |
2172 </param> | |
2173 <returns> | |
2174 Returns true if the object is contained in the lifetime | |
2175 container; returns false otherwise. | |
2176 </returns> | |
2177 </member> | |
2178 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Dispose"> | |
2179 <summary> | |
2180 Releases the resources used by the <see cref="T:Microsoft.Practices.ObjectBuilder2.LifetimeContainer"/>. | |
2181 </summary> | |
2182 </member> | |
2183 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Dispose(System.Boolean)"> | |
2184 <summary> | |
2185 Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources. | |
2186 </summary> | |
2187 <param name="disposing"> | |
2188 true to release managed and unmanaged resources; false to release only unmanaged resources. | |
2189 </param> | |
2190 </member> | |
2191 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.GetEnumerator"> | |
2192 <summary> | |
2193 Returns an enumerator that iterates through the lifetime container. | |
2194 </summary> | |
2195 <returns> | |
2196 An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the life time container. | |
2197 </returns> | |
2198 </member> | |
2199 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.System#Collections#IEnumerable#GetEnumerator"> | |
2200 <summary> | |
2201 Returns an enumerator that iterates through the lifetime container. | |
2202 </summary> | |
2203 <returns> | |
2204 An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the life time container. | |
2205 </returns> | |
2206 </member> | |
2207 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Remove(System.Object)"> | |
2208 <summary> | |
2209 Removes an item from the lifetime container. The item is | |
2210 not disposed. | |
2211 </summary> | |
2212 <param name="item">The item to be removed.</param> | |
2213 </member> | |
2214 <member name="P:Microsoft.Practices.ObjectBuilder2.LifetimeContainer.Count"> | |
2215 <summary> | |
2216 Gets the number of references in the lifetime container | |
2217 </summary> | |
2218 <value> | |
2219 The number of references in the lifetime container | |
2220 </value> | |
2221 </member> | |
2222 <member name="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"> | |
2223 <summary> | |
2224 A custom collection over <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> objects. | |
2225 </summary> | |
2226 </member> | |
2227 <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Clear(System.Type,System.Object)"> | |
2228 <summary> | |
2229 Removes an individual policy type for a build key. | |
2230 </summary> | |
2231 <param name="policyInterface">The type of policy to remove.</param> | |
2232 <param name="buildKey">The key the policy applies.</param> | |
2233 </member> | |
2234 <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.ClearAll"> | |
2235 <summary> | |
2236 Removes all policies from the list. | |
2237 </summary> | |
2238 </member> | |
2239 <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.ClearDefault(System.Type)"> | |
2240 <summary> | |
2241 Removes a default policy. | |
2242 </summary> | |
2243 <param name="policyInterface">The type the policy was registered as.</param> | |
2244 </member> | |
2245 <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Get(System.Type,System.Object,System.Boolean,Microsoft.Practices.ObjectBuilder2.IPolicyList@)"> | |
2246 <summary> | |
2247 Gets an individual policy. | |
2248 </summary> | |
2249 <param name="policyInterface">The interface the policy is registered under.</param> | |
2250 <param name="buildKey">The key the policy applies.</param> | |
2251 <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param> | |
2252 <param name="containingPolicyList">The policy list in the chain that the searched for policy was found in, null if the policy was | |
2253 not found.</param> | |
2254 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
2255 </member> | |
2256 <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.GetNoDefault(System.Type,System.Object,System.Boolean,Microsoft.Practices.ObjectBuilder2.IPolicyList@)"> | |
2257 <summary> | |
2258 Get the non default policy. | |
2259 </summary> | |
2260 <param name="policyInterface">The interface the policy is registered under.</param> | |
2261 <param name="buildKey">The key the policy applies to.</param> | |
2262 <param name="localOnly">True if the search should be in the local policy list only; otherwise false to search up the parent chain.</param> | |
2263 <param name="containingPolicyList">The policy list in the chain that the searched for policy was found in, null if the policy was | |
2264 not found.</param> | |
2265 <returns>The policy in the list if present; returns null otherwise.</returns> | |
2266 </member> | |
2267 <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.Set(System.Type,Microsoft.Practices.ObjectBuilder2.IBuilderPolicy,System.Object)"> | |
2268 <summary> | |
2269 Sets an individual policy. | |
2270 </summary> | |
2271 <param name="policyInterface">The <see cref="T:System.Type"/> of the policy.</param> | |
2272 <param name="policy">The policy to be registered.</param> | |
2273 <param name="buildKey">The key the policy applies.</param> | |
2274 </member> | |
2275 <member name="M:Microsoft.Practices.ObjectBuilder2.IPolicyList.SetDefault(System.Type,Microsoft.Practices.ObjectBuilder2.IBuilderPolicy)"> | |
2276 <summary> | |
2277 Sets a default policy. When checking for a policy, if no specific individual policy | |
2278 is available, the default will be used. | |
2279 </summary> | |
2280 <param name="policyInterface">The interface to register the policy under.</param> | |
2281 <param name="policy">The default policy to be registered.</param> | |
2282 </member> | |
2283 <member name="T:Microsoft.Practices.ObjectBuilder2.PolicyList"> | |
2284 <summary> | |
2285 A custom collection wrapper over <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> objects. | |
2286 </summary> | |
2287 </member> | |
2288 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.#ctor"> | |
2289 <summary> | |
2290 Initialize a new instance of a <see cref="T:Microsoft.Practices.ObjectBuilder2.PolicyList"/> class. | |
2291 </summary> | |
2292 </member> | |
2293 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.#ctor(Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
2294 <summary> | |
2295 Initialize a new instance of a <see cref="T:Microsoft.Practices.ObjectBuilder2.PolicyList"/> class with another policy list. | |
2296 </summary> | |
2297 <param name="innerPolicyList">An inner policy list to search.</param> | |
2298 </member> | |
2299 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Clear(System.Type,System.Object)"> | |
2300 <summary> | |
2301 Removes an individual policy type for a build key. | |
2302 </summary> | |
2303 <param name="policyInterface">The type of policy to remove.</param> | |
2304 <param name="buildKey">The key the policy applies.</param> | |
2305 </member> | |
2306 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.ClearAll"> | |
2307 <summary> | |
2308 Removes all policies from the list. | |
2309 </summary> | |
2310 </member> | |
2311 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.ClearDefault(System.Type)"> | |
2312 <summary> | |
2313 Removes a default policy. | |
2314 </summary> | |
2315 <param name="policyInterface">The type the policy was registered as.</param> | |
2316 </member> | |
2317 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Get(System.Type,System.Object,System.Boolean,Microsoft.Practices.ObjectBuilder2.IPolicyList@)"> | |
2318 <summary> | |
2319 Gets an individual policy. | |
2320 </summary> | |
2321 <param name="policyInterface">The interface the policy is registered under.</param> | |
2322 <param name="buildKey">The key the policy applies.</param> | |
2323 <param name="localOnly">true if the policy searches local only; otherwise false to seach up the parent chain.</param> | |
2324 <param name="containingPolicyList">The policy list in the chain that the searched for policy was found in, null if the policy was | |
2325 not found.</param> | |
2326 <returns>The policy in the list, if present; returns null otherwise.</returns> | |
2327 </member> | |
2328 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.GetNoDefault(System.Type,System.Object,System.Boolean,Microsoft.Practices.ObjectBuilder2.IPolicyList@)"> | |
2329 <summary> | |
2330 Get the non default policy. | |
2331 </summary> | |
2332 <param name="policyInterface">The interface the policy is registered under.</param> | |
2333 <param name="buildKey">The key the policy applies to.</param> | |
2334 <param name="localOnly">True if the search should be in the local policy list only; otherwise false to search up the parent chain.</param> | |
2335 <param name="containingPolicyList">The policy list in the chain that the searched for policy was found in, null if the policy was | |
2336 not found.</param> | |
2337 <returns>The policy in the list if present; returns null otherwise.</returns> | |
2338 </member> | |
2339 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.Set(System.Type,Microsoft.Practices.ObjectBuilder2.IBuilderPolicy,System.Object)"> | |
2340 <summary> | |
2341 Sets an individual policy. | |
2342 </summary> | |
2343 <param name="policyInterface">The <see cref="T:System.Type"/> of the policy.</param> | |
2344 <param name="policy">The policy to be registered.</param> | |
2345 <param name="buildKey">The key the policy applies.</param> | |
2346 </member> | |
2347 <member name="M:Microsoft.Practices.ObjectBuilder2.PolicyList.SetDefault(System.Type,Microsoft.Practices.ObjectBuilder2.IBuilderPolicy)"> | |
2348 <summary> | |
2349 Sets a default policy. When checking for a policy, if no specific individual policy | |
2350 is available, the default will be used. | |
2351 </summary> | |
2352 <param name="policyInterface">The interface to register the policy under.</param> | |
2353 <param name="policy">The default policy to be registered.</param> | |
2354 </member> | |
2355 <member name="P:Microsoft.Practices.ObjectBuilder2.PolicyList.Count"> | |
2356 <summary> | |
2357 Gets the number of items in the locator. | |
2358 </summary> | |
2359 <value> | |
2360 The number of items in the locator. | |
2361 </value> | |
2362 </member> | |
2363 <member name="T:Microsoft.Practices.ObjectBuilder2.RecoveryStack"> | |
2364 <summary> | |
2365 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IRecoveryStack"/>. | |
2366 </summary> | |
2367 </member> | |
2368 <member name="M:Microsoft.Practices.ObjectBuilder2.RecoveryStack.Add(Microsoft.Practices.ObjectBuilder2.IRequiresRecovery)"> | |
2369 <summary> | |
2370 Add a new <see cref="T:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery"/> object to this | |
2371 list. | |
2372 </summary> | |
2373 <param name="recovery">Object to add.</param> | |
2374 </member> | |
2375 <member name="M:Microsoft.Practices.ObjectBuilder2.RecoveryStack.ExecuteRecovery"> | |
2376 <summary> | |
2377 Execute the <see cref="M:Microsoft.Practices.ObjectBuilder2.IRequiresRecovery.Recover"/> method | |
2378 of everything in the recovery list. Recoveries will execute | |
2379 in the opposite order of add - it's a stack. | |
2380 </summary> | |
2381 </member> | |
2382 <member name="P:Microsoft.Practices.ObjectBuilder2.RecoveryStack.Count"> | |
2383 <summary> | |
2384 Return the number of recovery objects currently in the stack. | |
2385 </summary> | |
2386 </member> | |
2387 <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy"> | |
2388 <summary> | |
2389 Implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/> which will notify an object about | |
2390 the completion of a BuildUp operation, or start of a TearDown operation. | |
2391 </summary> | |
2392 <remarks> | |
2393 This strategy checks the object that is passing through the builder chain to see if it | |
2394 implements IBuilderAware and if it does, it will call <see cref="M:Microsoft.Practices.ObjectBuilder2.IBuilderAware.OnBuiltUp(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"/> | |
2395 and <see cref="M:Microsoft.Practices.ObjectBuilder2.IBuilderAware.OnTearingDown"/>. This strategy is meant to be used from the | |
2396 <see cref="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.PostInitialization"/> stage. | |
2397 </remarks> | |
2398 </member> | |
2399 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2400 <summary> | |
2401 Called during the chain of responsibility for a build operation. The | |
2402 PreBuildUp method is called when the chain is being executed in the | |
2403 forward direction. | |
2404 </summary> | |
2405 <param name="context">Context of the build operation.</param> | |
2406 </member> | |
2407 <member name="M:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy.PreTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2408 <summary> | |
2409 Called during the chain of responsibility for a teardown operation. The | |
2410 PreTearDown method is called when the chain is being executed in the | |
2411 forward direction. | |
2412 </summary> | |
2413 <param name="context">Context of the teardown operation.</param> | |
2414 </member> | |
2415 <member name="T:Microsoft.Practices.ObjectBuilder2.IBuilderAware"> | |
2416 <summary> | |
2417 Implemented on a class when it wants to receive notifications | |
2418 about the build process. | |
2419 </summary> | |
2420 </member> | |
2421 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderAware.OnBuiltUp(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
2422 <summary> | |
2423 Called by the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy"/> when the object is being built up. | |
2424 </summary> | |
2425 <param name="buildKey">The key of the object that was just built up.</param> | |
2426 </member> | |
2427 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuilderAware.OnTearingDown"> | |
2428 <summary> | |
2429 Called by the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderAwareStrategy"/> when the object is being torn down. | |
2430 </summary> | |
2431 </member> | |
2432 <member name="T:Microsoft.Practices.ObjectBuilder2.BuilderStage"> | |
2433 <summary> | |
2434 Enumeration to represent the object builder stages. | |
2435 </summary> | |
2436 <remarks> | |
2437 The order of the values in the enumeration is the order in which the stages are run. | |
2438 </remarks> | |
2439 </member> | |
2440 <member name="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.PreCreation"> | |
2441 <summary> | |
2442 Strategies in this stage run before creation. Typical work done in this stage might | |
2443 include strategies that use reflection to set policies into the context that other | |
2444 strategies would later use. | |
2445 </summary> | |
2446 </member> | |
2447 <member name="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.Creation"> | |
2448 <summary> | |
2449 Strategies in this stage create objects. Typically you will only have a single policy-driven | |
2450 creation strategy in this stage. | |
2451 </summary> | |
2452 </member> | |
2453 <member name="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.Initialization"> | |
2454 <summary> | |
2455 Strategies in this stage work on created objects. Typical work done in this stage might | |
2456 include setter injection and method calls. | |
2457 </summary> | |
2458 </member> | |
2459 <member name="F:Microsoft.Practices.ObjectBuilder2.BuilderStage.PostInitialization"> | |
2460 <summary> | |
2461 Strategies in this stage work on objects that are already initialized. Typical work done in | |
2462 this stage might include looking to see if the object implements some notification interface | |
2463 to discover when its initialization stage has been completed. | |
2464 </summary> | |
2465 </member> | |
2466 <member name="T:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingPolicy"> | |
2467 <summary> | |
2468 Represents a builder policy for mapping build keys. | |
2469 </summary> | |
2470 </member> | |
2471 <member name="T:Microsoft.Practices.ObjectBuilder2.IBuildKeyMappingPolicy"> | |
2472 <summary> | |
2473 Represents a builder policy for mapping build keys. | |
2474 </summary> | |
2475 </member> | |
2476 <member name="M:Microsoft.Practices.ObjectBuilder2.IBuildKeyMappingPolicy.Map(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2477 <summary> | |
2478 Maps the build key. | |
2479 </summary> | |
2480 <param name="buildKey">The build key to map.</param> | |
2481 <param name="context">Current build context. Used for contextual information | |
2482 if writing a more sophisticated mapping. This parameter can be null | |
2483 (called when getting container registrations).</param> | |
2484 <returns>The new build key.</returns> | |
2485 </member> | |
2486 <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingPolicy.#ctor(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
2487 <summary> | |
2488 Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingPolicy"/> with the new build key. | |
2489 </summary> | |
2490 <param name="newBuildKey">The new build key.</param> | |
2491 </member> | |
2492 <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingPolicy.Map(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2493 <summary> | |
2494 Maps the build key. | |
2495 </summary> | |
2496 <param name="buildKey">The build key to map.</param> | |
2497 <param name="context">Current build context. Used for contextual information | |
2498 if writing a more sophisticated mapping, unused in this implementation.</param> | |
2499 <returns>The new build key.</returns> | |
2500 </member> | |
2501 <member name="T:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingStrategy"> | |
2502 <summary> | |
2503 Represents a strategy for mapping build keys in the build up operation. | |
2504 </summary> | |
2505 </member> | |
2506 <member name="M:Microsoft.Practices.ObjectBuilder2.BuildKeyMappingStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2507 <summary> | |
2508 Called during the chain of responsibility for a build operation. Looks for the <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildKeyMappingPolicy"/> | |
2509 and if found maps the build key for the current operation. | |
2510 </summary> | |
2511 <param name="context">The context for the operation.</param> | |
2512 </member> | |
2513 <member name="T:Microsoft.Practices.ObjectBuilder2.GenericTypeBuildKeyMappingPolicy"> | |
2514 <summary> | |
2515 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildKeyMappingPolicy"/> that can map | |
2516 generic types. | |
2517 </summary> | |
2518 </member> | |
2519 <member name="M:Microsoft.Practices.ObjectBuilder2.GenericTypeBuildKeyMappingPolicy.#ctor(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
2520 <summary> | |
2521 Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.GenericTypeBuildKeyMappingPolicy"/> instance | |
2522 that will map generic types. | |
2523 </summary> | |
2524 <param name="destinationKey">Build key to map to. This must be or contain an open generic type.</param> | |
2525 </member> | |
2526 <member name="M:Microsoft.Practices.ObjectBuilder2.GenericTypeBuildKeyMappingPolicy.Map(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2527 <summary> | |
2528 Maps the build key. | |
2529 </summary> | |
2530 <param name="buildKey">The build key to map.</param> | |
2531 <param name="context">Current build context. Used for contextual information | |
2532 if writing a more sophisticated mapping.</param> | |
2533 <returns>The new build key.</returns> | |
2534 </member> | |
2535 <member name="T:Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy"> | |
2536 <summary> | |
2537 A <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> that will look for a build plan | |
2538 in the current context. If it exists, it invokes it, otherwise | |
2539 it creates one and stores it for later, and invokes it. | |
2540 </summary> | |
2541 </member> | |
2542 <member name="M:Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2543 <summary> | |
2544 Called during the chain of responsibility for a build operation. | |
2545 </summary> | |
2546 <param name="context">The context for the operation.</param> | |
2547 </member> | |
2548 <member name="T:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicy`1"> | |
2549 <summary> | |
2550 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"/> that chooses | |
2551 constructors based on these criteria: first, pick a constructor marked with the | |
2552 <typeparamref name="TInjectionConstructorMarkerAttribute"/> attribute. If there | |
2553 isn't one, then choose the constructor with the longest parameter list. If that is ambiguous, | |
2554 then throw. | |
2555 </summary> | |
2556 <exception cref="T:System.InvalidOperationException">Thrown when the constructor to choose is ambiguous.</exception> | |
2557 <typeparam name="TInjectionConstructorMarkerAttribute">Attribute used to mark the constructor to call.</typeparam> | |
2558 </member> | |
2559 <member name="T:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1"> | |
2560 <summary> | |
2561 Base class that provides an implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"/> | |
2562 which lets you override how the parameter resolvers are created. | |
2563 </summary> | |
2564 </member> | |
2565 <member name="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"> | |
2566 <summary> | |
2567 A <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that, when implemented, | |
2568 will determine which constructor to call from the build plan. | |
2569 </summary> | |
2570 </member> | |
2571 <member name="M:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy.SelectConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
2572 <summary> | |
2573 Choose the constructor to call for the given type. | |
2574 </summary> | |
2575 <param name="context">Current build context</param> | |
2576 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
2577 generated resolver objects into.</param> | |
2578 <returns>The chosen constructor.</returns> | |
2579 </member> | |
2580 <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1.SelectConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
2581 <summary> | |
2582 Choose the constructor to call for the given type. | |
2583 </summary> | |
2584 <param name="context">Current build context</param> | |
2585 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
2586 generated resolver objects into.</param> | |
2587 <returns>The chosen constructor.</returns> | |
2588 </member> | |
2589 <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1.CreateResolver(System.Reflection.ParameterInfo)"> | |
2590 <summary> | |
2591 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given | |
2592 <see cref="T:System.Reflection.ParameterInfo"/>. | |
2593 </summary> | |
2594 <param name="parameter">Parameter to create the resolver for.</param> | |
2595 <returns>The resolver object.</returns> | |
2596 </member> | |
2597 <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicyBase`1.ConstructorLengthComparer.Compare(System.Reflection.ConstructorInfo,System.Reflection.ConstructorInfo)"> | |
2598 <summary> | |
2599 Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. | |
2600 </summary> | |
2601 | |
2602 <returns> | |
2603 Value Condition Less than zerox is less than y.Zerox equals y.Greater than zerox is greater than y. | |
2604 </returns> | |
2605 | |
2606 <param name="y">The second object to compare.</param> | |
2607 <param name="x">The first object to compare.</param> | |
2608 </member> | |
2609 <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorSelectorPolicy`1.CreateResolver(System.Reflection.ParameterInfo)"> | |
2610 <summary> | |
2611 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given | |
2612 <see cref="T:System.Reflection.ParameterInfo"/>. | |
2613 </summary> | |
2614 <param name="parameter">Parameter to create the resolver for.</param> | |
2615 <returns>The resolver object.</returns> | |
2616 </member> | |
2617 <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedConstructor"> | |
2618 <summary> | |
2619 Objects of this type are the return value from <see cref="M:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy.SelectConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"/>. | |
2620 It encapsulates the desired <see cref="T:System.Reflection.ConstructorInfo"/> with the string keys | |
2621 needed to look up the <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for each | |
2622 parameter. | |
2623 </summary> | |
2624 </member> | |
2625 <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters`1"> | |
2626 <summary> | |
2627 Base class for return values from selector policies that | |
2628 return a memberinfo of some sort plus a list of parameter | |
2629 keys to look up the parameter resolvers. | |
2630 </summary> | |
2631 </member> | |
2632 <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters"> | |
2633 <summary> | |
2634 Base class for return of selector policies that need | |
2635 to keep track of a set of parameter keys. | |
2636 </summary> | |
2637 </member> | |
2638 <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters.AddParameterKey(System.String)"> | |
2639 <summary> | |
2640 Add a new parameter key to this object. Keys are assumed | |
2641 to be in the order of the parameters to the constructor. | |
2642 </summary> | |
2643 <param name="newKey">Key for the next parameter to look up.</param> | |
2644 </member> | |
2645 <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters.GetParameterKeys"> | |
2646 <summary> | |
2647 The set of keys for the constructor parameters. | |
2648 </summary> | |
2649 </member> | |
2650 <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters`1.#ctor(`0)"> | |
2651 <summary> | |
2652 Construct a new <see cref="T:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters`1"/>, storing | |
2653 the given member info. | |
2654 </summary> | |
2655 <param name="memberInfo">Member info to store.</param> | |
2656 </member> | |
2657 <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters`1.MemberInfo"> | |
2658 <summary> | |
2659 The member info stored. | |
2660 </summary> | |
2661 </member> | |
2662 <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedConstructor.#ctor(System.Reflection.ConstructorInfo)"> | |
2663 <summary> | |
2664 Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.SelectedConstructor"/> instance which | |
2665 contains the given constructor. | |
2666 </summary> | |
2667 <param name="constructor">The constructor to wrap.</param> | |
2668 </member> | |
2669 <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedConstructor.Constructor"> | |
2670 <summary> | |
2671 The constructor this object wraps. | |
2672 </summary> | |
2673 </member> | |
2674 <member name="T:Microsoft.Practices.ObjectBuilder2.ConstructorArgumentResolveOperation"> | |
2675 <summary> | |
2676 This class records the information about which constructor argument is currently | |
2677 being resolved, and is responsible for generating the error string required when | |
2678 an error has occurred. | |
2679 </summary> | |
2680 </member> | |
2681 <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorArgumentResolveOperation.#ctor(System.Type,System.String,System.String)"> | |
2682 <summary> | |
2683 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.ConstructorArgumentResolveOperation"/> class. | |
2684 </summary> | |
2685 <param name="typeBeingConstructed">The type that is being constructed.</param> | |
2686 <param name="constructorSignature">A string representing the constructor being called.</param> | |
2687 <param name="parameterName">Parameter being resolved.</param> | |
2688 </member> | |
2689 <member name="M:Microsoft.Practices.ObjectBuilder2.ConstructorArgumentResolveOperation.ToString"> | |
2690 <summary> | |
2691 Generate the string describing what parameter was being resolved. | |
2692 </summary> | |
2693 <returns>The description string.</returns> | |
2694 </member> | |
2695 <member name="P:Microsoft.Practices.ObjectBuilder2.ConstructorArgumentResolveOperation.ConstructorSignature"> | |
2696 <summary> | |
2697 String describing the constructor being set up. | |
2698 </summary> | |
2699 </member> | |
2700 <member name="P:Microsoft.Practices.ObjectBuilder2.ConstructorArgumentResolveOperation.ParameterName"> | |
2701 <summary> | |
2702 Parameter that's being resolved. | |
2703 </summary> | |
2704 </member> | |
2705 <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy"> | |
2706 <summary> | |
2707 A <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> that emits IL to call constructors | |
2708 as part of creating a build plan. | |
2709 </summary> | |
2710 </member> | |
2711 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2712 <summary> | |
2713 Called during the chain of responsibility for a build operation. | |
2714 </summary> | |
2715 <remarks>Existing object is an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext"/>.</remarks> | |
2716 <param name="context">The context for the operation.</param> | |
2717 </member> | |
2718 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.SetPerBuildSingleton(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2719 <summary> | |
2720 A helper method used by the generated IL to set up a PerResolveLifetimeManager lifetime manager | |
2721 if the current object is such. | |
2722 </summary> | |
2723 <param name="context">Current build context.</param> | |
2724 </member> | |
2725 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.CreateSignatureString(System.Reflection.ConstructorInfo)"> | |
2726 <summary> | |
2727 Build up the string that will represent the constructor signature | |
2728 in any exception message. | |
2729 </summary> | |
2730 <param name="constructor"></param> | |
2731 <returns></returns> | |
2732 </member> | |
2733 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.SetCurrentOperationToResolvingParameter(System.String,System.String,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2734 <summary> | |
2735 A helper method used by the generated IL to store the current operation in the build context. | |
2736 </summary> | |
2737 </member> | |
2738 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.SetCurrentOperationToInvokingConstructor(System.String,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2739 <summary> | |
2740 A helper method used by the generated IL to store the current operation in the build context. | |
2741 </summary> | |
2742 </member> | |
2743 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2744 <summary> | |
2745 A helper method used by the generated IL to throw an exception if | |
2746 no existing object is present, but the user is attempting to build | |
2747 an interface (usually due to the lack of a type mapping). | |
2748 </summary> | |
2749 <param name="context">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/> currently being | |
2750 used for the build of this object.</param> | |
2751 </member> | |
2752 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForNullExistingObject(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2753 <summary> | |
2754 A helper method used by the generated IL to throw an exception if | |
2755 a dependency cannot be resolved. | |
2756 </summary> | |
2757 <param name="context">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/> currently being | |
2758 used for the build of this object.</param> | |
2759 </member> | |
2760 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForNullExistingObjectWithInvalidConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.String)"> | |
2761 <summary> | |
2762 A helper method used by the generated IL to throw an exception if | |
2763 a dependency cannot be resolved because of an invalid constructor. | |
2764 </summary> | |
2765 <param name="context">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/> currently being | |
2766 used for the build of this object.</param> | |
2767 <param name="signature">The signature of the invalid constructor.</param> | |
2768 </member> | |
2769 <member name="T:Microsoft.Practices.ObjectBuilder2.InvokingConstructorOperation"> | |
2770 <summary> | |
2771 A class that records that a constructor is about to be call, and is | |
2772 responsible for generating the error string required when | |
2773 an error has occurred. | |
2774 </summary> | |
2775 </member> | |
2776 <member name="M:Microsoft.Practices.ObjectBuilder2.InvokingConstructorOperation.#ctor(System.Type,System.String)"> | |
2777 <summary> | |
2778 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.InvokingConstructorOperation"/> class. | |
2779 </summary> | |
2780 </member> | |
2781 <member name="M:Microsoft.Practices.ObjectBuilder2.InvokingConstructorOperation.ToString"> | |
2782 <summary> | |
2783 Generate the description string. | |
2784 </summary> | |
2785 <returns>The string.</returns> | |
2786 </member> | |
2787 <member name="P:Microsoft.Practices.ObjectBuilder2.InvokingConstructorOperation.ConstructorSignature"> | |
2788 <summary> | |
2789 Constructor we're trying to call. | |
2790 </summary> | |
2791 </member> | |
2792 <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext"> | |
2793 <summary> | |
2794 | |
2795 </summary> | |
2796 </member> | |
2797 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.#ctor(System.Type)"> | |
2798 <summary> | |
2799 | |
2800 </summary> | |
2801 <param name="typeToBuild"></param> | |
2802 </member> | |
2803 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.AddToBuildPlan(System.Linq.Expressions.Expression)"> | |
2804 <summary> | |
2805 | |
2806 </summary> | |
2807 <param name="expression"></param> | |
2808 </member> | |
2809 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.CreateParameterExpression(System.String,System.Type,System.Linq.Expressions.Expression)"> | |
2810 <summary> | |
2811 | |
2812 </summary> | |
2813 <param name="parameterKey"></param> | |
2814 <param name="parameterType"></param> | |
2815 <param name="setOperationExpression"></param> | |
2816 <returns></returns> | |
2817 </member> | |
2818 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.GetResolver(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Type,System.String)"> | |
2819 <summary> | |
2820 Helper method used by generated IL to look up a dependency resolver based on the given key. | |
2821 </summary> | |
2822 <param name="context">Current build context.</param> | |
2823 <param name="dependencyType">Type of the dependency being resolved.</param> | |
2824 <param name="resolverKey">Key the resolver was stored under.</param> | |
2825 <returns>The found dependency resolver.</returns> | |
2826 </member> | |
2827 <member name="P:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.TypeToBuild"> | |
2828 <summary> | |
2829 The type that is to be built with the dynamic build plan. | |
2830 </summary> | |
2831 </member> | |
2832 <member name="P:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanGenerationContext.ContextParameter"> | |
2833 <summary> | |
2834 The context parameter represeting the <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderContext"/> used when the build plan is executed. | |
2835 </summary> | |
2836 </member> | |
2837 <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanMethod"> | |
2838 <summary> | |
2839 | |
2840 </summary> | |
2841 <param name="context"></param> | |
2842 </member> | |
2843 <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan"> | |
2844 <summary> | |
2845 | |
2846 </summary> | |
2847 </member> | |
2848 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.#ctor(Microsoft.Practices.ObjectBuilder2.DynamicBuildPlanMethod)"> | |
2849 <summary> | |
2850 | |
2851 </summary> | |
2852 <param name="buildMethod"></param> | |
2853 </member> | |
2854 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2855 <summary> | |
2856 | |
2857 </summary> | |
2858 <param name="context"></param> | |
2859 </member> | |
2860 <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy"> | |
2861 <summary> | |
2862 An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuildPlanCreatorPolicy"/> implementation | |
2863 that constructs a build plan via dynamic IL emission. | |
2864 </summary> | |
2865 </member> | |
2866 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.#ctor(Microsoft.Practices.ObjectBuilder2.IStagedStrategyChain)"> | |
2867 <summary> | |
2868 Construct a <see cref="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy"/> that | |
2869 uses the given strategy chain to construct the build plan. | |
2870 </summary> | |
2871 <param name="strategies">The strategy chain.</param> | |
2872 </member> | |
2873 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.CreatePlan(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
2874 <summary> | |
2875 Construct a build plan. | |
2876 </summary> | |
2877 <param name="context">The current build context.</param> | |
2878 <param name="buildKey">The current build key.</param> | |
2879 <returns>The created build plan.</returns> | |
2880 </member> | |
2881 <member name="T:Microsoft.Practices.ObjectBuilder2.InvokingMethodOperation"> | |
2882 <summary> | |
2883 A class that records that a constructor is about to be call, and is | |
2884 responsible for generating the error string required when | |
2885 an error has occurred. | |
2886 </summary> | |
2887 </member> | |
2888 <member name="M:Microsoft.Practices.ObjectBuilder2.InvokingMethodOperation.#ctor(System.Type,System.String)"> | |
2889 <summary> | |
2890 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.InvokingMethodOperation"/> class. | |
2891 </summary> | |
2892 </member> | |
2893 <member name="M:Microsoft.Practices.ObjectBuilder2.InvokingMethodOperation.ToString"> | |
2894 <summary> | |
2895 Generate the description string. | |
2896 </summary> | |
2897 <returns>The string.</returns> | |
2898 </member> | |
2899 <member name="P:Microsoft.Practices.ObjectBuilder2.InvokingMethodOperation.MethodSignature"> | |
2900 <summary> | |
2901 Method we're trying to call. | |
2902 </summary> | |
2903 </member> | |
2904 <member name="T:Microsoft.Practices.ObjectBuilder2.MethodArgumentResolveOperation"> | |
2905 <summary> | |
2906 This class records the information about which constructor argument is currently | |
2907 being resolved, and is responsible for generating the error string required when | |
2908 an error has occurred. | |
2909 </summary> | |
2910 </member> | |
2911 <member name="M:Microsoft.Practices.ObjectBuilder2.MethodArgumentResolveOperation.#ctor(System.Type,System.String,System.String)"> | |
2912 <summary> | |
2913 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.ConstructorArgumentResolveOperation"/> class. | |
2914 </summary> | |
2915 <param name="typeBeingConstructed">The type that is being constructed.</param> | |
2916 <param name="methodSignature">A string representing the method being called.</param> | |
2917 <param name="parameterName">Parameter being resolved.</param> | |
2918 </member> | |
2919 <member name="M:Microsoft.Practices.ObjectBuilder2.MethodArgumentResolveOperation.ToString"> | |
2920 <summary> | |
2921 Generate the string describing what parameter was being resolved. | |
2922 </summary> | |
2923 <returns>The description string.</returns> | |
2924 </member> | |
2925 <member name="P:Microsoft.Practices.ObjectBuilder2.MethodArgumentResolveOperation.MethodSignature"> | |
2926 <summary> | |
2927 String describing the method being set up. | |
2928 </summary> | |
2929 </member> | |
2930 <member name="P:Microsoft.Practices.ObjectBuilder2.MethodArgumentResolveOperation.ParameterName"> | |
2931 <summary> | |
2932 Parameter that's being resolved. | |
2933 </summary> | |
2934 </member> | |
2935 <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodCallStrategy"> | |
2936 <summary> | |
2937 A <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> that generates IL to call | |
2938 chosen methods (as specified by the current <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/>) | |
2939 as part of object build up. | |
2940 </summary> | |
2941 </member> | |
2942 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodCallStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2943 <summary> | |
2944 Called during the chain of responsibility for a build operation. The | |
2945 PreBuildUp method is called when the chain is being executed in the | |
2946 forward direction. | |
2947 </summary> | |
2948 <param name="context">Context of the build operation.</param> | |
2949 </member> | |
2950 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodCallStrategy.SetCurrentOperationToResolvingParameter(System.String,System.String,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2951 <summary> | |
2952 A helper method used by the generated IL to store the current operation in the build context. | |
2953 </summary> | |
2954 </member> | |
2955 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodCallStrategy.SetCurrentOperationToInvokingMethod(System.String,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
2956 <summary> | |
2957 A helper method used by the generated IL to store the current operation in the build context. | |
2958 </summary> | |
2959 </member> | |
2960 <member name="T:Microsoft.Practices.ObjectBuilder2.PropertyOperation"> | |
2961 <summary> | |
2962 A base class that holds the information shared by all operations | |
2963 performed by the container while setting properties. | |
2964 </summary> | |
2965 </member> | |
2966 <member name="M:Microsoft.Practices.ObjectBuilder2.PropertyOperation.#ctor(System.Type,System.String)"> | |
2967 <summary> | |
2968 Initializes a new instance of the <see cref="T:System.Object"/> class. | |
2969 </summary> | |
2970 </member> | |
2971 <member name="M:Microsoft.Practices.ObjectBuilder2.PropertyOperation.ToString"> | |
2972 <summary> | |
2973 Generate the description of this operation. | |
2974 </summary> | |
2975 <returns>The string.</returns> | |
2976 </member> | |
2977 <member name="M:Microsoft.Practices.ObjectBuilder2.PropertyOperation.GetDescriptionFormat"> | |
2978 <summary> | |
2979 Get a format string used to create the description. Called by | |
2980 the base <see cref="M:Microsoft.Practices.ObjectBuilder2.PropertyOperation.ToString"/> method. | |
2981 </summary> | |
2982 <returns>The format string.</returns> | |
2983 </member> | |
2984 <member name="P:Microsoft.Practices.ObjectBuilder2.PropertyOperation.PropertyName"> | |
2985 <summary> | |
2986 The property value currently being resolved. | |
2987 </summary> | |
2988 </member> | |
2989 <member name="T:Microsoft.Practices.ObjectBuilder2.ResolvingPropertyValueOperation"> | |
2990 <summary> | |
2991 This class records the information about which property value is currently | |
2992 being resolved, and is responsible for generating the error string required when | |
2993 an error has occurred. | |
2994 </summary> | |
2995 </member> | |
2996 <member name="M:Microsoft.Practices.ObjectBuilder2.ResolvingPropertyValueOperation.#ctor(System.Type,System.String)"> | |
2997 <summary> | |
2998 Initializes a new instance of the <see cref="T:System.Object"/> class. | |
2999 </summary> | |
3000 </member> | |
3001 <member name="M:Microsoft.Practices.ObjectBuilder2.ResolvingPropertyValueOperation.GetDescriptionFormat"> | |
3002 <summary> | |
3003 Get a format string used to create the description. Called by | |
3004 the base <see cref="M:Microsoft.Practices.ObjectBuilder2.PropertyOperation.ToString"/> method. | |
3005 </summary> | |
3006 <returns>The format string.</returns> | |
3007 </member> | |
3008 <member name="T:Microsoft.Practices.ObjectBuilder2.DynamicMethodPropertySetterStrategy"> | |
3009 <summary> | |
3010 A <see cref="T:Microsoft.Practices.ObjectBuilder2.BuilderStrategy"/> that generates IL to resolve properties | |
3011 on an object being built. | |
3012 </summary> | |
3013 </member> | |
3014 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodPropertySetterStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3015 <summary> | |
3016 Called during the chain of responsibility for a build operation. | |
3017 </summary> | |
3018 <param name="context">The context for the operation.</param> | |
3019 </member> | |
3020 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodPropertySetterStrategy.SetCurrentOperationToResolvingPropertyValue(System.String,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3021 <summary> | |
3022 A helper method used by the generated IL to store the current operation in the build context. | |
3023 </summary> | |
3024 </member> | |
3025 <member name="M:Microsoft.Practices.ObjectBuilder2.DynamicMethodPropertySetterStrategy.SetCurrentOperationToSettingProperty(System.String,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3026 <summary> | |
3027 A helper method used by the generated IL to store the current operation in the build context. | |
3028 </summary> | |
3029 </member> | |
3030 <member name="T:Microsoft.Practices.ObjectBuilder2.SettingPropertyOperation"> | |
3031 <summary> | |
3032 This class records the information about which property value is currently | |
3033 being set, and is responsible for generating the error string required when | |
3034 an error has occurred. | |
3035 </summary> | |
3036 </member> | |
3037 <member name="M:Microsoft.Practices.ObjectBuilder2.SettingPropertyOperation.#ctor(System.Type,System.String)"> | |
3038 <summary> | |
3039 Initializes a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.SettingPropertyOperation"/> class. | |
3040 </summary> | |
3041 <param name="typeBeingConstructed">Type property is on.</param> | |
3042 <param name="propertyName">Name of property being set.</param> | |
3043 </member> | |
3044 <member name="M:Microsoft.Practices.ObjectBuilder2.SettingPropertyOperation.GetDescriptionFormat"> | |
3045 <summary> | |
3046 Get a format string used to create the description. Called by | |
3047 the base <see cref="M:Microsoft.Practices.ObjectBuilder2.PropertyOperation.ToString"/> method. | |
3048 </summary> | |
3049 <returns>The format string.</returns> | |
3050 </member> | |
3051 <member name="M:Microsoft.Practices.ObjectBuilder2.FactoryDelegateBuildPlanPolicy.BuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3052 <summary> | |
3053 Creates an instance of this build plan's type, or fills | |
3054 in the existing type if passed in. | |
3055 </summary> | |
3056 <param name="context">Context used to build up the object.</param> | |
3057 </member> | |
3058 <member name="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"> | |
3059 <summary> | |
3060 An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that will examine the given | |
3061 types and return a sequence of <see cref="T:System.Reflection.MethodInfo"/> objects | |
3062 that should be called as part of building the object. | |
3063 </summary> | |
3064 </member> | |
3065 <member name="M:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
3066 <summary> | |
3067 Return the sequence of methods to call while building the target object. | |
3068 </summary> | |
3069 <param name="context">Current build context.</param> | |
3070 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
3071 generated resolver objects into.</param> | |
3072 <returns>Sequence of methods to call.</returns> | |
3073 </member> | |
3074 <member name="T:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicy`1"> | |
3075 <summary> | |
3076 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/> that selects | |
3077 methods by looking for the given <typeparamref name="TMarkerAttribute"/> | |
3078 attribute on those methods. | |
3079 </summary> | |
3080 <typeparam name="TMarkerAttribute">Type of attribute used to mark methods | |
3081 to inject.</typeparam> | |
3082 </member> | |
3083 <member name="T:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicyBase`1"> | |
3084 <summary> | |
3085 Base class that provides an implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/> | |
3086 which lets you override how the parameter resolvers are created. | |
3087 </summary> | |
3088 <typeparam name="TMarkerAttribute">Attribute that marks methods that should | |
3089 be called.</typeparam> | |
3090 </member> | |
3091 <member name="M:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicyBase`1.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
3092 <summary> | |
3093 Return the sequence of methods to call while building the target object. | |
3094 </summary> | |
3095 <param name="context">Current build context.</param> | |
3096 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
3097 generated resolver objects into.</param> | |
3098 <returns>Sequence of methods to call.</returns> | |
3099 </member> | |
3100 <member name="M:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicyBase`1.CreateResolver(System.Reflection.ParameterInfo)"> | |
3101 <summary> | |
3102 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given | |
3103 <see cref="T:System.Reflection.ParameterInfo"/>. | |
3104 </summary> | |
3105 <param name="parameter">Parameter to create the resolver for.</param> | |
3106 <returns>The resolver object.</returns> | |
3107 </member> | |
3108 <member name="M:Microsoft.Practices.ObjectBuilder2.MethodSelectorPolicy`1.CreateResolver(System.Reflection.ParameterInfo)"> | |
3109 <summary> | |
3110 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given | |
3111 <see cref="T:System.Reflection.ParameterInfo"/>. | |
3112 </summary> | |
3113 <param name="parameter">Parameter to create the resolver for.</param> | |
3114 <returns>The resolver object.</returns> | |
3115 </member> | |
3116 <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedMethod"> | |
3117 <summary> | |
3118 Objects of this type are the return value from <see cref="M:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"/>. | |
3119 It encapsulates the desired <see cref="T:System.Reflection.MethodInfo"/> with the string keys | |
3120 needed to look up the <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for each | |
3121 parameter. | |
3122 </summary> | |
3123 </member> | |
3124 <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedMethod.#ctor(System.Reflection.MethodInfo)"> | |
3125 <summary> | |
3126 Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.SelectedMethod"/> instance which | |
3127 contains the given method. | |
3128 </summary> | |
3129 <param name="method">The method</param> | |
3130 </member> | |
3131 <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedMethod.Method"> | |
3132 <summary> | |
3133 The constructor this object wraps. | |
3134 </summary> | |
3135 </member> | |
3136 <member name="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"> | |
3137 <summary> | |
3138 An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderPolicy"/> that returns a sequence | |
3139 of properties that should be injected for the given type. | |
3140 </summary> | |
3141 </member> | |
3142 <member name="M:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
3143 <summary> | |
3144 Returns sequence of properties on the given type that | |
3145 should be set as part of building that object. | |
3146 </summary> | |
3147 <param name="context">Current build context.</param> | |
3148 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
3149 generated resolver objects into.</param> | |
3150 <returns>Sequence of <see cref="T:System.Reflection.PropertyInfo"/> objects | |
3151 that contain the properties to set.</returns> | |
3152 </member> | |
3153 <member name="T:Microsoft.Practices.ObjectBuilder2.PropertySelectorBase`1"> | |
3154 <summary> | |
3155 Base class that provides an implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"/> | |
3156 which lets you override how the parameter resolvers are created. | |
3157 </summary> | |
3158 </member> | |
3159 <member name="M:Microsoft.Practices.ObjectBuilder2.PropertySelectorBase`1.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
3160 <summary> | |
3161 Returns sequence of properties on the given type that | |
3162 should be set as part of building that object. | |
3163 </summary> | |
3164 <param name="context">Current build context.</param> | |
3165 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
3166 generated resolver objects into.</param> | |
3167 <returns>Sequence of <see cref="T:System.Reflection.PropertyInfo"/> objects | |
3168 that contain the properties to set.</returns> | |
3169 </member> | |
3170 <member name="M:Microsoft.Practices.ObjectBuilder2.PropertySelectorBase`1.CreateResolver(System.Reflection.PropertyInfo)"> | |
3171 <summary> | |
3172 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for the given | |
3173 property. | |
3174 </summary> | |
3175 <param name="property">Property to create resolver for.</param> | |
3176 <returns>The resolver object.</returns> | |
3177 </member> | |
3178 <member name="T:Microsoft.Practices.ObjectBuilder2.PropertySelectorPolicy`1"> | |
3179 <summary> | |
3180 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"/> that looks | |
3181 for properties marked with the <typeparamref name="TResolutionAttribute"/> | |
3182 attribute that are also settable and not indexers. | |
3183 </summary> | |
3184 <typeparam name="TResolutionAttribute"></typeparam> | |
3185 </member> | |
3186 <member name="M:Microsoft.Practices.ObjectBuilder2.PropertySelectorPolicy`1.CreateResolver(System.Reflection.PropertyInfo)"> | |
3187 <summary> | |
3188 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for the given | |
3189 property. | |
3190 </summary> | |
3191 <param name="property">Property to create resolver for.</param> | |
3192 <returns>The resolver object.</returns> | |
3193 </member> | |
3194 <member name="T:Microsoft.Practices.ObjectBuilder2.SelectedProperty"> | |
3195 <summary> | |
3196 Objects of this type are returned from | |
3197 <see cref="M:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"/>. | |
3198 This class combines the <see cref="T:System.Reflection.PropertyInfo"/> about | |
3199 the property with the string key used to look up the resolver | |
3200 for this property's value. | |
3201 </summary> | |
3202 </member> | |
3203 <member name="M:Microsoft.Practices.ObjectBuilder2.SelectedProperty.#ctor(System.Reflection.PropertyInfo,System.String)"> | |
3204 <summary> | |
3205 Create an instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.SelectedProperty"/> | |
3206 with the given <see cref="T:System.Reflection.PropertyInfo"/> and key. | |
3207 </summary> | |
3208 <param name="property">The property.</param> | |
3209 <param name="key">Key to use to look up the resolver.</param> | |
3210 </member> | |
3211 <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedProperty.Property"> | |
3212 <summary> | |
3213 PropertyInfo for this property. | |
3214 </summary> | |
3215 </member> | |
3216 <member name="P:Microsoft.Practices.ObjectBuilder2.SelectedProperty.Key"> | |
3217 <summary> | |
3218 Key to look up this property's resolver. | |
3219 </summary> | |
3220 </member> | |
3221 <member name="T:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy"> | |
3222 <summary> | |
3223 Implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy"/>. | |
3224 </summary> | |
3225 </member> | |
3226 <member name="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy"> | |
3227 <summary> | |
3228 A builder policy that lets you keep track of the current | |
3229 resolvers and will remove them from the given policy set. | |
3230 </summary> | |
3231 </member> | |
3232 <member name="M:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy.AddResolverKey(System.Object)"> | |
3233 <summary> | |
3234 Add a new resolver to track by key. | |
3235 </summary> | |
3236 <param name="key">Key that was used to add the resolver to the policy set.</param> | |
3237 </member> | |
3238 <member name="M:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy.RemoveResolvers(Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
3239 <summary> | |
3240 Remove the currently tracked resolvers from the given policy list. | |
3241 </summary> | |
3242 <param name="policies">Policy list to remove the resolvers from.</param> | |
3243 </member> | |
3244 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.AddResolverKey(System.Object)"> | |
3245 <summary> | |
3246 Add a new resolver to track by key. | |
3247 </summary> | |
3248 <param name="key">Key that was used to add the resolver to the policy set.</param> | |
3249 </member> | |
3250 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.RemoveResolvers(Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
3251 <summary> | |
3252 Remove the currently tracked resolvers from the given policy list. | |
3253 </summary> | |
3254 <param name="policies">Policy list to remove the resolvers from.</param> | |
3255 </member> | |
3256 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.GetTracker(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object)"> | |
3257 <summary> | |
3258 Get an instance that implements <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverTrackerPolicy"/>, | |
3259 either the current one in the policy set or creating a new one if it doesn't | |
3260 exist. | |
3261 </summary> | |
3262 <param name="policies">Policy list to look up from.</param> | |
3263 <param name="buildKey">Build key to track.</param> | |
3264 <returns>The resolver tracker.</returns> | |
3265 </member> | |
3266 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.TrackKey(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object,System.Object)"> | |
3267 <summary> | |
3268 Add a key to be tracked to the current tracker. | |
3269 </summary> | |
3270 <param name="policies">Policy list containing the resolvers and trackers.</param> | |
3271 <param name="buildKey">Build key for the resolvers being tracked.</param> | |
3272 <param name="resolverKey">Key for the resolver.</param> | |
3273 </member> | |
3274 <member name="M:Microsoft.Practices.ObjectBuilder2.DependencyResolverTrackerPolicy.RemoveResolvers(Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Object)"> | |
3275 <summary> | |
3276 Remove the resolvers for the given build key. | |
3277 </summary> | |
3278 <param name="policies">Policy list containing the build key.</param> | |
3279 <param name="buildKey">Build key.</param> | |
3280 </member> | |
3281 <member name="T:Microsoft.Practices.ObjectBuilder2.FixedTypeResolverPolicy"> | |
3282 <summary> | |
3283 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that | |
3284 calls back into the build chain to build up the dependency, passing | |
3285 a type given at compile time as its build key. | |
3286 </summary> | |
3287 </member> | |
3288 <member name="M:Microsoft.Practices.ObjectBuilder2.FixedTypeResolverPolicy.#ctor(System.Type)"> | |
3289 <summary> | |
3290 Create a new instance storing the given type. | |
3291 </summary> | |
3292 <param name="typeToBuild">Type to resolve.</param> | |
3293 </member> | |
3294 <member name="M:Microsoft.Practices.ObjectBuilder2.FixedTypeResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3295 <summary> | |
3296 Get the value for a dependency. | |
3297 </summary> | |
3298 <param name="context">Current build context.</param> | |
3299 <returns>The value for the dependency.</returns> | |
3300 </member> | |
3301 <member name="T:Microsoft.Practices.ObjectBuilder2.IStagedStrategyChain"> | |
3302 <summary> | |
3303 This interface defines a standard method to convert any | |
3304 <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> regardless | |
3305 of the stage enum into a regular, flat strategy chain. | |
3306 </summary> | |
3307 </member> | |
3308 <member name="M:Microsoft.Practices.ObjectBuilder2.IStagedStrategyChain.MakeStrategyChain"> | |
3309 <summary> | |
3310 Convert this <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> into | |
3311 a flat <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/>. | |
3312 </summary> | |
3313 <returns>The flattened <see cref="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"/>.</returns> | |
3314 </member> | |
3315 <member name="T:Microsoft.Practices.ObjectBuilder2.IStrategyChain"> | |
3316 <summary> | |
3317 Represents a chain of responsibility for builder strategies. | |
3318 </summary> | |
3319 </member> | |
3320 <member name="M:Microsoft.Practices.ObjectBuilder2.IStrategyChain.Reverse"> | |
3321 <summary> | |
3322 Reverse the order of the strategy chain. | |
3323 </summary> | |
3324 <returns>The reversed strategy chain.</returns> | |
3325 </member> | |
3326 <member name="M:Microsoft.Practices.ObjectBuilder2.IStrategyChain.ExecuteBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3327 <summary> | |
3328 Execute this strategy chain against the given context, | |
3329 calling the Buildup methods on the strategies. | |
3330 </summary> | |
3331 <param name="context">Context for the build process.</param> | |
3332 <returns>The build up object</returns> | |
3333 </member> | |
3334 <member name="M:Microsoft.Practices.ObjectBuilder2.IStrategyChain.ExecuteTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3335 <summary> | |
3336 Execute this strategy chain against the given context, | |
3337 calling the TearDown methods on the strategies. | |
3338 </summary> | |
3339 <param name="context">Context for the teardown process.</param> | |
3340 </member> | |
3341 <member name="T:Microsoft.Practices.ObjectBuilder2.ILifetimeFactoryPolicy"> | |
3342 <summary> | |
3343 A builder policy used to create lifetime policy instances. | |
3344 Used by the LifetimeStrategy when instantiating open | |
3345 generic types. | |
3346 </summary> | |
3347 </member> | |
3348 <member name="M:Microsoft.Practices.ObjectBuilder2.ILifetimeFactoryPolicy.CreateLifetimePolicy"> | |
3349 <summary> | |
3350 Create a new instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"/>. | |
3351 </summary> | |
3352 <returns>The new instance.</returns> | |
3353 </member> | |
3354 <member name="P:Microsoft.Practices.ObjectBuilder2.ILifetimeFactoryPolicy.LifetimeType"> | |
3355 <summary> | |
3356 The type of Lifetime manager that will be created by this factory. | |
3357 </summary> | |
3358 </member> | |
3359 <member name="T:Microsoft.Practices.ObjectBuilder2.LifetimeStrategy"> | |
3360 <summary> | |
3361 An <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/> implementation that uses | |
3362 a <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"/> to figure out if an object | |
3363 has already been created and to update or remove that | |
3364 object from some backing store. | |
3365 </summary> | |
3366 </member> | |
3367 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3368 <summary> | |
3369 Called during the chain of responsibility for a build operation. The | |
3370 PreBuildUp method is called when the chain is being executed in the | |
3371 forward direction. | |
3372 </summary> | |
3373 <param name="context">Context of the build operation.</param> | |
3374 </member> | |
3375 <member name="M:Microsoft.Practices.ObjectBuilder2.LifetimeStrategy.PostBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3376 <summary> | |
3377 Called during the chain of responsibility for a build operation. The | |
3378 PostBuildUp method is called when the chain has finished the PreBuildUp | |
3379 phase and executes in reverse order from the PreBuildUp calls. | |
3380 </summary> | |
3381 <param name="context">Context of the build operation.</param> | |
3382 </member> | |
3383 <member name="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"> | |
3384 <summary> | |
3385 Represents a chain of responsibility for builder strategies partitioned by stages. | |
3386 </summary> | |
3387 <typeparam name="TStageEnum">The stage enumeration to partition the strategies.</typeparam> | |
3388 </member> | |
3389 <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.#ctor"> | |
3390 <summary> | |
3391 Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> class. | |
3392 </summary> | |
3393 </member> | |
3394 <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.#ctor(Microsoft.Practices.ObjectBuilder2.StagedStrategyChain{`0})"> | |
3395 <summary> | |
3396 Initialize a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> class with an inner strategy chain to use when building. | |
3397 </summary> | |
3398 <param name="innerChain">The inner strategy chain to use first when finding strategies in the build operation.</param> | |
3399 </member> | |
3400 <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.Add(Microsoft.Practices.ObjectBuilder2.IBuilderStrategy,`0)"> | |
3401 <summary> | |
3402 Adds a strategy to the chain at a particular stage. | |
3403 </summary> | |
3404 <param name="strategy">The strategy to add to the chain.</param> | |
3405 <param name="stage">The stage to add the strategy.</param> | |
3406 </member> | |
3407 <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.AddNew``1(`0)"> | |
3408 <summary> | |
3409 Add a new strategy for the <paramref name="stage"/>. | |
3410 </summary> | |
3411 <typeparam name="TStrategy">The <see cref="T:System.Type"/> of <see cref="T:Microsoft.Practices.ObjectBuilder2.IBuilderStrategy"/></typeparam> | |
3412 <param name="stage">The stage to add the strategy.</param> | |
3413 </member> | |
3414 <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.Clear"> | |
3415 <summary> | |
3416 Clear the current strategy chain list. | |
3417 </summary> | |
3418 <remarks> | |
3419 This will not clear the inner strategy chain if this instane was created with one. | |
3420 </remarks> | |
3421 </member> | |
3422 <member name="M:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1.MakeStrategyChain"> | |
3423 <summary> | |
3424 Makes a strategy chain based on this instance. | |
3425 </summary> | |
3426 <returns>A new <see cref="T:Microsoft.Practices.ObjectBuilder2.StrategyChain"/>.</returns> | |
3427 </member> | |
3428 <member name="T:Microsoft.Practices.ObjectBuilder2.StrategyChain"> | |
3429 <summary> | |
3430 Represents a chain of responsibility for builder strategies. | |
3431 </summary> | |
3432 </member> | |
3433 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.#ctor"> | |
3434 <summary> | |
3435 Initialzie a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.StrategyChain"/> class. | |
3436 </summary> | |
3437 </member> | |
3438 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.#ctor(System.Collections.IEnumerable)"> | |
3439 <summary> | |
3440 Initialzie a new instance of the <see cref="T:Microsoft.Practices.ObjectBuilder2.StrategyChain"/> class with a colleciton of strategies. | |
3441 </summary> | |
3442 <param name="strategies">A collection of strategies to initialize the chain.</param> | |
3443 </member> | |
3444 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.Add(Microsoft.Practices.ObjectBuilder2.IBuilderStrategy)"> | |
3445 <summary> | |
3446 Adds a strategy to the chain. | |
3447 </summary> | |
3448 <param name="strategy">The strategy to add to the chain.</param> | |
3449 </member> | |
3450 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.AddRange(System.Collections.IEnumerable)"> | |
3451 <summary> | |
3452 Adds strategies to the chain. | |
3453 </summary> | |
3454 <param name="strategyEnumerable">The strategies to add to the chain.</param> | |
3455 </member> | |
3456 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.Reverse"> | |
3457 <summary> | |
3458 Reverse the order of the strategy chain. | |
3459 </summary> | |
3460 <returns>The reversed strategy chain.</returns> | |
3461 </member> | |
3462 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3463 <summary> | |
3464 Execute this strategy chain against the given context to build up. | |
3465 </summary> | |
3466 <param name="context">Context for the build processes.</param> | |
3467 <returns>The build up object</returns> | |
3468 </member> | |
3469 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteTearDown(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3470 <summary> | |
3471 Execute this strategy chain against the given context, | |
3472 calling the TearDown methods on the strategies. | |
3473 </summary> | |
3474 <param name="context">Context for the teardown process.</param> | |
3475 </member> | |
3476 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.System#Collections#Generic#IEnumerable{Microsoft#Practices#ObjectBuilder2#IBuilderStrategy}#GetEnumerator"> | |
3477 <summary> | |
3478 Returns an enumerator that iterates through the collection. | |
3479 </summary> | |
3480 | |
3481 <returns> | |
3482 A <see cref="T:System.Collections.Generic.IEnumerator`1"></see> that can be used to iterate through the collection. | |
3483 </returns> | |
3484 <filterpriority>1</filterpriority> | |
3485 </member> | |
3486 <member name="M:Microsoft.Practices.ObjectBuilder2.StrategyChain.GetEnumerator"> | |
3487 <summary> | |
3488 Returns an enumerator that iterates through a collection. | |
3489 </summary> | |
3490 | |
3491 <returns> | |
3492 An <see cref="T:System.Collections.IEnumerator"></see> object that can be used to iterate through the collection. | |
3493 </returns> | |
3494 <filterpriority>2</filterpriority> | |
3495 </member> | |
3496 <member name="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"> | |
3497 <summary> | |
3498 Build key used to combine a type object with a string name. Used by | |
3499 ObjectBuilder to indicate exactly what is being built. | |
3500 </summary> | |
3501 </member> | |
3502 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.#ctor(System.Type,System.String)"> | |
3503 <summary> | |
3504 Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance with the given | |
3505 type and name. | |
3506 </summary> | |
3507 <param name="type"><see cref="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Type"/> to build.</param> | |
3508 <param name="name">Key to use to look up type mappings and singletons.</param> | |
3509 </member> | |
3510 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.#ctor(System.Type)"> | |
3511 <summary> | |
3512 Create a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance for the default | |
3513 buildup of the given type. | |
3514 </summary> | |
3515 <param name="type"><see cref="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Type"/> to build.</param> | |
3516 </member> | |
3517 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Make``1"> | |
3518 <summary> | |
3519 This helper method creates a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance. It is | |
3520 initialized for the default key for the given type. | |
3521 </summary> | |
3522 <typeparam name="T">Type to build.</typeparam> | |
3523 <returns>A new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance.</returns> | |
3524 </member> | |
3525 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Make``1(System.String)"> | |
3526 <summary> | |
3527 This helper method creates a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance for | |
3528 the given type and key. | |
3529 </summary> | |
3530 <typeparam name="T">Type to build</typeparam> | |
3531 <param name="name">Key to use to look up type mappings and singletons.</param> | |
3532 <returns>A new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instance initialized with the given type and name.</returns> | |
3533 </member> | |
3534 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Equals(System.Object)"> | |
3535 <summary> | |
3536 Compare two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances. | |
3537 </summary> | |
3538 <remarks>Two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances compare equal | |
3539 if they contain the same name and the same type. Also, comparing | |
3540 against a different type will also return false.</remarks> | |
3541 <param name="obj">Object to compare to.</param> | |
3542 <returns>True if the two keys are equal, false if not.</returns> | |
3543 </member> | |
3544 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.GetHashCode"> | |
3545 <summary> | |
3546 Calculate a hash code for this instance. | |
3547 </summary> | |
3548 <returns>A hash code.</returns> | |
3549 </member> | |
3550 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.op_Equality(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
3551 <summary> | |
3552 Compare two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances for equality. | |
3553 </summary> | |
3554 <remarks>Two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances compare equal | |
3555 if they contain the same name and the same type.</remarks> | |
3556 <param name="left">First of the two keys to compare.</param> | |
3557 <param name="right">Second of the two keys to compare.</param> | |
3558 <returns>True if the values of the keys are the same, else false.</returns> | |
3559 </member> | |
3560 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.op_Inequality(Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey,Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey)"> | |
3561 <summary> | |
3562 Compare two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances for inequality. | |
3563 </summary> | |
3564 <remarks>Two <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> instances compare equal | |
3565 if they contain the same name and the same type. If either field differs | |
3566 the keys are not equal.</remarks> | |
3567 <param name="left">First of the two keys to compare.</param> | |
3568 <param name="right">Second of the two keys to compare.</param> | |
3569 <returns>false if the values of the keys are the same, else true.</returns> | |
3570 </member> | |
3571 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.ToString"> | |
3572 <summary> | |
3573 Formats the build key as a string (primarily for debugging). | |
3574 </summary> | |
3575 <returns>A readable string representation of the build key.</returns> | |
3576 </member> | |
3577 <member name="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Type"> | |
3578 <summary> | |
3579 Return the <see cref="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Type"/> stored in this build key. | |
3580 </summary> | |
3581 <value>The type to build.</value> | |
3582 </member> | |
3583 <member name="P:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey.Name"> | |
3584 <summary> | |
3585 Returns the name stored in this build key. | |
3586 </summary> | |
3587 <remarks>The name to use when building.</remarks> | |
3588 </member> | |
3589 <member name="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey`1"> | |
3590 <summary> | |
3591 A generic version of <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/> so that | |
3592 you can new up a key using generic syntax. | |
3593 </summary> | |
3594 <typeparam name="T">Type for the key.</typeparam> | |
3595 </member> | |
3596 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey`1.#ctor"> | |
3597 <summary> | |
3598 Construct a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey`1"/> that | |
3599 specifies the given type. | |
3600 </summary> | |
3601 </member> | |
3602 <member name="M:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey`1.#ctor(System.String)"> | |
3603 <summary> | |
3604 Construct a new <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey`1"/> that | |
3605 specifies the given type and name. | |
3606 </summary> | |
3607 <param name="name">Name for the key.</param> | |
3608 </member> | |
3609 <member name="T:Microsoft.Practices.ObjectBuilder2.Sequence"> | |
3610 <summary> | |
3611 A series of helper methods to deal with sequences - | |
3612 objects that implement <see cref="T:System.Collections.Generic.IEnumerable`1"/>. | |
3613 </summary> | |
3614 </member> | |
3615 <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.Collect``1(``0[])"> | |
3616 <summary> | |
3617 A function that turns an arbitrary parameter list into an | |
3618 <see cref="T:System.Collections.Generic.IEnumerable`1"/>. | |
3619 </summary> | |
3620 <typeparam name="T">Type of arguments.</typeparam> | |
3621 <param name="arguments">The items to put into the collection.</param> | |
3622 <returns>An array that contains the values of the <paramref name="arguments"/>.</returns> | |
3623 </member> | |
3624 <member name="M:Microsoft.Practices.ObjectBuilder2.Sequence.Zip``2(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``1})"> | |
3625 <summary> | |
3626 Given two sequences, return a new sequence containing the corresponding values | |
3627 from each one. | |
3628 </summary> | |
3629 <typeparam name="TFirstSequenceElement">Type of first sequence.</typeparam> | |
3630 <typeparam name="TSecondSequenceElement">Type of second sequence.</typeparam> | |
3631 <param name="sequence1">First sequence of items.</param> | |
3632 <param name="sequence2">Second sequence of items.</param> | |
3633 <returns>New sequence of pairs. This sequence ends when the shorter of sequence1 and sequence2 does.</returns> | |
3634 </member> | |
3635 <member name="T:Microsoft.Practices.Unity.ResolutionFailedException"> | |
3636 <summary> | |
3637 The exception thrown by the Unity container when | |
3638 an attempt to resolve a dependency fails. | |
3639 </summary> | |
3640 </member> | |
3641 <member name="M:Microsoft.Practices.Unity.ResolutionFailedException.#ctor(System.Type,System.String,System.Exception,Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
3642 <summary> | |
3643 Create a new <see cref="T:Microsoft.Practices.Unity.ResolutionFailedException"/> that records | |
3644 the exception for the given type and name. | |
3645 </summary> | |
3646 <param name="typeRequested">Type requested from the container.</param> | |
3647 <param name="nameRequested">Name requested from the container.</param> | |
3648 <param name="innerException">The actual exception that caused the failure of the build.</param> | |
3649 <param name="context">The build context representing the failed operation.</param> | |
3650 </member> | |
3651 <member name="P:Microsoft.Practices.Unity.ResolutionFailedException.TypeRequested"> | |
3652 <summary> | |
3653 The type that was being requested from the container at the time of failure. | |
3654 </summary> | |
3655 </member> | |
3656 <member name="P:Microsoft.Practices.Unity.ResolutionFailedException.NameRequested"> | |
3657 <summary> | |
3658 The name that was being requested from the container at the time of failure. | |
3659 </summary> | |
3660 </member> | |
3661 <member name="T:Microsoft.Practices.Unity.StaticFactory.StaticFactoryExtension"> | |
3662 <summary> | |
3663 A <see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> that lets you register a | |
3664 delegate with the container to create an object, rather than calling | |
3665 the object's constructor. | |
3666 </summary> | |
3667 </member> | |
3668 <member name="T:Microsoft.Practices.Unity.UnityContainerExtension"> | |
3669 <summary> | |
3670 Base class for all <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> extension objects. | |
3671 </summary> | |
3672 </member> | |
3673 <member name="M:Microsoft.Practices.Unity.UnityContainerExtension.InitializeExtension(Microsoft.Practices.Unity.ExtensionContext)"> | |
3674 <summary> | |
3675 The container calls this method when the extension is added. | |
3676 </summary> | |
3677 <param name="context">A <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> instance that gives the | |
3678 extension access to the internals of the container.</param> | |
3679 </member> | |
3680 <member name="M:Microsoft.Practices.Unity.UnityContainerExtension.Initialize"> | |
3681 <summary> | |
3682 Initial the container with this extension's functionality. | |
3683 </summary> | |
3684 <remarks> | |
3685 When overridden in a derived class, this method will modify the given | |
3686 <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> by adding strategies, policies, etc. to | |
3687 install it's functions into the container.</remarks> | |
3688 </member> | |
3689 <member name="M:Microsoft.Practices.Unity.UnityContainerExtension.Remove"> | |
3690 <summary> | |
3691 Removes the extension's functions from the container. | |
3692 </summary> | |
3693 <remarks> | |
3694 <para> | |
3695 This method is called when extensions are being removed from the container. It can be | |
3696 used to do things like disconnect event handlers or clean up member state. You do not | |
3697 need to remove strategies or policies here; the container will do that automatically. | |
3698 </para> | |
3699 <para> | |
3700 The default implementation of this method does nothing.</para> | |
3701 </remarks> | |
3702 </member> | |
3703 <member name="P:Microsoft.Practices.Unity.UnityContainerExtension.Container"> | |
3704 <summary> | |
3705 The container this extension has been added to. | |
3706 </summary> | |
3707 <value>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> that this extension has been added to.</value> | |
3708 </member> | |
3709 <member name="P:Microsoft.Practices.Unity.UnityContainerExtension.Context"> | |
3710 <summary> | |
3711 The <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> object used to manipulate | |
3712 the inner state of the container. | |
3713 </summary> | |
3714 </member> | |
3715 <member name="M:Microsoft.Practices.Unity.StaticFactory.StaticFactoryExtension.Initialize"> | |
3716 <summary> | |
3717 Initialize this extension. This particular extension requires no | |
3718 initialization work. | |
3719 </summary> | |
3720 </member> | |
3721 <member name="M:Microsoft.Practices.Unity.StaticFactory.StaticFactoryExtension.RegisterFactory``1(System.String,System.Func{Microsoft.Practices.Unity.IUnityContainer,System.Object})"> | |
3722 <summary> | |
3723 Register the given factory delegate to be called when the container is | |
3724 asked to resolve <typeparamref name="TTypeToBuild"/> and <paramref name="name"/>. | |
3725 </summary> | |
3726 <typeparam name="TTypeToBuild">Type that will be requested from the container.</typeparam> | |
3727 <param name="name">The name that will be used when requesting to resolve this type.</param> | |
3728 <param name="factoryMethod">Delegate to invoke to create the instance.</param> | |
3729 <returns>The container extension object this method was invoked on.</returns> | |
3730 </member> | |
3731 <member name="M:Microsoft.Practices.Unity.StaticFactory.StaticFactoryExtension.RegisterFactory``1(System.Func{Microsoft.Practices.Unity.IUnityContainer,System.Object})"> | |
3732 <summary> | |
3733 Register the given factory delegate to be called when the container is | |
3734 asked to resolve <typeparamref name="TTypeToBuild"/>. | |
3735 </summary> | |
3736 <typeparam name="TTypeToBuild">Type that will be requested from the container.</typeparam> | |
3737 <param name="factoryMethod">Delegate to invoke to create the instance.</param> | |
3738 <returns>The container extension object this method was invoked on.</returns> | |
3739 </member> | |
3740 <member name="T:Microsoft.Practices.Unity.TypeBasedOverride"> | |
3741 <summary> | |
3742 An implementation of <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/> that | |
3743 acts as a decorator over another <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/>. | |
3744 This checks to see if the current type being built is the | |
3745 right one before checking the inner <see cref="T:Microsoft.Practices.Unity.ResolverOverride"/>. | |
3746 </summary> | |
3747 </member> | |
3748 <member name="M:Microsoft.Practices.Unity.TypeBasedOverride.#ctor(System.Type,Microsoft.Practices.Unity.ResolverOverride)"> | |
3749 <summary> | |
3750 Create an instance of <see cref="T:Microsoft.Practices.Unity.TypeBasedOverride"/> | |
3751 </summary> | |
3752 <param name="targetType">Type to check for.</param> | |
3753 <param name="innerOverride">Inner override to check after type matches.</param> | |
3754 </member> | |
3755 <member name="M:Microsoft.Practices.Unity.TypeBasedOverride.GetResolver(Microsoft.Practices.ObjectBuilder2.IBuilderContext,System.Type)"> | |
3756 <summary> | |
3757 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that can be used to give a value | |
3758 for the given desired dependency. | |
3759 </summary> | |
3760 <param name="context">Current build context.</param> | |
3761 <param name="dependencyType">Type of dependency desired.</param> | |
3762 <returns>a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> object if this override applies, null if not.</returns> | |
3763 </member> | |
3764 <member name="T:Microsoft.Practices.Unity.TypeBasedOverride`1"> | |
3765 <summary> | |
3766 A convenience version of <see cref="T:Microsoft.Practices.Unity.TypeBasedOverride"/> that lets you | |
3767 specify the type to construct via generics syntax. | |
3768 </summary> | |
3769 <typeparam name="T">Type to check for.</typeparam> | |
3770 </member> | |
3771 <member name="M:Microsoft.Practices.Unity.TypeBasedOverride`1.#ctor(Microsoft.Practices.Unity.ResolverOverride)"> | |
3772 <summary> | |
3773 Create an instance of <see cref="T:Microsoft.Practices.Unity.TypeBasedOverride`1"/>. | |
3774 </summary> | |
3775 <param name="innerOverride">Inner override to check after type matches.</param> | |
3776 </member> | |
3777 <member name="T:Microsoft.Practices.Unity.UnityContainerExtensions"> | |
3778 <summary> | |
3779 Extension class that adds a set of convenience overloads to the | |
3780 <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> interface. | |
3781 </summary> | |
3782 </member> | |
3783 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType``1(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.InjectionMember[])"> | |
3784 <summary> | |
3785 Register a type with specific members to be injected. | |
3786 </summary> | |
3787 <typeparam name="T">Type this registration is for.</typeparam> | |
3788 <param name="container">Container to configure.</param> | |
3789 <param name="injectionMembers">Injection configuration objects.</param> | |
3790 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3791 </member> | |
3792 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType``2(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.InjectionMember[])"> | |
3793 <summary> | |
3794 Register a type mapping with the container. | |
3795 </summary> | |
3796 <remarks> | |
3797 <para> | |
3798 This method is used to tell the container that when asked for type <typeparamref name="TFrom"/>, | |
3799 actually return an instance of type <typeparamref name="TTo"/>. This is very useful for | |
3800 getting instances of interfaces. | |
3801 </para> | |
3802 <para> | |
3803 This overload registers a default mapping and transient lifetime. | |
3804 </para> | |
3805 </remarks> | |
3806 <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam> | |
3807 <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam> | |
3808 <param name="container">Container to configure.</param> | |
3809 <param name="injectionMembers">Injection configuration objects.</param> | |
3810 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3811 </member> | |
3812 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType``2(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
3813 <summary> | |
3814 Register a type mapping with the container, where the created instances will use | |
3815 the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>. | |
3816 </summary> | |
3817 <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam> | |
3818 <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam> | |
3819 <param name="container">Container to configure.</param> | |
3820 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
3821 of the returned instance.</param> | |
3822 <param name="injectionMembers">Injection configuration objects.</param> | |
3823 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3824 </member> | |
3825 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType``2(Microsoft.Practices.Unity.IUnityContainer,System.String,Microsoft.Practices.Unity.InjectionMember[])"> | |
3826 <summary> | |
3827 Register a type mapping with the container. | |
3828 </summary> | |
3829 <remarks> | |
3830 This method is used to tell the container that when asked for type <typeparamref name="TFrom"/>, | |
3831 actually return an instance of type <typeparamref name="TTo"/>. This is very useful for | |
3832 getting instances of interfaces. | |
3833 </remarks> | |
3834 <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam> | |
3835 <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam> | |
3836 <param name="container">Container to configure.</param> | |
3837 <param name="name">Name of this mapping.</param> | |
3838 <param name="injectionMembers">Injection configuration objects.</param> | |
3839 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3840 </member> | |
3841 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType``2(Microsoft.Practices.Unity.IUnityContainer,System.String,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
3842 <summary> | |
3843 Register a type mapping with the container, where the created instances will use | |
3844 the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>. | |
3845 </summary> | |
3846 <typeparam name="TFrom"><see cref="T:System.Type"/> that will be requested.</typeparam> | |
3847 <typeparam name="TTo"><see cref="T:System.Type"/> that will actually be returned.</typeparam> | |
3848 <param name="container">Container to configure.</param> | |
3849 <param name="name">Name to use for registration, null if a default registration.</param> | |
3850 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
3851 of the returned instance.</param> | |
3852 <param name="injectionMembers">Injection configuration objects.</param> | |
3853 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3854 </member> | |
3855 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType``1(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
3856 <summary> | |
3857 Register a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type with the container. | |
3858 No type mapping is performed for this type. | |
3859 </summary> | |
3860 <typeparam name="T">The type to apply the <paramref name="lifetimeManager"/> to.</typeparam> | |
3861 <param name="container">Container to configure.</param> | |
3862 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
3863 of the returned instance.</param> | |
3864 <param name="injectionMembers">Injection configuration objects.</param> | |
3865 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3866 </member> | |
3867 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType``1(Microsoft.Practices.Unity.IUnityContainer,System.String,Microsoft.Practices.Unity.InjectionMember[])"> | |
3868 <summary> | |
3869 Register a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type with the container. | |
3870 No type mapping is performed for this type. | |
3871 </summary> | |
3872 <typeparam name="T">The type to configure injection on.</typeparam> | |
3873 <param name="container">Container to configure.</param> | |
3874 <param name="name">Name that will be used to request the type.</param> | |
3875 <param name="injectionMembers">Injection configuration objects.</param> | |
3876 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3877 </member> | |
3878 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType``1(Microsoft.Practices.Unity.IUnityContainer,System.String,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
3879 <summary> | |
3880 Register a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container. | |
3881 No type mapping is performed for this type. | |
3882 </summary> | |
3883 <typeparam name="T">The type to apply the <paramref name="lifetimeManager"/> to.</typeparam> | |
3884 <param name="container">Container to configure.</param> | |
3885 <param name="name">Name that will be used to request the type.</param> | |
3886 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
3887 of the returned instance.</param> | |
3888 <param name="injectionMembers">Injection configuration objects.</param> | |
3889 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3890 </member> | |
3891 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType(Microsoft.Practices.Unity.IUnityContainer,System.Type,Microsoft.Practices.Unity.InjectionMember[])"> | |
3892 <summary> | |
3893 Register a type with specific members to be injected. | |
3894 </summary> | |
3895 <param name="container">Container to configure.</param> | |
3896 <param name="t">Type this registration is for.</param> | |
3897 <param name="injectionMembers">Injection configuration objects.</param> | |
3898 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3899 </member> | |
3900 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,Microsoft.Practices.Unity.InjectionMember[])"> | |
3901 <summary> | |
3902 Register a type mapping with the container. | |
3903 </summary> | |
3904 <remarks> | |
3905 <para> | |
3906 This method is used to tell the container that when asked for type <paramref name="from"/>, | |
3907 actually return an instance of type <paramref name="to"/>. This is very useful for | |
3908 getting instances of interfaces. | |
3909 </para> | |
3910 <para> | |
3911 This overload registers a default mapping. | |
3912 </para> | |
3913 </remarks> | |
3914 <param name="container">Container to configure.</param> | |
3915 <param name="from"><see cref="T:System.Type"/> that will be requested.</param> | |
3916 <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param> | |
3917 <param name="injectionMembers">Injection configuration objects.</param> | |
3918 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3919 </member> | |
3920 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String,Microsoft.Practices.Unity.InjectionMember[])"> | |
3921 <summary> | |
3922 Register a type mapping with the container. | |
3923 </summary> | |
3924 <remarks> | |
3925 This method is used to tell the container that when asked for type <paramref name="from"/>, | |
3926 actually return an instance of type <paramref name="to"/>. This is very useful for | |
3927 getting instances of interfaces. | |
3928 </remarks> | |
3929 <param name="container">Container to configure.</param> | |
3930 <param name="from"><see cref="T:System.Type"/> that will be requested.</param> | |
3931 <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param> | |
3932 <param name="name">Name to use for registration, null if a default registration.</param> | |
3933 <param name="injectionMembers">Injection configuration objects.</param> | |
3934 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3935 </member> | |
3936 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
3937 <summary> | |
3938 Register a type mapping with the container, where the created instances will use | |
3939 the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>. | |
3940 </summary> | |
3941 <param name="container">Container to configure.</param> | |
3942 <param name="from"><see cref="T:System.Type"/> that will be requested.</param> | |
3943 <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param> | |
3944 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
3945 of the returned instance.</param> | |
3946 <param name="injectionMembers">Injection configuration objects.</param> | |
3947 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3948 </member> | |
3949 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType(Microsoft.Practices.Unity.IUnityContainer,System.Type,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
3950 <summary> | |
3951 Register a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container. | |
3952 No type mapping is performed for this type. | |
3953 </summary> | |
3954 <param name="container">Container to configure.</param> | |
3955 <param name="t">The <see cref="T:System.Type"/> to apply the <paramref name="lifetimeManager"/> to.</param> | |
3956 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
3957 of the returned instance.</param> | |
3958 <param name="injectionMembers">Injection configuration objects.</param> | |
3959 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3960 </member> | |
3961 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.String,Microsoft.Practices.Unity.InjectionMember[])"> | |
3962 <summary> | |
3963 Register a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container. | |
3964 No type mapping is performed for this type. | |
3965 </summary> | |
3966 <param name="container">Container to configure.</param> | |
3967 <param name="t">The <see cref="T:System.Type"/> to configure in the container.</param> | |
3968 <param name="name">Name to use for registration, null if a default registration.</param> | |
3969 <param name="injectionMembers">Injection configuration objects.</param> | |
3970 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3971 </member> | |
3972 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterType(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
3973 <summary> | |
3974 Register a <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> for the given type and name with the container. | |
3975 No type mapping is performed for this type. | |
3976 </summary> | |
3977 <param name="container">Container to configure.</param> | |
3978 <param name="t">The <see cref="T:System.Type"/> to apply the <paramref name="lifetimeManager"/> to.</param> | |
3979 <param name="name">Name to use for registration, null if a default registration.</param> | |
3980 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
3981 of the returned instance.</param> | |
3982 <param name="injectionMembers">Injection configuration objects.</param> | |
3983 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
3984 </member> | |
3985 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterInstance``1(Microsoft.Practices.Unity.IUnityContainer,``0)"> | |
3986 <summary> | |
3987 Register an instance with the container. | |
3988 </summary> | |
3989 <remarks> | |
3990 <para> | |
3991 Instance registration is much like setting a type as a singleton, except that instead | |
3992 of the container creating the instance the first time it is requested, the user | |
3993 creates the instance ahead of type and adds that instance to the container. | |
3994 </para> | |
3995 <para> | |
3996 This overload does a default registration and has the container take over the lifetime of the instance.</para> | |
3997 </remarks> | |
3998 <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam> | |
3999 <param name="container">Container to configure.</param> | |
4000 <param name="instance">Object to returned.</param> | |
4001 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4002 </member> | |
4003 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterInstance``1(Microsoft.Practices.Unity.IUnityContainer,``0,Microsoft.Practices.Unity.LifetimeManager)"> | |
4004 <summary> | |
4005 Register an instance with the container. | |
4006 </summary> | |
4007 <remarks> | |
4008 <para> | |
4009 Instance registration is much like setting a type as a singleton, except that instead | |
4010 of the container creating the instance the first time it is requested, the user | |
4011 creates the instance ahead of type and adds that instance to the container. | |
4012 </para> | |
4013 <para> | |
4014 This overload does a default registration (name = null). | |
4015 </para> | |
4016 </remarks> | |
4017 <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam> | |
4018 <param name="container">Container to configure.</param> | |
4019 <param name="instance">Object to returned.</param> | |
4020 <param name="lifetimeManager"> | |
4021 <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param> | |
4022 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4023 </member> | |
4024 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterInstance``1(Microsoft.Practices.Unity.IUnityContainer,System.String,``0)"> | |
4025 <summary> | |
4026 Register an instance with the container. | |
4027 </summary> | |
4028 <remarks> | |
4029 <para> | |
4030 Instance registration is much like setting a type as a singleton, except that instead | |
4031 of the container creating the instance the first time it is requested, the user | |
4032 creates the instance ahead of type and adds that instance to the container. | |
4033 </para> | |
4034 <para> | |
4035 This overload automatically has the container take ownership of the <paramref name="instance"/>.</para> | |
4036 </remarks> | |
4037 <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam> | |
4038 <param name="instance">Object to returned.</param> | |
4039 <param name="container">Container to configure.</param> | |
4040 <param name="name">Name for registration.</param> | |
4041 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4042 </member> | |
4043 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterInstance``1(Microsoft.Practices.Unity.IUnityContainer,System.String,``0,Microsoft.Practices.Unity.LifetimeManager)"> | |
4044 <summary> | |
4045 Register an instance with the container. | |
4046 </summary> | |
4047 <remarks> | |
4048 <para> | |
4049 Instance registration is much like setting a type as a singleton, except that instead | |
4050 of the container creating the instance the first time it is requested, the user | |
4051 creates the instance ahead of type and adds that instance to the container. | |
4052 </para> | |
4053 </remarks> | |
4054 <typeparam name="TInterface">Type of instance to register (may be an implemented interface instead of the full type).</typeparam> | |
4055 <param name="instance">Object to returned.</param> | |
4056 <param name="container">Container to configure.</param> | |
4057 <param name="name">Name for registration.</param> | |
4058 <param name="lifetimeManager"> | |
4059 <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param> | |
4060 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4061 </member> | |
4062 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterInstance(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Object)"> | |
4063 <summary> | |
4064 Register an instance with the container. | |
4065 </summary> | |
4066 <remarks> | |
4067 <para> | |
4068 Instance registration is much like setting a type as a singleton, except that instead | |
4069 of the container creating the instance the first time it is requested, the user | |
4070 creates the instance ahead of type and adds that instance to the container. | |
4071 </para> | |
4072 <para> | |
4073 This overload does a default registration and has the container take over the lifetime of the instance.</para> | |
4074 </remarks> | |
4075 <param name="container">Container to configure.</param> | |
4076 <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param> | |
4077 <param name="instance">Object to returned.</param> | |
4078 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4079 </member> | |
4080 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterInstance(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Object,Microsoft.Practices.Unity.LifetimeManager)"> | |
4081 <summary> | |
4082 Register an instance with the container. | |
4083 </summary> | |
4084 <remarks> | |
4085 <para> | |
4086 Instance registration is much like setting a type as a singleton, except that instead | |
4087 of the container creating the instance the first time it is requested, the user | |
4088 creates the instance ahead of type and adds that instance to the container. | |
4089 </para> | |
4090 <para> | |
4091 This overload does a default registration (name = null). | |
4092 </para> | |
4093 </remarks> | |
4094 <param name="container">Container to configure.</param> | |
4095 <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param> | |
4096 <param name="instance">Object to returned.</param> | |
4097 <param name="lifetimeManager"> | |
4098 <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param> | |
4099 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4100 </member> | |
4101 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.RegisterInstance(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.String,System.Object)"> | |
4102 <summary> | |
4103 Register an instance with the container. | |
4104 </summary> | |
4105 <remarks> | |
4106 <para> | |
4107 Instance registration is much like setting a type as a singleton, except that instead | |
4108 of the container creating the instance the first time it is requested, the user | |
4109 creates the instance ahead of type and adds that instance to the container. | |
4110 </para> | |
4111 <para> | |
4112 This overload automatically has the container take ownership of the <paramref name="instance"/>.</para> | |
4113 </remarks> | |
4114 <param name="container">Container to configure.</param> | |
4115 <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param> | |
4116 <param name="instance">Object to returned.</param> | |
4117 <param name="name">Name for registration.</param> | |
4118 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4119 </member> | |
4120 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.Resolve``1(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4121 <summary> | |
4122 Resolve an instance of the default requested type from the container. | |
4123 </summary> | |
4124 <typeparam name="T"><see cref="T:System.Type"/> of object to get from the container.</typeparam> | |
4125 <param name="container">Container to resolve from.</param> | |
4126 <param name="overrides">Any overrides for the resolve call.</param> | |
4127 <returns>The retrieved object.</returns> | |
4128 </member> | |
4129 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.Resolve``1(Microsoft.Practices.Unity.IUnityContainer,System.String,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4130 <summary> | |
4131 Resolve an instance of the requested type with the given name from the container. | |
4132 </summary> | |
4133 <typeparam name="T"><see cref="T:System.Type"/> of object to get from the container.</typeparam> | |
4134 <param name="container">Container to resolve from.</param> | |
4135 <param name="name">Name of the object to retrieve.</param> | |
4136 <param name="overrides">Any overrides for the resolve call.</param> | |
4137 <returns>The retrieved object.</returns> | |
4138 </member> | |
4139 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.Resolve(Microsoft.Practices.Unity.IUnityContainer,System.Type,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4140 <summary> | |
4141 Resolve an instance of the default requested type from the container. | |
4142 </summary> | |
4143 <param name="container">Container to resolve from.</param> | |
4144 <param name="t"><see cref="T:System.Type"/> of object to get from the container.</param> | |
4145 <param name="overrides">Any overrides for the resolve call.</param> | |
4146 <returns>The retrieved object.</returns> | |
4147 </member> | |
4148 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.ResolveAll``1(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4149 <summary> | |
4150 Return instances of all registered types requested. | |
4151 </summary> | |
4152 <remarks> | |
4153 <para> | |
4154 This method is useful if you've registered multiple types with the same | |
4155 <see cref="T:System.Type"/> but different names. | |
4156 </para> | |
4157 <para> | |
4158 Be aware that this method does NOT return an instance for the default (unnamed) registration. | |
4159 </para> | |
4160 </remarks> | |
4161 <typeparam name="T">The type requested.</typeparam> | |
4162 <param name="container">Container to resolve from.</param> | |
4163 <param name="resolverOverrides">Any overrides for the resolve calls.</param> | |
4164 <returns>Set of objects of type <typeparamref name="T"/>.</returns> | |
4165 </member> | |
4166 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.BuildUp``1(Microsoft.Practices.Unity.IUnityContainer,``0,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4167 <summary> | |
4168 Run an existing object through the container and perform injection on it. | |
4169 </summary> | |
4170 <remarks> | |
4171 <para> | |
4172 This method is useful when you don't control the construction of an | |
4173 instance (ASP.NET pages or objects created via XAML, for instance) | |
4174 but you still want properties and other injection performed. | |
4175 </para> | |
4176 <para> | |
4177 This overload uses the default registrations. | |
4178 </para> | |
4179 </remarks> | |
4180 <typeparam name="T"><see cref="T:System.Type"/> of object to perform injection on.</typeparam> | |
4181 <param name="container">Container to resolve through.</param> | |
4182 <param name="existing">Instance to build up.</param> | |
4183 <param name="resolverOverrides">Any overrides for the buildup.</param> | |
4184 <returns>The resulting object. By default, this will be <paramref name="existing"/>, but | |
4185 container extensions may add things like automatic proxy creation which would | |
4186 cause this to return a different object (but still type compatible with <typeparamref name="T"/>).</returns> | |
4187 </member> | |
4188 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.BuildUp``1(Microsoft.Practices.Unity.IUnityContainer,``0,System.String,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4189 <summary> | |
4190 Run an existing object through the container and perform injection on it. | |
4191 </summary> | |
4192 <remarks> | |
4193 <para> | |
4194 This method is useful when you don't control the construction of an | |
4195 instance (ASP.NET pages or objects created via XAML, for instance) | |
4196 but you still want properties and other injection performed. | |
4197 </para></remarks> | |
4198 <typeparam name="T"><see cref="T:System.Type"/> of object to perform injection on.</typeparam> | |
4199 <param name="container">Conatiner to resolve through.</param> | |
4200 <param name="existing">Instance to build up.</param> | |
4201 <param name="name">name to use when looking up the typemappings and other configurations.</param> | |
4202 <param name="resolverOverrides">Any overrides for the Buildup.</param> | |
4203 <returns>The resulting object. By default, this will be <paramref name="existing"/>, but | |
4204 container extensions may add things like automatic proxy creation which would | |
4205 cause this to return a different object (but still type compatible with <typeparamref name="T"/>).</returns> | |
4206 </member> | |
4207 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.BuildUp(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Object,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4208 <summary> | |
4209 Run an existing object through the container and perform injection on it. | |
4210 </summary> | |
4211 <remarks> | |
4212 <para> | |
4213 This method is useful when you don't control the construction of an | |
4214 instance (ASP.NET pages or objects created via XAML, for instance) | |
4215 but you still want properties and other injection performed. | |
4216 </para> | |
4217 <para> | |
4218 This overload uses the default registrations. | |
4219 </para> | |
4220 </remarks> | |
4221 <param name="container">Container to resolve through.</param> | |
4222 <param name="t"><see cref="T:System.Type"/> of object to perform injection on.</param> | |
4223 <param name="existing">Instance to build up.</param> | |
4224 <param name="resolverOverrides">Any overrides for the Buildup.</param> | |
4225 <returns>The resulting object. By default, this will be <paramref name="existing"/>, but | |
4226 container extensions may add things like automatic proxy creation which would | |
4227 cause this to return a different object (but still type compatible with <paramref name="t"/>).</returns> | |
4228 </member> | |
4229 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.AddNewExtension``1(Microsoft.Practices.Unity.IUnityContainer)"> | |
4230 <summary> | |
4231 Creates a new extension object and adds it to the container. | |
4232 </summary> | |
4233 <typeparam name="TExtension">Type of <see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> to add. The extension type | |
4234 will be resolved from within the supplied <paramref name="container"/>.</typeparam> | |
4235 <param name="container">Container to add the extension to.</param> | |
4236 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4237 </member> | |
4238 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.Configure``1(Microsoft.Practices.Unity.IUnityContainer)"> | |
4239 <summary> | |
4240 Resolve access to a configuration interface exposed by an extension. | |
4241 </summary> | |
4242 <remarks>Extensions can expose configuration interfaces as well as adding | |
4243 strategies and policies to the container. This method walks the list of | |
4244 added extensions and returns the first one that implements the requested type. | |
4245 </remarks> | |
4246 <typeparam name="TConfigurator">The configuration interface required.</typeparam> | |
4247 <param name="container">Container to configure.</param> | |
4248 <returns>The requested extension's configuration interface, or null if not found.</returns> | |
4249 </member> | |
4250 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.IsRegistered(Microsoft.Practices.Unity.IUnityContainer,System.Type)"> | |
4251 <summary> | |
4252 Check if a particular type has been registered with the container with | |
4253 the default name. | |
4254 </summary> | |
4255 <param name="container">Container to inspect.</param> | |
4256 <param name="typeToCheck">Type to check registration for.</param> | |
4257 <returns>True if this type has been registered, false if not.</returns> | |
4258 </member> | |
4259 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.IsRegistered(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.String)"> | |
4260 <summary> | |
4261 Check if a particular type/name pair has been registered with the container. | |
4262 </summary> | |
4263 <param name="container">Container to inspect.</param> | |
4264 <param name="typeToCheck">Type to check registration for.</param> | |
4265 <param name="nameToCheck">Name to check registration for.</param> | |
4266 <returns>True if this type/name pair has been registered, false if not.</returns> | |
4267 </member> | |
4268 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.IsRegistered``1(Microsoft.Practices.Unity.IUnityContainer)"> | |
4269 <summary> | |
4270 Check if a particular type has been registered with the container with the default name. | |
4271 </summary> | |
4272 <typeparam name="T">Type to check registration for.</typeparam> | |
4273 <param name="container">Container to inspect.</param> | |
4274 <returns>True if this type has been registered, false if not.</returns> | |
4275 </member> | |
4276 <member name="M:Microsoft.Practices.Unity.UnityContainerExtensions.IsRegistered``1(Microsoft.Practices.Unity.IUnityContainer,System.String)"> | |
4277 <summary> | |
4278 Check if a particular type/name pair has been registered with the container. | |
4279 </summary> | |
4280 <typeparam name="T">Type to check registration for.</typeparam> | |
4281 <param name="container">Container to inspect.</param> | |
4282 <param name="nameToCheck">Name to check registration for.</param> | |
4283 <returns>True if this type/name pair has been registered, false if not.</returns> | |
4284 </member> | |
4285 <member name="T:Microsoft.Practices.Unity.ExtensionContext"> | |
4286 <summary> | |
4287 The <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> class provides the means for extension objects | |
4288 to manipulate the internal state of the <see cref="T:Microsoft.Practices.Unity.UnityContainer"/>. | |
4289 </summary> | |
4290 </member> | |
4291 <member name="M:Microsoft.Practices.Unity.ExtensionContext.RegisterNamedType(System.Type,System.String)"> | |
4292 <summary> | |
4293 Store a type/name pair for later resolution. | |
4294 </summary> | |
4295 <remarks> | |
4296 <para> | |
4297 When users register type mappings (or other things) with a named key, this method | |
4298 allows you to register that name with the container so that when the <see cref="M:Microsoft.Practices.Unity.IUnityContainer.ResolveAll(System.Type,Microsoft.Practices.Unity.ResolverOverride[])"/> | |
4299 method is called, that name is included in the list that is returned. | |
4300 </para></remarks> | |
4301 <param name="t"><see cref="T:System.Type"/> to register.</param> | |
4302 <param name="name">Name assocated with that type.</param> | |
4303 </member> | |
4304 <member name="P:Microsoft.Practices.Unity.ExtensionContext.Container"> | |
4305 <summary> | |
4306 The container that this context is associated with. | |
4307 </summary> | |
4308 <value>The <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> object.</value> | |
4309 </member> | |
4310 <member name="P:Microsoft.Practices.Unity.ExtensionContext.Strategies"> | |
4311 <summary> | |
4312 The strategies this container uses. | |
4313 </summary> | |
4314 <value>The <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> that the container uses to build objects.</value> | |
4315 </member> | |
4316 <member name="P:Microsoft.Practices.Unity.ExtensionContext.BuildPlanStrategies"> | |
4317 <summary> | |
4318 The strategies this container uses to construct build plans. | |
4319 </summary> | |
4320 <value>The <see cref="T:Microsoft.Practices.ObjectBuilder2.StagedStrategyChain`1"/> that this container uses when creating | |
4321 build plans.</value> | |
4322 </member> | |
4323 <member name="P:Microsoft.Practices.Unity.ExtensionContext.Policies"> | |
4324 <summary> | |
4325 The policies this container uses. | |
4326 </summary> | |
4327 <remarks>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> the that container uses to build objects.</remarks> | |
4328 </member> | |
4329 <member name="P:Microsoft.Practices.Unity.ExtensionContext.Lifetime"> | |
4330 <summary> | |
4331 The <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeContainer"/> that this container uses. | |
4332 </summary> | |
4333 <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> | |
4334 </member> | |
4335 <member name="E:Microsoft.Practices.Unity.ExtensionContext.Registering"> | |
4336 <summary> | |
4337 This event is raised when the <see cref="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"/> method, | |
4338 or one of its overloads, is called. | |
4339 </summary> | |
4340 </member> | |
4341 <member name="E:Microsoft.Practices.Unity.ExtensionContext.RegisteringInstance"> | |
4342 <summary> | |
4343 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, | |
4344 or one of its overloads, is called. | |
4345 </summary> | |
4346 </member> | |
4347 <member name="E:Microsoft.Practices.Unity.ExtensionContext.ChildContainerCreated"> | |
4348 <summary> | |
4349 This event is raised when the <see cref="M:Microsoft.Practices.Unity.IUnityContainer.CreateChildContainer"/> method is called, providing | |
4350 the newly created child container to extensions to act on as they see fit. | |
4351 </summary> | |
4352 </member> | |
4353 <member name="T:Microsoft.Practices.Unity.NamedEventArgs"> | |
4354 <summary> | |
4355 An EventArgs class that holds a string Name. | |
4356 </summary> | |
4357 </member> | |
4358 <member name="M:Microsoft.Practices.Unity.NamedEventArgs.#ctor"> | |
4359 <summary> | |
4360 Create a new <see cref="T:Microsoft.Practices.Unity.NamedEventArgs"/> with a null name. | |
4361 </summary> | |
4362 </member> | |
4363 <member name="M:Microsoft.Practices.Unity.NamedEventArgs.#ctor(System.String)"> | |
4364 <summary> | |
4365 Create a new <see cref="T:Microsoft.Practices.Unity.NamedEventArgs"/> with the given name. | |
4366 </summary> | |
4367 <param name="name">Name to store.</param> | |
4368 </member> | |
4369 <member name="P:Microsoft.Practices.Unity.NamedEventArgs.Name"> | |
4370 <summary> | |
4371 The name. | |
4372 </summary> | |
4373 <value>Name used for this event arg object.</value> | |
4374 </member> | |
4375 <member name="T:Microsoft.Practices.Unity.RegisterEventArgs"> | |
4376 <summary> | |
4377 Event argument class for the <see cref="E:Microsoft.Practices.Unity.ExtensionContext.Registering"/> event. | |
4378 </summary> | |
4379 </member> | |
4380 <member name="M:Microsoft.Practices.Unity.RegisterEventArgs.#ctor(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager)"> | |
4381 <summary> | |
4382 Create a new instance of <see cref="T:Microsoft.Practices.Unity.RegisterEventArgs"/>. | |
4383 </summary> | |
4384 <param name="typeFrom">Type to map from.</param> | |
4385 <param name="typeTo">Type to map to.</param> | |
4386 <param name="name">Name for the registration.</param> | |
4387 <param name="lifetimeManager"><see cref="P:Microsoft.Practices.Unity.RegisterEventArgs.LifetimeManager"/> to manage instances.</param> | |
4388 </member> | |
4389 <member name="P:Microsoft.Practices.Unity.RegisterEventArgs.TypeFrom"> | |
4390 <summary> | |
4391 Type to map from. | |
4392 </summary> | |
4393 </member> | |
4394 <member name="P:Microsoft.Practices.Unity.RegisterEventArgs.TypeTo"> | |
4395 <summary> | |
4396 Type to map to. | |
4397 </summary> | |
4398 </member> | |
4399 <member name="P:Microsoft.Practices.Unity.RegisterEventArgs.LifetimeManager"> | |
4400 <summary> | |
4401 <see cref="P:Microsoft.Practices.Unity.RegisterEventArgs.LifetimeManager"/> to manage instances. | |
4402 </summary> | |
4403 </member> | |
4404 <member name="T:Microsoft.Practices.Unity.RegisterInstanceEventArgs"> | |
4405 <summary> | |
4406 Event argument class for the <see cref="E:Microsoft.Practices.Unity.ExtensionContext.RegisteringInstance"/> event. | |
4407 </summary> | |
4408 </member> | |
4409 <member name="M:Microsoft.Practices.Unity.RegisterInstanceEventArgs.#ctor"> | |
4410 <summary> | |
4411 Create a default <see cref="T:Microsoft.Practices.Unity.RegisterInstanceEventArgs"/> instance. | |
4412 </summary> | |
4413 </member> | |
4414 <member name="M:Microsoft.Practices.Unity.RegisterInstanceEventArgs.#ctor(System.Type,System.Object,System.String,Microsoft.Practices.Unity.LifetimeManager)"> | |
4415 <summary> | |
4416 Create a <see cref="T:Microsoft.Practices.Unity.RegisterInstanceEventArgs"/> instance initialized with the given arguments. | |
4417 </summary> | |
4418 <param name="registeredType">Type of instance being registered.</param> | |
4419 <param name="instance">The instance object itself.</param> | |
4420 <param name="name">Name to register under, null if default registration.</param> | |
4421 <param name="lifetimeManager"><see cref="P:Microsoft.Practices.Unity.RegisterInstanceEventArgs.LifetimeManager"/> object that handles how | |
4422 the instance will be owned.</param> | |
4423 </member> | |
4424 <member name="P:Microsoft.Practices.Unity.RegisterInstanceEventArgs.RegisteredType"> | |
4425 <summary> | |
4426 Type of instance being registered. | |
4427 </summary> | |
4428 <value> | |
4429 Type of instance being registered. | |
4430 </value> | |
4431 </member> | |
4432 <member name="P:Microsoft.Practices.Unity.RegisterInstanceEventArgs.Instance"> | |
4433 <summary> | |
4434 Instance object being registered. | |
4435 </summary> | |
4436 <value>Instance object being registered</value> | |
4437 </member> | |
4438 <member name="P:Microsoft.Practices.Unity.RegisterInstanceEventArgs.LifetimeManager"> | |
4439 <summary> | |
4440 <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls ownership of | |
4441 this instance. | |
4442 </summary> | |
4443 </member> | |
4444 <member name="T:Microsoft.Practices.Unity.GenericParameter"> | |
4445 <summary> | |
4446 A <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> that lets you specify that | |
4447 an instance of a generic type parameter should be resolved. | |
4448 </summary> | |
4449 </member> | |
4450 <member name="M:Microsoft.Practices.Unity.GenericParameter.#ctor(System.String)"> | |
4451 <summary> | |
4452 Create a new <see cref="T:Microsoft.Practices.Unity.GenericParameter"/> instance that specifies | |
4453 that the given named generic parameter should be resolved. | |
4454 </summary> | |
4455 <param name="genericParameterName">The generic parameter name to resolve.</param> | |
4456 </member> | |
4457 <member name="M:Microsoft.Practices.Unity.GenericParameter.#ctor(System.String,System.String)"> | |
4458 <summary> | |
4459 Create a new <see cref="T:Microsoft.Practices.Unity.GenericParameter"/> instance that specifies | |
4460 that the given named generic parameter should be resolved. | |
4461 </summary> | |
4462 <param name="genericParameterName">The generic parameter name to resolve.</param> | |
4463 <param name="resolutionKey">name to use when looking up in the container.</param> | |
4464 </member> | |
4465 <member name="M:Microsoft.Practices.Unity.GenericParameter.DoGetResolverPolicy(System.Type,System.String)"> | |
4466 <summary> | |
4467 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
4468 return this types value for the parameter. | |
4469 </summary> | |
4470 <param name="typeToResolve">The actual type to resolve.</param> | |
4471 <param name="resolutionKey">The resolution key.</param> | |
4472 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
4473 </member> | |
4474 <member name="T:Microsoft.Practices.Unity.GenericResolvedArrayParameter"> | |
4475 <summary> | |
4476 A <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> that lets you specify that | |
4477 an array containing the registered instances of a generic type parameter | |
4478 should be resolved. | |
4479 </summary> | |
4480 </member> | |
4481 <member name="M:Microsoft.Practices.Unity.GenericResolvedArrayParameter.#ctor(System.String,System.Object[])"> | |
4482 <summary> | |
4483 Create a new <see cref="T:Microsoft.Practices.Unity.GenericResolvedArrayParameter"/> instance that specifies | |
4484 that the given named generic parameter should be resolved. | |
4485 </summary> | |
4486 <param name="genericParameterName">The generic parameter name to resolve.</param> | |
4487 <param name="elementValues">The values for the elements, that will | |
4488 be converted to <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects.</param> | |
4489 </member> | |
4490 <member name="M:Microsoft.Practices.Unity.GenericResolvedArrayParameter.MatchesType(System.Type)"> | |
4491 <summary> | |
4492 Test to see if this parameter value has a matching type for the given type. | |
4493 </summary> | |
4494 <param name="t">Type to check.</param> | |
4495 <returns>True if this parameter value is compatible with type <paramref name="t"/>, | |
4496 false if not.</returns> | |
4497 <remarks>A type is considered compatible if it is an array type of rank one | |
4498 and its element type is a generic type parameter with a name matching this generic | |
4499 parameter name configured for the receiver.</remarks> | |
4500 </member> | |
4501 <member name="M:Microsoft.Practices.Unity.GenericResolvedArrayParameter.GetResolverPolicy(System.Type)"> | |
4502 <summary> | |
4503 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
4504 return this types value for the parameter. | |
4505 </summary> | |
4506 <param name="typeToBuild">Type that contains the member that needs this parameter. Used | |
4507 to resolve open generic parameters.</param> | |
4508 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
4509 </member> | |
4510 <member name="P:Microsoft.Practices.Unity.GenericResolvedArrayParameter.ParameterTypeName"> | |
4511 <summary> | |
4512 Name for the type represented by this <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/>. | |
4513 This may be an actual type name or a generic argument name. | |
4514 </summary> | |
4515 </member> | |
4516 <member name="T:Microsoft.Practices.Unity.InjectedMembers"> | |
4517 <summary> | |
4518 A Unity container extension that allows you to configure | |
4519 which constructors, properties, and methods get injected | |
4520 via an API rather than through attributes. | |
4521 </summary> | |
4522 </member> | |
4523 <member name="M:Microsoft.Practices.Unity.InjectedMembers.Initialize"> | |
4524 <summary> | |
4525 Initial the container with this extension's functionality. | |
4526 </summary> | |
4527 <remarks> | |
4528 When overridden in a derived class, this method will modify the given | |
4529 <see cref="T:Microsoft.Practices.Unity.ExtensionContext"/> by adding strategies, policies, etc. to | |
4530 install it's functions into the container.</remarks> | |
4531 </member> | |
4532 <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor``1(Microsoft.Practices.Unity.InjectionMember[])"> | |
4533 <summary> | |
4534 API to configure the injection settings for a particular type. | |
4535 </summary> | |
4536 <typeparam name="TTypeToInject">Type the injection is being configured for.</typeparam> | |
4537 <param name="injectionMembers">Objects containing the details on which members to inject and how.</param> | |
4538 <returns>This extension object.</returns> | |
4539 </member> | |
4540 <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor``1(System.String,Microsoft.Practices.Unity.InjectionMember[])"> | |
4541 <summary> | |
4542 API to configure the injection settings for a particular type/name pair. | |
4543 </summary> | |
4544 <typeparam name="TTypeToInject">Type the injection is being configured for.</typeparam> | |
4545 <param name="name">Name of registration</param> | |
4546 <param name="injectionMembers">Objects containing the details on which members to inject and how.</param> | |
4547 <returns>This extension object.</returns> | |
4548 </member> | |
4549 <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor(System.Type,Microsoft.Practices.Unity.InjectionMember[])"> | |
4550 <summary> | |
4551 API to configure the injection settings for a particular type. | |
4552 </summary> | |
4553 <param name="typeToInject">Type to configure.</param> | |
4554 <param name="injectionMembers">Objects containing the details on which members to inject and how.</param> | |
4555 <returns>This extension object.</returns> | |
4556 </member> | |
4557 <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor(System.Type,System.String,Microsoft.Practices.Unity.InjectionMember[])"> | |
4558 <summary> | |
4559 API to configure the injection settings for a particular type/name pair. | |
4560 </summary> | |
4561 <param name="typeToInject">Type to configure.</param> | |
4562 <param name="name">Name of registration.</param> | |
4563 <param name="injectionMembers">Objects containing the details on which members to inject and how.</param> | |
4564 <returns>This extension object.</returns> | |
4565 </member> | |
4566 <member name="M:Microsoft.Practices.Unity.InjectedMembers.ConfigureInjectionFor(System.Type,System.Type,System.String,Microsoft.Practices.Unity.InjectionMember[])"> | |
4567 <summary> | |
4568 API to configure the injection settings for a particular type/name pair. | |
4569 </summary> | |
4570 <param name="serviceType">Type of interface/base class being registered (may be null).</param> | |
4571 <param name="implementationType">Type of actual implementation class being registered.</param> | |
4572 <param name="name">Name of registration.</param> | |
4573 <param name="injectionMembers">Objects containing the details on which members to inject and how.</param> | |
4574 <returns>This extension object.</returns> | |
4575 </member> | |
4576 <member name="T:Microsoft.Practices.Unity.InjectionConstructor"> | |
4577 <summary> | |
4578 A class that holds the collection of information | |
4579 for a constructor, so that the container can | |
4580 be configured to call this constructor. | |
4581 </summary> | |
4582 </member> | |
4583 <member name="M:Microsoft.Practices.Unity.InjectionConstructor.#ctor(System.Object[])"> | |
4584 <summary> | |
4585 Create a new instance of <see cref="T:Microsoft.Practices.Unity.InjectionConstructor"/> that looks | |
4586 for a constructor with the given set of parameters. | |
4587 </summary> | |
4588 <param name="parameterValues">The values for the parameters, that will | |
4589 be converted to <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects.</param> | |
4590 </member> | |
4591 <member name="M:Microsoft.Practices.Unity.InjectionConstructor.AddPolicies(System.Type,System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
4592 <summary> | |
4593 Add policies to the <paramref name="policies"/> to configure the | |
4594 container to call this constructor with the appropriate parameter values. | |
4595 </summary> | |
4596 <param name="serviceType">Interface registered, ignored in this implementation.</param> | |
4597 <param name="implementationType">Type to register.</param> | |
4598 <param name="name">Name used to resolve the type object.</param> | |
4599 <param name="policies">Policy list to add policies to.</param> | |
4600 </member> | |
4601 <member name="T:Microsoft.Practices.Unity.InjectionMethod"> | |
4602 <summary> | |
4603 An <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> that configures the | |
4604 container to call a method as part of buildup. | |
4605 </summary> | |
4606 </member> | |
4607 <member name="M:Microsoft.Practices.Unity.InjectionMethod.#ctor(System.String,System.Object[])"> | |
4608 <summary> | |
4609 Create a new <see cref="T:Microsoft.Practices.Unity.InjectionMethod"/> instance which will configure | |
4610 the container to call the given methods with the given parameters. | |
4611 </summary> | |
4612 <param name="methodName">Name of the method to call.</param> | |
4613 <param name="methodParameters">Parameter values for the method.</param> | |
4614 </member> | |
4615 <member name="M:Microsoft.Practices.Unity.InjectionMethod.AddPolicies(System.Type,System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
4616 <summary> | |
4617 Add policies to the <paramref name="policies"/> to configure the | |
4618 container to call this constructor with the appropriate parameter values. | |
4619 </summary> | |
4620 <param name="serviceType">Type of interface registered, ignored in this implementation.</param> | |
4621 <param name="implementationType">Type to register.</param> | |
4622 <param name="name">Name used to resolve the type object.</param> | |
4623 <param name="policies">Policy list to add policies to.</param> | |
4624 </member> | |
4625 <member name="M:Microsoft.Practices.Unity.InjectionMethod.MethodNameMatches(System.Reflection.MemberInfo,System.String)"> | |
4626 <summary> | |
4627 A small function to handle name matching. You can override this | |
4628 to do things like case insensitive comparisons. | |
4629 </summary> | |
4630 <param name="targetMethod">MethodInfo for the method you're checking.</param> | |
4631 <param name="nameToMatch">Name of the method you're looking for.</param> | |
4632 <returns>True if a match, false if not.</returns> | |
4633 </member> | |
4634 <member name="T:Microsoft.Practices.Unity.InjectionParameter"> | |
4635 <summary> | |
4636 A class that holds on to the given value and provides | |
4637 the required <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> | |
4638 when the container is configured. | |
4639 </summary> | |
4640 </member> | |
4641 <member name="M:Microsoft.Practices.Unity.InjectionParameter.#ctor(System.Object)"> | |
4642 <summary> | |
4643 Create an instance of <see cref="T:Microsoft.Practices.Unity.InjectionParameter"/> that stores | |
4644 the given value, using the runtime type of that value as the | |
4645 type of the parameter. | |
4646 </summary> | |
4647 <param name="parameterValue">Value to be injected for this parameter.</param> | |
4648 </member> | |
4649 <member name="M:Microsoft.Practices.Unity.InjectionParameter.#ctor(System.Type,System.Object)"> | |
4650 <summary> | |
4651 Create an instance of <see cref="T:Microsoft.Practices.Unity.InjectionParameter"/> that stores | |
4652 the given value, associated with the given type. | |
4653 </summary> | |
4654 <param name="parameterType">Type of the parameter.</param> | |
4655 <param name="parameterValue">Value of the parameter</param> | |
4656 </member> | |
4657 <member name="M:Microsoft.Practices.Unity.InjectionParameter.GetResolverPolicy(System.Type)"> | |
4658 <summary> | |
4659 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
4660 return this types value for the parameter. | |
4661 </summary> | |
4662 <param name="typeToBuild">Type that contains the member that needs this parameter. Used | |
4663 to resolve open generic parameters.</param> | |
4664 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
4665 </member> | |
4666 <member name="T:Microsoft.Practices.Unity.InjectionParameter`1"> | |
4667 <summary> | |
4668 A generic version of <see cref="T:Microsoft.Practices.Unity.InjectionParameter"/> that makes it a | |
4669 little easier to specify the type of the parameter. | |
4670 </summary> | |
4671 <typeparam name="TParameter">Type of parameter.</typeparam> | |
4672 </member> | |
4673 <member name="M:Microsoft.Practices.Unity.InjectionParameter`1.#ctor(`0)"> | |
4674 <summary> | |
4675 Create a new <see cref="T:Microsoft.Practices.Unity.InjectionParameter`1"/>. | |
4676 </summary> | |
4677 <param name="parameterValue">Value for the parameter.</param> | |
4678 </member> | |
4679 <member name="T:Microsoft.Practices.Unity.InjectionProperty"> | |
4680 <summary> | |
4681 This class stores information about which properties to inject, | |
4682 and will configure the container accordingly. | |
4683 </summary> | |
4684 </member> | |
4685 <member name="M:Microsoft.Practices.Unity.InjectionProperty.#ctor(System.String)"> | |
4686 <summary> | |
4687 Configure the container to inject the given property name, | |
4688 resolving the value via the container. | |
4689 </summary> | |
4690 <param name="propertyName">Name of the property to inject.</param> | |
4691 </member> | |
4692 <member name="M:Microsoft.Practices.Unity.InjectionProperty.#ctor(System.String,System.Object)"> | |
4693 <summary> | |
4694 Configure the container to inject the given property name, | |
4695 using the value supplied. This value is converted to an | |
4696 <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object using the | |
4697 rules defined by the <see cref="M:Microsoft.Practices.Unity.InjectionParameterValue.ToParameters(System.Object[])"/> | |
4698 method. | |
4699 </summary> | |
4700 <param name="propertyName">Name of property to inject.</param> | |
4701 <param name="propertyValue">Value for property.</param> | |
4702 </member> | |
4703 <member name="M:Microsoft.Practices.Unity.InjectionProperty.AddPolicies(System.Type,System.Type,System.String,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
4704 <summary> | |
4705 Add policies to the <paramref name="policies"/> to configure the | |
4706 container to call this constructor with the appropriate parameter values. | |
4707 </summary> | |
4708 <param name="serviceType">Interface being registered, ignored in this implemenation.</param> | |
4709 <param name="implementationType">Type to register.</param> | |
4710 <param name="name">Name used to resolve the type object.</param> | |
4711 <param name="policies">Policy list to add policies to.</param> | |
4712 </member> | |
4713 <member name="T:Microsoft.Practices.Unity.ResolvedArrayParameter"> | |
4714 <summary> | |
4715 A class that stores a type, and generates a | |
4716 resolver object that resolves all the named instances or the | |
4717 type registered in a container. | |
4718 </summary> | |
4719 </member> | |
4720 <member name="M:Microsoft.Practices.Unity.ResolvedArrayParameter.#ctor(System.Type,System.Object[])"> | |
4721 <summary> | |
4722 Construct a new <see cref="T:Microsoft.Practices.Unity.ResolvedArrayParameter"/> that | |
4723 resolves to the given element type and collection of element values. | |
4724 </summary> | |
4725 <param name="elementType">The type of elements to resolve.</param> | |
4726 <param name="elementValues">The values for the elements, that will | |
4727 be converted to <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects.</param> | |
4728 </member> | |
4729 <member name="M:Microsoft.Practices.Unity.ResolvedArrayParameter.#ctor(System.Type,System.Type,System.Object[])"> | |
4730 <summary> | |
4731 Construct a new <see cref="T:Microsoft.Practices.Unity.ResolvedArrayParameter"/> that | |
4732 resolves to the given array and element types and collection of element values. | |
4733 </summary> | |
4734 <param name="arrayParameterType">The type for the array of elements to resolve.</param> | |
4735 <param name="elementType">The type of elements to resolve.</param> | |
4736 <param name="elementValues">The values for the elements, that will | |
4737 be converted to <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects.</param> | |
4738 </member> | |
4739 <member name="M:Microsoft.Practices.Unity.ResolvedArrayParameter.GetResolverPolicy(System.Type)"> | |
4740 <summary> | |
4741 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
4742 return this types value for the parameter. | |
4743 </summary> | |
4744 <param name="typeToBuild">Type that contains the member that needs this parameter. Used | |
4745 to resolve open generic parameters.</param> | |
4746 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
4747 </member> | |
4748 <member name="T:Microsoft.Practices.Unity.ResolvedArrayParameter`1"> | |
4749 <summary> | |
4750 A generic version of <see cref="T:Microsoft.Practices.Unity.ResolvedArrayParameter"/> for convenience | |
4751 when creating them by hand. | |
4752 </summary> | |
4753 <typeparam name="TElement">Type of the elements for the array of the parameter.</typeparam> | |
4754 </member> | |
4755 <member name="M:Microsoft.Practices.Unity.ResolvedArrayParameter`1.#ctor(System.Object[])"> | |
4756 <summary> | |
4757 Construct a new <see cref="T:Microsoft.Practices.Unity.ResolvedArrayParameter`1"/> that | |
4758 resolves to the given element generic type with the given element values. | |
4759 </summary> | |
4760 <param name="elementValues">The values for the elements, that will | |
4761 be converted to <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects.</param> | |
4762 </member> | |
4763 <member name="T:Microsoft.Practices.Unity.IUnityContainer"> | |
4764 <summary> | |
4765 Interface defining the behavior of the Unity dependency injection container. | |
4766 </summary> | |
4767 </member> | |
4768 <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
4769 <summary> | |
4770 Register a type mapping with the container, where the created instances will use | |
4771 the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>. | |
4772 </summary> | |
4773 <param name="from"><see cref="T:System.Type"/> that will be requested.</param> | |
4774 <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param> | |
4775 <param name="name">Name to use for registration, null if a default registration.</param> | |
4776 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
4777 of the returned instance.</param> | |
4778 <param name="injectionMembers">Injection configuration objects.</param> | |
4779 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4780 </member> | |
4781 <member name="M:Microsoft.Practices.Unity.IUnityContainer.RegisterInstance(System.Type,System.String,System.Object,Microsoft.Practices.Unity.LifetimeManager)"> | |
4782 <summary> | |
4783 Register an instance with the container. | |
4784 </summary> | |
4785 <remarks> | |
4786 <para> | |
4787 Instance registration is much like setting a type as a singleton, except that instead | |
4788 of the container creating the instance the first time it is requested, the user | |
4789 creates the instance ahead of type and adds that instance to the container. | |
4790 </para> | |
4791 </remarks> | |
4792 <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param> | |
4793 <param name="instance">Object to returned.</param> | |
4794 <param name="name">Name for registration.</param> | |
4795 <param name="lifetime"> | |
4796 <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> object that controls how this instance will be managed by the container.</param> | |
4797 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4798 </member> | |
4799 <member name="M:Microsoft.Practices.Unity.IUnityContainer.Resolve(System.Type,System.String,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4800 <summary> | |
4801 Resolve an instance of the requested type with the given name from the container. | |
4802 </summary> | |
4803 <param name="t"><see cref="T:System.Type"/> of object to get from the container.</param> | |
4804 <param name="name">Name of the object to retrieve.</param> | |
4805 <param name="resolverOverrides">Any overrides for the resolve call.</param> | |
4806 <returns>The retrieved object.</returns> | |
4807 </member> | |
4808 <member name="M:Microsoft.Practices.Unity.IUnityContainer.ResolveAll(System.Type,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4809 <summary> | |
4810 Return instances of all registered types requested. | |
4811 </summary> | |
4812 <remarks> | |
4813 <para> | |
4814 This method is useful if you've registered multiple types with the same | |
4815 <see cref="T:System.Type"/> but different names. | |
4816 </para> | |
4817 <para> | |
4818 Be aware that this method does NOT return an instance for the default (unnamed) registration. | |
4819 </para> | |
4820 </remarks> | |
4821 <param name="t">The type requested.</param> | |
4822 <param name="resolverOverrides">Any overrides for the resolve calls.</param> | |
4823 <returns>Set of objects of type <paramref name="t"/>.</returns> | |
4824 </member> | |
4825 <member name="M:Microsoft.Practices.Unity.IUnityContainer.BuildUp(System.Type,System.Object,System.String,Microsoft.Practices.Unity.ResolverOverride[])"> | |
4826 <summary> | |
4827 Run an existing object through the container and perform injection on it. | |
4828 </summary> | |
4829 <remarks> | |
4830 <para> | |
4831 This method is useful when you don't control the construction of an | |
4832 instance (ASP.NET pages or objects created via XAML, for instance) | |
4833 but you still want properties and other injection performed. | |
4834 </para></remarks> | |
4835 <param name="t"><see cref="T:System.Type"/> of object to perform injection on.</param> | |
4836 <param name="existing">Instance to build up.</param> | |
4837 <param name="name">name to use when looking up the typemappings and other configurations.</param> | |
4838 <param name="resolverOverrides">Any overrides for the resolve calls.</param> | |
4839 <returns>The resulting object. By default, this will be <paramref name="existing"/>, but | |
4840 container extensions may add things like automatic proxy creation which would | |
4841 cause this to return a different object (but still type compatible with <paramref name="t"/>).</returns> | |
4842 </member> | |
4843 <member name="M:Microsoft.Practices.Unity.IUnityContainer.Teardown(System.Object)"> | |
4844 <summary> | |
4845 Run an existing object through the container, and clean it up. | |
4846 </summary> | |
4847 <param name="o">The object to tear down.</param> | |
4848 </member> | |
4849 <member name="M:Microsoft.Practices.Unity.IUnityContainer.AddExtension(Microsoft.Practices.Unity.UnityContainerExtension)"> | |
4850 <summary> | |
4851 Add an extension object to the container. | |
4852 </summary> | |
4853 <param name="extension"><see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> to add.</param> | |
4854 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4855 </member> | |
4856 <member name="M:Microsoft.Practices.Unity.IUnityContainer.Configure(System.Type)"> | |
4857 <summary> | |
4858 Resolve access to a configuration interface exposed by an extension. | |
4859 </summary> | |
4860 <remarks>Extensions can expose configuration interfaces as well as adding | |
4861 strategies and policies to the container. This method walks the list of | |
4862 added extensions and returns the first one that implements the requested type. | |
4863 </remarks> | |
4864 <param name="configurationInterface"><see cref="T:System.Type"/> of configuration interface required.</param> | |
4865 <returns>The requested extension's configuration interface, or null if not found.</returns> | |
4866 </member> | |
4867 <member name="M:Microsoft.Practices.Unity.IUnityContainer.RemoveAllExtensions"> | |
4868 <summary> | |
4869 Remove all installed extensions from this container. | |
4870 </summary> | |
4871 <remarks> | |
4872 <para> | |
4873 This method removes all extensions from the container, including the default ones | |
4874 that implement the out-of-the-box behavior. After this method, if you want to use | |
4875 the container again you will need to either readd the default extensions or replace | |
4876 them with your own. | |
4877 </para> | |
4878 <para> | |
4879 The registered instances and singletons that have already been set up in this container | |
4880 do not get removed. | |
4881 </para> | |
4882 </remarks> | |
4883 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
4884 </member> | |
4885 <member name="M:Microsoft.Practices.Unity.IUnityContainer.CreateChildContainer"> | |
4886 <summary> | |
4887 Create a child container. | |
4888 </summary> | |
4889 <remarks> | |
4890 A child container shares the parent's configuration, but can be configured with different | |
4891 settings or lifetime.</remarks> | |
4892 <returns>The new child container.</returns> | |
4893 </member> | |
4894 <member name="P:Microsoft.Practices.Unity.IUnityContainer.Parent"> | |
4895 <summary> | |
4896 The parent of this container. | |
4897 </summary> | |
4898 <value>The parent container, or null if this container doesn't have one.</value> | |
4899 </member> | |
4900 <member name="P:Microsoft.Practices.Unity.IUnityContainer.Registrations"> | |
4901 <summary> | |
4902 Get a sequence of <see cref="T:Microsoft.Practices.Unity.ContainerRegistration"/> that describe the current state | |
4903 of the container. | |
4904 </summary> | |
4905 </member> | |
4906 <member name="T:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager"> | |
4907 <summary> | |
4908 A <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that holds a weak reference to | |
4909 it's managed instance. | |
4910 </summary> | |
4911 </member> | |
4912 <member name="M:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager.GetValue"> | |
4913 <summary> | |
4914 Retrieve a value from the backing store associated with this Lifetime policy. | |
4915 </summary> | |
4916 <returns>the object desired, or null if no such object is currently stored.</returns> | |
4917 </member> | |
4918 <member name="M:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager.SetValue(System.Object)"> | |
4919 <summary> | |
4920 Stores the given value into backing store for retrieval later. | |
4921 </summary> | |
4922 <param name="newValue">The object being stored.</param> | |
4923 </member> | |
4924 <member name="M:Microsoft.Practices.Unity.ExternallyControlledLifetimeManager.RemoveValue"> | |
4925 <summary> | |
4926 Remove the given object from backing store. | |
4927 </summary> | |
4928 </member> | |
4929 <member name="T:Microsoft.Practices.Unity.LifetimeManagerFactory"> | |
4930 <summary> | |
4931 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimeFactoryPolicy"/> that | |
4932 creates instances of the type of the given Lifetime Manager | |
4933 by resolving them through the container. | |
4934 </summary> | |
4935 </member> | |
4936 <member name="M:Microsoft.Practices.Unity.LifetimeManagerFactory.#ctor(Microsoft.Practices.Unity.ExtensionContext,System.Type)"> | |
4937 <summary> | |
4938 Create a new <see cref="T:Microsoft.Practices.Unity.LifetimeManagerFactory"/> that will | |
4939 return instances of the given type, creating them by | |
4940 resolving through the container. | |
4941 </summary> | |
4942 <param name="containerContext">Container to resolve with.</param> | |
4943 <param name="lifetimeType">Type of LifetimeManager to create.</param> | |
4944 </member> | |
4945 <member name="M:Microsoft.Practices.Unity.LifetimeManagerFactory.CreateLifetimePolicy"> | |
4946 <summary> | |
4947 Create a new instance of <see cref="T:Microsoft.Practices.ObjectBuilder2.ILifetimePolicy"/>. | |
4948 </summary> | |
4949 <returns>The new instance.</returns> | |
4950 </member> | |
4951 <member name="P:Microsoft.Practices.Unity.LifetimeManagerFactory.LifetimeType"> | |
4952 <summary> | |
4953 The type of Lifetime manager that will be created by this factory. | |
4954 </summary> | |
4955 </member> | |
4956 <member name="T:Microsoft.Practices.Unity.PerThreadLifetimeManager"> | |
4957 <summary> | |
4958 A <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that holds the instances given to it, | |
4959 keeping one instance per thread. | |
4960 </summary> | |
4961 <remarks> | |
4962 <para> | |
4963 This LifetimeManager does not dispose the instances it holds. | |
4964 </para> | |
4965 </remarks> | |
4966 </member> | |
4967 <member name="M:Microsoft.Practices.Unity.PerThreadLifetimeManager.#ctor"> | |
4968 <summary> | |
4969 Initializes a new instance of the <see cref="T:Microsoft.Practices.Unity.PerThreadLifetimeManager"/> class. | |
4970 </summary> | |
4971 </member> | |
4972 <member name="M:Microsoft.Practices.Unity.PerThreadLifetimeManager.GetValue"> | |
4973 <summary> | |
4974 Retrieve a value from the backing store associated with this Lifetime policy for the | |
4975 current thread. | |
4976 </summary> | |
4977 <returns>the object desired, or <see langword="null"/> if no such object is currently | |
4978 stored for the current thread.</returns> | |
4979 </member> | |
4980 <member name="M:Microsoft.Practices.Unity.PerThreadLifetimeManager.SetValue(System.Object)"> | |
4981 <summary> | |
4982 Stores the given value into backing store for retrieval later when requested | |
4983 in the current thread. | |
4984 </summary> | |
4985 <param name="newValue">The object being stored.</param> | |
4986 </member> | |
4987 <member name="M:Microsoft.Practices.Unity.PerThreadLifetimeManager.RemoveValue"> | |
4988 <summary> | |
4989 Remove the given object from backing store. | |
4990 </summary> | |
4991 <remarks>Not implemented for this lifetime manager.</remarks> | |
4992 </member> | |
4993 <member name="T:Microsoft.Practices.Unity.TransientLifetimeManager"> | |
4994 <summary> | |
4995 An <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> implementation that does nothing, | |
4996 thus ensuring that instances are created new every time. | |
4997 </summary> | |
4998 </member> | |
4999 <member name="M:Microsoft.Practices.Unity.TransientLifetimeManager.GetValue"> | |
5000 <summary> | |
5001 Retrieve a value from the backing store associated with this Lifetime policy. | |
5002 </summary> | |
5003 <returns>the object desired, or null if no such object is currently stored.</returns> | |
5004 </member> | |
5005 <member name="M:Microsoft.Practices.Unity.TransientLifetimeManager.SetValue(System.Object)"> | |
5006 <summary> | |
5007 Stores the given value into backing store for retrieval later. | |
5008 </summary> | |
5009 <param name="newValue">The object being stored.</param> | |
5010 </member> | |
5011 <member name="M:Microsoft.Practices.Unity.TransientLifetimeManager.RemoveValue"> | |
5012 <summary> | |
5013 Remove the given object from backing store. | |
5014 </summary> | |
5015 </member> | |
5016 <member name="T:Microsoft.Practices.Unity.ArrayResolutionStrategy"> | |
5017 <summary> | |
5018 This strategy implements the logic that will call container.ResolveAll | |
5019 when an array parameter is detected. | |
5020 </summary> | |
5021 </member> | |
5022 <member name="M:Microsoft.Practices.Unity.ArrayResolutionStrategy.PreBuildUp(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
5023 <summary> | |
5024 Do the PreBuildUp stage of construction. This is where the actual work is performed. | |
5025 </summary> | |
5026 <param name="context">Current build context.</param> | |
5027 </member> | |
5028 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityConstructorSelectorPolicy"> | |
5029 <summary> | |
5030 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"/> that is | |
5031 aware of the build keys used by the Unity container. | |
5032 </summary> | |
5033 </member> | |
5034 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityConstructorSelectorPolicy.CreateResolver(System.Reflection.ParameterInfo)"> | |
5035 <summary> | |
5036 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given | |
5037 <see cref="T:System.Reflection.ParameterInfo"/>. | |
5038 </summary> | |
5039 <remarks> | |
5040 This implementation looks for the Unity <see cref="T:Microsoft.Practices.Unity.DependencyAttribute"/> on the | |
5041 parameter and uses it to create an instance of <see cref="T:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy"/> | |
5042 for this parameter.</remarks> | |
5043 <param name="parameter">Parameter to create the resolver for.</param> | |
5044 <returns>The resolver object.</returns> | |
5045 </member> | |
5046 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityMethodSelectorPolicy"> | |
5047 <summary> | |
5048 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/> that is aware | |
5049 of the build keys used by the Unity container. | |
5050 </summary> | |
5051 </member> | |
5052 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityMethodSelectorPolicy.CreateResolver(System.Reflection.ParameterInfo)"> | |
5053 <summary> | |
5054 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance for the given | |
5055 <see cref="T:System.Reflection.ParameterInfo"/>. | |
5056 </summary> | |
5057 <param name="parameter">Parameter to create the resolver for.</param> | |
5058 <returns>The resolver object.</returns> | |
5059 </member> | |
5060 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityPropertySelectorPolicy"> | |
5061 <summary> | |
5062 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"/> that is aware of | |
5063 the build keys used by the unity container. | |
5064 </summary> | |
5065 </member> | |
5066 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.DefaultUnityPropertySelectorPolicy.CreateResolver(System.Reflection.PropertyInfo)"> | |
5067 <summary> | |
5068 Create a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> for the given | |
5069 property. | |
5070 </summary> | |
5071 <param name="property">Property to create resolver for.</param> | |
5072 <returns>The resolver object.</returns> | |
5073 </member> | |
5074 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.LiteralValueDependencyResolverPolicy"> | |
5075 <summary> | |
5076 A <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> implementation that returns | |
5077 the value set in the constructor. | |
5078 </summary> | |
5079 </member> | |
5080 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.LiteralValueDependencyResolverPolicy.#ctor(System.Object)"> | |
5081 <summary> | |
5082 Create a new instance of <see cref="T:Microsoft.Practices.Unity.ObjectBuilder.LiteralValueDependencyResolverPolicy"/> | |
5083 which will return the given value when resolved. | |
5084 </summary> | |
5085 <param name="dependencyValue">The value to return.</param> | |
5086 </member> | |
5087 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.LiteralValueDependencyResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
5088 <summary> | |
5089 Get the value for a dependency. | |
5090 </summary> | |
5091 <param name="context">Current build context.</param> | |
5092 <returns>The value for the dependency.</returns> | |
5093 </member> | |
5094 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy"> | |
5095 <summary> | |
5096 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that stores a | |
5097 type and name, and at resolution time puts them together into a | |
5098 <see cref="T:Microsoft.Practices.ObjectBuilder2.NamedTypeBuildKey"/>. | |
5099 </summary> | |
5100 </member> | |
5101 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.#ctor(System.Type,System.String)"> | |
5102 <summary> | |
5103 Create an instance of <see cref="T:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy"/> | |
5104 with the given type and name. | |
5105 </summary> | |
5106 <param name="type">The type.</param> | |
5107 <param name="name">The name (may be null).</param> | |
5108 </member> | |
5109 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
5110 <summary> | |
5111 Resolve the value for a dependency. | |
5112 </summary> | |
5113 <param name="context">Current build context.</param> | |
5114 <returns>The value for the dependency.</returns> | |
5115 </member> | |
5116 <member name="P:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Type"> | |
5117 <summary> | |
5118 The type that this resolver resolves. | |
5119 </summary> | |
5120 </member> | |
5121 <member name="P:Microsoft.Practices.Unity.ObjectBuilder.NamedTypeDependencyResolverPolicy.Name"> | |
5122 <summary> | |
5123 The name that this resolver resolves. | |
5124 </summary> | |
5125 </member> | |
5126 <member name="T:Microsoft.Practices.Unity.ResolvedArrayWithElementsResolverPolicy"> | |
5127 <summary> | |
5128 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> that resolves to | |
5129 to an array populated with the values that result from resolving other instances | |
5130 of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>. | |
5131 </summary> | |
5132 </member> | |
5133 <member name="M:Microsoft.Practices.Unity.ResolvedArrayWithElementsResolverPolicy.#ctor(System.Type,Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy[])"> | |
5134 <summary> | |
5135 Create an instance of <see cref="T:Microsoft.Practices.Unity.ResolvedArrayWithElementsResolverPolicy"/> | |
5136 with the given type and a collection of <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> | |
5137 instances to use when populating the result. | |
5138 </summary> | |
5139 <param name="elementType">The type.</param> | |
5140 <param name="elementPolicies">The resolver policies to use when populating an array.</param> | |
5141 </member> | |
5142 <member name="M:Microsoft.Practices.Unity.ResolvedArrayWithElementsResolverPolicy.Resolve(Microsoft.Practices.ObjectBuilder2.IBuilderContext)"> | |
5143 <summary> | |
5144 Resolve the value for a dependency. | |
5145 </summary> | |
5146 <param name="context">Current build context.</param> | |
5147 <returns>An array pupulated with the results of resolving the resolver policies.</returns> | |
5148 </member> | |
5149 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedConstructorSelectorPolicy"> | |
5150 <summary> | |
5151 An implementation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IConstructorSelectorPolicy"/> that selects | |
5152 the given constructor and creates the appropriate resolvers to call it with | |
5153 the specified parameters. | |
5154 </summary> | |
5155 </member> | |
5156 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedConstructorSelectorPolicy.#ctor(System.Reflection.ConstructorInfo,Microsoft.Practices.Unity.InjectionParameterValue[])"> | |
5157 <summary> | |
5158 Create an instance of <see cref="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedConstructorSelectorPolicy"/> that | |
5159 will return the given constructor, being passed the given injection values | |
5160 as parameters. | |
5161 </summary> | |
5162 <param name="ctor">The constructor to call.</param> | |
5163 <param name="parameterValues">Set of <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects | |
5164 that describes how to obtain the values for the constructor parameters.</param> | |
5165 </member> | |
5166 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedConstructorSelectorPolicy.SelectConstructor(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
5167 <summary> | |
5168 Choose the constructor to call for the given type. | |
5169 </summary> | |
5170 <param name="context">Current build context</param> | |
5171 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
5172 generated resolver objects into.</param> | |
5173 <returns>The chosen constructor.</returns> | |
5174 </member> | |
5175 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMemberSelectorHelper"> | |
5176 <summary> | |
5177 Helper class for implementing selector policies that need to | |
5178 set up dependency resolver policies. | |
5179 </summary> | |
5180 </member> | |
5181 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMemberSelectorHelper.AddParameterResolvers(System.Type,Microsoft.Practices.ObjectBuilder2.IPolicyList,System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.InjectionParameterValue},Microsoft.Practices.ObjectBuilder2.SelectedMemberWithParameters)"> | |
5182 <summary> | |
5183 Add dependency resolvers to the parameter set. | |
5184 </summary> | |
5185 <param name="typeToBuild">Type that's currently being built (used to resolve open generics).</param> | |
5186 <param name="policies">PolicyList to add the resolvers to.</param> | |
5187 <param name="parameterValues">Objects supplying the dependency resolvers.</param> | |
5188 <param name="result">Result object to store the keys in.</param> | |
5189 </member> | |
5190 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMethodsSelectorPolicy"> | |
5191 <summary> | |
5192 A <see cref="T:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy"/> implementation that calls the specific | |
5193 methods with the given parameters. | |
5194 </summary> | |
5195 </member> | |
5196 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMethodsSelectorPolicy.AddMethodAndParameters(System.Reflection.MethodInfo,System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.InjectionParameterValue})"> | |
5197 <summary> | |
5198 Add the given method and parameter collection to the list of methods | |
5199 that will be returned when the selector's <see cref="M:Microsoft.Practices.ObjectBuilder2.IMethodSelectorPolicy.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"/> | |
5200 method is called. | |
5201 </summary> | |
5202 <param name="method">Method to call.</param> | |
5203 <param name="parameters">sequence of <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> objects | |
5204 that describe how to create the method parameter values.</param> | |
5205 </member> | |
5206 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedMethodsSelectorPolicy.SelectMethods(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
5207 <summary> | |
5208 Return the sequence of methods to call while building the target object. | |
5209 </summary> | |
5210 <param name="context">Current build context.</param> | |
5211 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
5212 generated resolver objects into.</param> | |
5213 <returns>Sequence of methods to call.</returns> | |
5214 </member> | |
5215 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedPropertiesSelectorPolicy"> | |
5216 <summary> | |
5217 An implemnetation of <see cref="T:Microsoft.Practices.ObjectBuilder2.IPropertySelectorPolicy"/> which returns | |
5218 the set of specific properties that the selector was configured with. | |
5219 </summary> | |
5220 </member> | |
5221 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedPropertiesSelectorPolicy.AddPropertyAndValue(System.Reflection.PropertyInfo,Microsoft.Practices.Unity.InjectionParameterValue)"> | |
5222 <summary> | |
5223 Add a property that will be par of the set returned when the | |
5224 <see cref="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedPropertiesSelectorPolicy.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"/> is called. | |
5225 </summary> | |
5226 <param name="property">The property to set.</param> | |
5227 <param name="value"><see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object describing | |
5228 how to create the value to inject.</param> | |
5229 </member> | |
5230 <member name="M:Microsoft.Practices.Unity.ObjectBuilder.SpecifiedPropertiesSelectorPolicy.SelectProperties(Microsoft.Practices.ObjectBuilder2.IBuilderContext,Microsoft.Practices.ObjectBuilder2.IPolicyList)"> | |
5231 <summary> | |
5232 Returns sequence of properties on the given type that | |
5233 should be set as part of building that object. | |
5234 </summary> | |
5235 <param name="context">Current build context.</param> | |
5236 <param name="resolverPolicyDestination">The <see cref="T:Microsoft.Practices.ObjectBuilder2.IPolicyList"/> to add any | |
5237 generated resolver objects into.</param> | |
5238 <returns>Sequence of <see cref="T:System.Reflection.PropertyInfo"/> objects | |
5239 that contain the properties to set.</returns> | |
5240 </member> | |
5241 <member name="T:Microsoft.Practices.Unity.ResolvedParameter"> | |
5242 <summary> | |
5243 A class that stores a name and type, and generates a | |
5244 resolver object that resolves the parameter via the | |
5245 container. | |
5246 </summary> | |
5247 </member> | |
5248 <member name="M:Microsoft.Practices.Unity.ResolvedParameter.#ctor(System.Type)"> | |
5249 <summary> | |
5250 Construct a new <see cref="T:Microsoft.Practices.Unity.ResolvedParameter"/> that | |
5251 resolves to the given type. | |
5252 </summary> | |
5253 <param name="parameterType">Type of this parameter.</param> | |
5254 </member> | |
5255 <member name="M:Microsoft.Practices.Unity.ResolvedParameter.#ctor(System.Type,System.String)"> | |
5256 <summary> | |
5257 Construct a new <see cref="T:Microsoft.Practices.Unity.ResolvedParameter"/> that | |
5258 resolves the given type and name. | |
5259 </summary> | |
5260 <param name="parameterType">Type of this parameter.</param> | |
5261 <param name="name">Name to use when resolving parameter.</param> | |
5262 </member> | |
5263 <member name="M:Microsoft.Practices.Unity.ResolvedParameter.GetResolverPolicy(System.Type)"> | |
5264 <summary> | |
5265 Return a <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/> instance that will | |
5266 return this types value for the parameter. | |
5267 </summary> | |
5268 <param name="typeToBuild">Type that contains the member that needs this parameter. Used | |
5269 to resolve open generic parameters.</param> | |
5270 <returns>The <see cref="T:Microsoft.Practices.ObjectBuilder2.IDependencyResolverPolicy"/>.</returns> | |
5271 </member> | |
5272 <member name="T:Microsoft.Practices.Unity.ResolvedParameter`1"> | |
5273 <summary> | |
5274 A generic version of <see cref="T:Microsoft.Practices.Unity.ResolvedParameter"/> for convenience | |
5275 when creating them by hand. | |
5276 </summary> | |
5277 <typeparam name="TParameter">Type of the parameter</typeparam> | |
5278 </member> | |
5279 <member name="M:Microsoft.Practices.Unity.ResolvedParameter`1.#ctor"> | |
5280 <summary> | |
5281 Create a new <see cref="T:Microsoft.Practices.Unity.ResolvedParameter`1"/> for the given | |
5282 generic type and the default name. | |
5283 </summary> | |
5284 </member> | |
5285 <member name="M:Microsoft.Practices.Unity.ResolvedParameter`1.#ctor(System.String)"> | |
5286 <summary> | |
5287 Create a new <see cref="T:Microsoft.Practices.Unity.ResolvedParameter`1"/> for the given | |
5288 generic type and name. | |
5289 </summary> | |
5290 <param name="name">Name to use to resolve this parameter.</param> | |
5291 </member> | |
5292 <member name="T:Microsoft.Practices.Unity.UnityServiceLocator"> | |
5293 <summary> | |
5294 An implementation of <see cref="T:Microsoft.Practices.ServiceLocation.IServiceLocator"/> that wraps a Unity container. | |
5295 </summary> | |
5296 </member> | |
5297 <member name="M:Microsoft.Practices.Unity.UnityServiceLocator.#ctor(Microsoft.Practices.Unity.IUnityContainer)"> | |
5298 <summary> | |
5299 Initializes a new instance of the <see cref="T:Microsoft.Practices.Unity.UnityServiceLocator"/> class for a container. | |
5300 </summary> | |
5301 <param name="container">The <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> to wrap with the <see cref="T:Microsoft.Practices.ServiceLocation.IServiceLocator"/> | |
5302 interface implementation.</param> | |
5303 </member> | |
5304 <member name="M:Microsoft.Practices.Unity.UnityServiceLocator.Dispose"> | |
5305 <summary> | |
5306 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
5307 </summary> | |
5308 <filterpriority>2</filterpriority> | |
5309 </member> | |
5310 <member name="M:Microsoft.Practices.Unity.UnityServiceLocator.DoGetInstance(System.Type,System.String)"> | |
5311 <summary> | |
5312 When implemented by inheriting classes, this method will do the actual work of resolving | |
5313 the requested service instance. | |
5314 </summary> | |
5315 <param name="serviceType">Type of instance requested.</param><param name="key">Name of registered service you want. May be null.</param> | |
5316 <returns> | |
5317 The requested service instance. | |
5318 </returns> | |
5319 </member> | |
5320 <member name="M:Microsoft.Practices.Unity.UnityServiceLocator.DoGetAllInstances(System.Type)"> | |
5321 <summary> | |
5322 When implemented by inheriting classes, this method will do the actual work of | |
5323 resolving all the requested service instances. | |
5324 </summary> | |
5325 <param name="serviceType">Type of service requested.</param> | |
5326 <returns> | |
5327 Sequence of service instance objects. | |
5328 </returns> | |
5329 </member> | |
5330 <member name="T:Microsoft.Practices.Unity.Utility.Guard"> | |
5331 <summary> | |
5332 A static helper class that includes various parameter checking routines. | |
5333 </summary> | |
5334 </member> | |
5335 <member name="M:Microsoft.Practices.Unity.Utility.Guard.ArgumentNotNull(System.Object,System.String)"> | |
5336 <summary> | |
5337 Throws <see cref="T:System.ArgumentNullException"/> if the given argument is null. | |
5338 </summary> | |
5339 <exception cref="T:System.ArgumentNullException"> if tested value if null.</exception> | |
5340 <param name="argumentValue">Argument value to test.</param> | |
5341 <param name="argumentName">Name of the argument being tested.</param> | |
5342 </member> | |
5343 <member name="M:Microsoft.Practices.Unity.Utility.Guard.ArgumentNotNullOrEmpty(System.String,System.String)"> | |
5344 <summary> | |
5345 Throws an exception if the tested string argument is null or the empty string. | |
5346 </summary> | |
5347 <exception cref="T:System.ArgumentNullException">Thrown if string value is null.</exception> | |
5348 <exception cref="T:System.ArgumentException">Thrown if the string is empty</exception> | |
5349 <param name="argumentValue">Argument value to check.</param> | |
5350 <param name="argumentName">Name of argument being checked.</param> | |
5351 </member> | |
5352 <member name="M:Microsoft.Practices.Unity.Utility.Guard.TypeIsAssignable(System.Type,System.Type,System.String)"> | |
5353 <summary> | |
5354 Verifies that an argument type is assignable from the provided type (meaning | |
5355 interfaces are implemented, or classes exist in the base class hierarchy). | |
5356 </summary> | |
5357 <param name="assignmentTargetType">The argument type that will be assigned to.</param> | |
5358 <param name="assignmentValueType">The type of the value being assigned.</param> | |
5359 <param name="argumentName">Argument name.</param> | |
5360 </member> | |
5361 <member name="M:Microsoft.Practices.Unity.Utility.Guard.InstanceIsAssignable(System.Type,System.Object,System.String)"> | |
5362 <summary> | |
5363 Verifies that an argument instance is assignable from the provided type (meaning | |
5364 interfaces are implemented, or classes exist in the base class hierarchy, or instance can be | |
5365 assigned through a runtime wrapper, as is the case for COM Objects). | |
5366 </summary> | |
5367 <param name="assignmentTargetType">The argument type that will be assigned to.</param> | |
5368 <param name="assignmentInstance">The instance that will be assigned.</param> | |
5369 <param name="argumentName">Argument name.</param> | |
5370 </member> | |
5371 <member name="T:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage"> | |
5372 <summary> | |
5373 The build stages we use in the Unity container | |
5374 strategy pipeline. | |
5375 </summary> | |
5376 </member> | |
5377 <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.Setup"> | |
5378 <summary> | |
5379 First stage. By default, nothing happens here. | |
5380 </summary> | |
5381 </member> | |
5382 <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.TypeMapping"> | |
5383 <summary> | |
5384 Second stage. Type mapping occurs here. | |
5385 </summary> | |
5386 </member> | |
5387 <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.Lifetime"> | |
5388 <summary> | |
5389 Third stage. lifetime managers are checked here, | |
5390 and if they're available the rest of the pipeline is skipped. | |
5391 </summary> | |
5392 </member> | |
5393 <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.PreCreation"> | |
5394 <summary> | |
5395 Fourth stage. Reflection over constructors, properties, etc. is | |
5396 performed here. | |
5397 </summary> | |
5398 </member> | |
5399 <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.Creation"> | |
5400 <summary> | |
5401 Fifth stage. Instance creation happens here. | |
5402 </summary> | |
5403 </member> | |
5404 <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.Initialization"> | |
5405 <summary> | |
5406 Sixth stage. Property sets and method injection happens here. | |
5407 </summary> | |
5408 </member> | |
5409 <member name="F:Microsoft.Practices.Unity.ObjectBuilder.UnityBuildStage.PostInitialization"> | |
5410 <summary> | |
5411 Seventh and final stage. By default, nothing happens here. | |
5412 </summary> | |
5413 </member> | |
5414 <member name="T:Microsoft.Practices.Unity.Properties.Resources"> | |
5415 <summary> | |
5416 A strongly-typed resource class, for looking up localized strings, etc. | |
5417 </summary> | |
5418 </member> | |
5419 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ResourceManager"> | |
5420 <summary> | |
5421 Returns the cached ResourceManager instance used by this class. | |
5422 </summary> | |
5423 </member> | |
5424 <member name="P:Microsoft.Practices.Unity.Properties.Resources.Culture"> | |
5425 <summary> | |
5426 Overrides the current thread's CurrentUICulture property for all | |
5427 resource lookups using this strongly typed resource class. | |
5428 </summary> | |
5429 </member> | |
5430 <member name="P:Microsoft.Practices.Unity.Properties.Resources.AmbiguousInjectionConstructor"> | |
5431 <summary> | |
5432 Looks up a localized string similar to The type {0} has multiple constructors of length {1}. Unable to disambiguate.. | |
5433 </summary> | |
5434 </member> | |
5435 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ArgumentMustNotBeEmpty"> | |
5436 <summary> | |
5437 Looks up a localized string similar to The provided string argument must not be empty.. | |
5438 </summary> | |
5439 </member> | |
5440 <member name="P:Microsoft.Practices.Unity.Properties.Resources.BuildFailedException"> | |
5441 <summary> | |
5442 Looks up a localized string similar to The current build operation (build key {2}) failed: {3} (Strategy type {0}, index {1}). | |
5443 </summary> | |
5444 </member> | |
5445 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotConstructInterface"> | |
5446 <summary> | |
5447 Looks up a localized string similar to The current type, {0}, is an interface and cannot be constructed. Are you missing a type mapping?. | |
5448 </summary> | |
5449 </member> | |
5450 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotExtractTypeFromBuildKey"> | |
5451 <summary> | |
5452 Looks up a localized string similar to Cannot extract type from build key {0}.. | |
5453 </summary> | |
5454 </member> | |
5455 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectGenericMethod"> | |
5456 <summary> | |
5457 Looks up a localized string similar to The method {0}.{1}({2}) is an open generic method. Open generic methods cannot be injected.. | |
5458 </summary> | |
5459 </member> | |
5460 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectIndexer"> | |
5461 <summary> | |
5462 Looks up a localized string similar to The property {0} on type {1} is an indexer. Indexed properties cannot be injected.. | |
5463 </summary> | |
5464 </member> | |
5465 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectMethodWithOutParam"> | |
5466 <summary> | |
5467 Looks up a localized string similar to The method {1} on type {0} has an out parameter. Injection cannot be performed.. | |
5468 </summary> | |
5469 </member> | |
5470 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectMethodWithOutParams"> | |
5471 <summary> | |
5472 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.. | |
5473 </summary> | |
5474 </member> | |
5475 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectMethodWithRefParams"> | |
5476 <summary> | |
5477 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.. | |
5478 </summary> | |
5479 </member> | |
5480 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectOpenGenericMethod"> | |
5481 <summary> | |
5482 Looks up a localized string similar to The method {1} on type {0} is marked for injection, but it is an open generic method. Injection cannot be performed.. | |
5483 </summary> | |
5484 </member> | |
5485 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotInjectStaticMethod"> | |
5486 <summary> | |
5487 Looks up a localized string similar to The method {0}.{1}({2}) is static. Static methods cannot be injected.. | |
5488 </summary> | |
5489 </member> | |
5490 <member name="P:Microsoft.Practices.Unity.Properties.Resources.CannotResolveOpenGenericType"> | |
5491 <summary> | |
5492 Looks up a localized string similar to The type {0} is an open generic type. An open generic type cannot be resolved.. | |
5493 </summary> | |
5494 </member> | |
5495 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ConstructorArgumentResolveOperation"> | |
5496 <summary> | |
5497 Looks up a localized string similar to Resolving parameter "{0}" of constructor {1}. | |
5498 </summary> | |
5499 </member> | |
5500 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ConstructorParameterResolutionFailed"> | |
5501 <summary> | |
5502 Looks up a localized string similar to The parameter {0} could not be resolved when attempting to call constructor {1}.. | |
5503 </summary> | |
5504 </member> | |
5505 <member name="P:Microsoft.Practices.Unity.Properties.Resources.DuplicateTypeMappingException"> | |
5506 <summary> | |
5507 Looks up a localized string similar to An attempt to override an existing mapping was detected for type {1} with name "{0}", currently mapped to type {2}, to type {3}.. | |
5508 </summary> | |
5509 </member> | |
5510 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ExceptionNullAssembly"> | |
5511 <summary> | |
5512 Looks up a localized string similar to The set of assemblies contains a null element.. | |
5513 </summary> | |
5514 </member> | |
5515 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ExceptionNullParameterValue"> | |
5516 <summary> | |
5517 Looks up a localized string similar to Parameter type inference does not work for null values. Indicate the parameter type explicitly using a properly configured instance of the InjectionParameter or InjectionParameter<T> classes.. | |
5518 </summary> | |
5519 </member> | |
5520 <member name="P:Microsoft.Practices.Unity.Properties.Resources.InvokingConstructorOperation"> | |
5521 <summary> | |
5522 Looks up a localized string similar to Calling constructor {0}. | |
5523 </summary> | |
5524 </member> | |
5525 <member name="P:Microsoft.Practices.Unity.Properties.Resources.InvokingMethodOperation"> | |
5526 <summary> | |
5527 Looks up a localized string similar to Calling method {0}.{1}. | |
5528 </summary> | |
5529 </member> | |
5530 <member name="P:Microsoft.Practices.Unity.Properties.Resources.KeyAlreadyPresent"> | |
5531 <summary> | |
5532 Looks up a localized string similar to An item with the given key is already present in the dictionary.. | |
5533 </summary> | |
5534 </member> | |
5535 <member name="P:Microsoft.Practices.Unity.Properties.Resources.LifetimeManagerInUse"> | |
5536 <summary> | |
5537 Looks up a localized string similar to The lifetime manager is already registered. Lifetime managers cannot be reused, please create a new one.. | |
5538 </summary> | |
5539 </member> | |
5540 <member name="P:Microsoft.Practices.Unity.Properties.Resources.MarkerBuildPlanInvoked"> | |
5541 <summary> | |
5542 Looks up a localized string similar to The override marker build plan policy has been invoked. This should never happen, looks like a bug in the container.. | |
5543 </summary> | |
5544 </member> | |
5545 <member name="P:Microsoft.Practices.Unity.Properties.Resources.MethodArgumentResolveOperation"> | |
5546 <summary> | |
5547 Looks up a localized string similar to Resolving parameter "{0}" of method {1}.{2}. | |
5548 </summary> | |
5549 </member> | |
5550 <member name="P:Microsoft.Practices.Unity.Properties.Resources.MethodParameterResolutionFailed"> | |
5551 <summary> | |
5552 Looks up a localized string similar to The value for parameter "{1}" of method {0} could not be resolved. . | |
5553 </summary> | |
5554 </member> | |
5555 <member name="P:Microsoft.Practices.Unity.Properties.Resources.MissingDependency"> | |
5556 <summary> | |
5557 Looks up a localized string similar to Could not resolve dependency for build key {0}.. | |
5558 </summary> | |
5559 </member> | |
5560 <member name="P:Microsoft.Practices.Unity.Properties.Resources.MultipleInjectionConstructors"> | |
5561 <summary> | |
5562 Looks up a localized string similar to The type {0} has multiple constructors marked with the InjectionConstructor attribute. Unable to disambiguate.. | |
5563 </summary> | |
5564 </member> | |
5565 <member name="P:Microsoft.Practices.Unity.Properties.Resources.MustHaveOpenGenericType"> | |
5566 <summary> | |
5567 Looks up a localized string similar to The supplied type {0} must be an open generic type.. | |
5568 </summary> | |
5569 </member> | |
5570 <member name="P:Microsoft.Practices.Unity.Properties.Resources.MustHaveSameNumberOfGenericArguments"> | |
5571 <summary> | |
5572 Looks up a localized string similar to The supplied type {0} does not have the same number of generic arguments as the target type {1}.. | |
5573 </summary> | |
5574 </member> | |
5575 <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoConstructorFound"> | |
5576 <summary> | |
5577 Looks up a localized string similar to The type {0} does not have an accessible constructor.. | |
5578 </summary> | |
5579 </member> | |
5580 <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoMatchingGenericArgument"> | |
5581 <summary> | |
5582 Looks up a localized string similar to The type {0} does not have a generic argument named "{1}". | |
5583 </summary> | |
5584 </member> | |
5585 <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoOperationExceptionReason"> | |
5586 <summary> | |
5587 Looks up a localized string similar to while resolving. | |
5588 </summary> | |
5589 </member> | |
5590 <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoSuchConstructor"> | |
5591 <summary> | |
5592 Looks up a localized string similar to The type {0} does not have a constructor that takes the parameters ({1}).. | |
5593 </summary> | |
5594 </member> | |
5595 <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoSuchMethod"> | |
5596 <summary> | |
5597 Looks up a localized string similar to The type {0} does not have a public method named {1} that takes the parameters ({2}).. | |
5598 </summary> | |
5599 </member> | |
5600 <member name="P:Microsoft.Practices.Unity.Properties.Resources.NoSuchProperty"> | |
5601 <summary> | |
5602 Looks up a localized string similar to The type {0} does not contain an instance property named {1}.. | |
5603 </summary> | |
5604 </member> | |
5605 <member name="P:Microsoft.Practices.Unity.Properties.Resources.NotAGenericType"> | |
5606 <summary> | |
5607 Looks up a localized string similar to The type {0} is not a generic type, and you are attempting to inject a generic parameter named "{1}".. | |
5608 </summary> | |
5609 </member> | |
5610 <member name="P:Microsoft.Practices.Unity.Properties.Resources.NotAnArrayTypeWithRankOne"> | |
5611 <summary> | |
5612 Looks up a localized string similar to The type {0} is not an array type with rank 1, and you are attempting to use a [DependencyArray] attribute on a parameter or property with this type.. | |
5613 </summary> | |
5614 </member> | |
5615 <member name="P:Microsoft.Practices.Unity.Properties.Resources.OptionalDependenciesMustBeReferenceTypes"> | |
5616 <summary> | |
5617 Looks up a localized string similar to Optional dependencies must be reference types. The type {0} is a value type.. | |
5618 </summary> | |
5619 </member> | |
5620 <member name="P:Microsoft.Practices.Unity.Properties.Resources.PropertyNotSettable"> | |
5621 <summary> | |
5622 Looks up a localized string similar to The property {0} on type {1} is not settable.. | |
5623 </summary> | |
5624 </member> | |
5625 <member name="P:Microsoft.Practices.Unity.Properties.Resources.PropertyTypeMismatch"> | |
5626 <summary> | |
5627 Looks up a localized string similar to The property {0} on type {1} is of type {2}, and cannot be injected with a value of type {3}.. | |
5628 </summary> | |
5629 </member> | |
5630 <member name="P:Microsoft.Practices.Unity.Properties.Resources.PropertyValueResolutionFailed"> | |
5631 <summary> | |
5632 Looks up a localized string similar to The value for the property "{0}" could not be resolved.. | |
5633 </summary> | |
5634 </member> | |
5635 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ProvidedStringArgMustNotBeEmpty"> | |
5636 <summary> | |
5637 Looks up a localized string similar to The provided string argument must not be empty.. | |
5638 </summary> | |
5639 </member> | |
5640 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ResolutionFailed"> | |
5641 <summary> | |
5642 Looks up a localized string similar to Resolution of the dependency failed, type = "{0}", name = "{1}". | |
5643 Exception occurred while: {2}. | |
5644 Exception is: {3} - {4} | |
5645 ----------------------------------------------- | |
5646 At the time of the exception, the container was: | |
5647 . | |
5648 </summary> | |
5649 </member> | |
5650 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ResolutionTraceDetail"> | |
5651 <summary> | |
5652 Looks up a localized string similar to Resolving {0},{1}. | |
5653 </summary> | |
5654 </member> | |
5655 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ResolutionWithMappingTraceDetail"> | |
5656 <summary> | |
5657 Looks up a localized string similar to Resolving {0},{1} (mapped from {2}, {3}). | |
5658 </summary> | |
5659 </member> | |
5660 <member name="P:Microsoft.Practices.Unity.Properties.Resources.ResolvingPropertyValueOperation"> | |
5661 <summary> | |
5662 Looks up a localized string similar to Resolving value for property {0}.{1}. | |
5663 </summary> | |
5664 </member> | |
5665 <member name="P:Microsoft.Practices.Unity.Properties.Resources.SelectedConstructorHasRefParameters"> | |
5666 <summary> | |
5667 Looks up a localized string similar to The constructor {1} selected for type {0} has ref or out parameters. Such parameters are not supported for constructor injection.. | |
5668 </summary> | |
5669 </member> | |
5670 <member name="P:Microsoft.Practices.Unity.Properties.Resources.SettingPropertyOperation"> | |
5671 <summary> | |
5672 Looks up a localized string similar to Setting value for property {0}.{1}. | |
5673 </summary> | |
5674 </member> | |
5675 <member name="P:Microsoft.Practices.Unity.Properties.Resources.TypeIsNotConstructable"> | |
5676 <summary> | |
5677 Looks up a localized string similar to The type {0} cannot be constructed. You must configure the container to supply this value.. | |
5678 </summary> | |
5679 </member> | |
5680 <member name="P:Microsoft.Practices.Unity.Properties.Resources.TypesAreNotAssignable"> | |
5681 <summary> | |
5682 Looks up a localized string similar to The type {1} cannot be assigned to variables of type {0}.. | |
5683 </summary> | |
5684 </member> | |
5685 <member name="P:Microsoft.Practices.Unity.Properties.Resources.UnknownType"> | |
5686 <summary> | |
5687 Looks up a localized string similar to <unknown>. | |
5688 </summary> | |
5689 </member> | |
5690 <member name="T:Microsoft.Practices.Unity.UnityContainer"> | |
5691 <summary> | |
5692 A simple, extensible dependency injection container. | |
5693 </summary> | |
5694 </member> | |
5695 <member name="M:Microsoft.Practices.Unity.UnityContainer.#ctor"> | |
5696 <summary> | |
5697 Create a default <see cref="T:Microsoft.Practices.Unity.UnityContainer"/>. | |
5698 </summary> | |
5699 </member> | |
5700 <member name="M:Microsoft.Practices.Unity.UnityContainer.#ctor(Microsoft.Practices.Unity.UnityContainer)"> | |
5701 <summary> | |
5702 Create a <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> with the given parent container. | |
5703 </summary> | |
5704 <param name="parent">The parent <see cref="T:Microsoft.Practices.Unity.UnityContainer"/>. The current object | |
5705 will apply its own settings first, and then check the parent for additional ones.</param> | |
5706 </member> | |
5707 <member name="M:Microsoft.Practices.Unity.UnityContainer.RegisterType(System.Type,System.Type,System.String,Microsoft.Practices.Unity.LifetimeManager,Microsoft.Practices.Unity.InjectionMember[])"> | |
5708 <summary> | |
5709 RegisterType a type mapping with the container, where the created instances will use | |
5710 the given <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/>. | |
5711 </summary> | |
5712 <param name="from"><see cref="T:System.Type"/> that will be requested.</param> | |
5713 <param name="to"><see cref="T:System.Type"/> that will actually be returned.</param> | |
5714 <param name="name">Name to use for registration, null if a default registration.</param> | |
5715 <param name="lifetimeManager">The <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> that controls the lifetime | |
5716 of the returned instance.</param> | |
5717 <param name="injectionMembers">Injection configuration objects.</param> | |
5718 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
5719 </member> | |
5720 <member name="M:Microsoft.Practices.Unity.UnityContainer.RegisterInstance(System.Type,System.String,System.Object,Microsoft.Practices.Unity.LifetimeManager)"> | |
5721 <summary> | |
5722 RegisterType an instance with the container. | |
5723 </summary> | |
5724 <remarks> | |
5725 <para> | |
5726 Instance registration is much like setting a type as a singleton, except that instead | |
5727 of the container creating the instance the first time it is requested, the user | |
5728 creates the instance ahead of type and adds that instance to the container. | |
5729 </para> | |
5730 </remarks> | |
5731 <param name="t">Type of instance to register (may be an implemented interface instead of the full type).</param> | |
5732 <param name="instance">Object to returned.</param> | |
5733 <param name="name">Name for registration.</param> | |
5734 <param name="lifetime"> | |
5735 <para>If true, the container will take over the lifetime of the instance, | |
5736 calling Dispose on it (if it's <see cref="T:System.IDisposable"/>) when the container is Disposed.</para> | |
5737 <para> | |
5738 If false, container will not maintain a strong reference to <paramref name="instance"/>. User is reponsible | |
5739 for disposing instance, and for keeping the instance from being garbage collected.</para></param> | |
5740 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
5741 </member> | |
5742 <member name="M:Microsoft.Practices.Unity.UnityContainer.Resolve(System.Type,System.String,Microsoft.Practices.Unity.ResolverOverride[])"> | |
5743 <summary> | |
5744 Get an instance of the requested type with the given name from the container. | |
5745 </summary> | |
5746 <param name="t"><see cref="T:System.Type"/> of object to get from the container.</param> | |
5747 <param name="name">Name of the object to retrieve.</param> | |
5748 <param name="resolverOverrides">Any overrides for the resolve call.</param> | |
5749 <returns>The retrieved object.</returns> | |
5750 </member> | |
5751 <member name="M:Microsoft.Practices.Unity.UnityContainer.ResolveAll(System.Type,Microsoft.Practices.Unity.ResolverOverride[])"> | |
5752 <summary> | |
5753 Return instances of all registered types requested. | |
5754 </summary> | |
5755 <remarks> | |
5756 <para> | |
5757 This method is useful if you've registered multiple types with the same | |
5758 <see cref="T:System.Type"/> but different names. | |
5759 </para> | |
5760 <para> | |
5761 Be aware that this method does NOT return an instance for the default (unnamed) registration. | |
5762 </para> | |
5763 </remarks> | |
5764 <param name="t">The type requested.</param> | |
5765 <param name="resolverOverrides">Any overrides for the resolve calls.</param> | |
5766 <returns>Set of objects of type <paramref name="t"/>.</returns> | |
5767 </member> | |
5768 <member name="M:Microsoft.Practices.Unity.UnityContainer.BuildUp(System.Type,System.Object,System.String,Microsoft.Practices.Unity.ResolverOverride[])"> | |
5769 <summary> | |
5770 Run an existing object through the container and perform injection on it. | |
5771 </summary> | |
5772 <remarks> | |
5773 <para> | |
5774 This method is useful when you don't control the construction of an | |
5775 instance (ASP.NET pages or objects created via XAML, for instance) | |
5776 but you still want properties and other injection performed. | |
5777 </para></remarks> | |
5778 <param name="t"><see cref="T:System.Type"/> of object to perform injection on.</param> | |
5779 <param name="existing">Instance to build up.</param> | |
5780 <param name="name">name to use when looking up the typemappings and other configurations.</param> | |
5781 <param name="resolverOverrides">Any overrides for the buildup.</param> | |
5782 <returns>The resulting object. By default, this will be <paramref name="existing"/>, but | |
5783 container extensions may add things like automatic proxy creation which would | |
5784 cause this to return a different object (but still type compatible with <paramref name="t"/>).</returns> | |
5785 </member> | |
5786 <member name="M:Microsoft.Practices.Unity.UnityContainer.Teardown(System.Object)"> | |
5787 <summary> | |
5788 Run an existing object through the container, and clean it up. | |
5789 </summary> | |
5790 <param name="o">The object to tear down.</param> | |
5791 </member> | |
5792 <member name="M:Microsoft.Practices.Unity.UnityContainer.AddExtension(Microsoft.Practices.Unity.UnityContainerExtension)"> | |
5793 <summary> | |
5794 Add an extension object to the container. | |
5795 </summary> | |
5796 <param name="extension"><see cref="T:Microsoft.Practices.Unity.UnityContainerExtension"/> to add.</param> | |
5797 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
5798 </member> | |
5799 <member name="M:Microsoft.Practices.Unity.UnityContainer.Configure(System.Type)"> | |
5800 <summary> | |
5801 Get access to a configuration interface exposed by an extension. | |
5802 </summary> | |
5803 <remarks>Extensions can expose configuration interfaces as well as adding | |
5804 strategies and policies to the container. This method walks the list of | |
5805 added extensions and returns the first one that implements the requested type. | |
5806 </remarks> | |
5807 <param name="configurationInterface"><see cref="T:System.Type"/> of configuration interface required.</param> | |
5808 <returns>The requested extension's configuration interface, or null if not found.</returns> | |
5809 </member> | |
5810 <member name="M:Microsoft.Practices.Unity.UnityContainer.RemoveAllExtensions"> | |
5811 <summary> | |
5812 Remove all installed extensions from this container. | |
5813 </summary> | |
5814 <remarks> | |
5815 <para> | |
5816 This method removes all extensions from the container, including the default ones | |
5817 that implement the out-of-the-box behavior. After this method, if you want to use | |
5818 the container again you will need to either readd the default extensions or replace | |
5819 them with your own. | |
5820 </para> | |
5821 <para> | |
5822 The registered instances and singletons that have already been set up in this container | |
5823 do not get removed. | |
5824 </para> | |
5825 </remarks> | |
5826 <returns>The <see cref="T:Microsoft.Practices.Unity.UnityContainer"/> object that this method was called on (this in C#, Me in Visual Basic).</returns> | |
5827 </member> | |
5828 <member name="M:Microsoft.Practices.Unity.UnityContainer.CreateChildContainer"> | |
5829 <summary> | |
5830 Create a child container. | |
5831 </summary> | |
5832 <remarks> | |
5833 A child container shares the parent's configuration, but can be configured with different | |
5834 settings or lifetime.</remarks> | |
5835 <returns>The new child container.</returns> | |
5836 </member> | |
5837 <member name="M:Microsoft.Practices.Unity.UnityContainer.Dispose"> | |
5838 <summary> | |
5839 Dispose this container instance. | |
5840 </summary> | |
5841 <remarks> | |
5842 Disposing the container also disposes any child containers, | |
5843 and disposes any instances whose lifetimes are managed | |
5844 by the container. | |
5845 </remarks> | |
5846 </member> | |
5847 <member name="M:Microsoft.Practices.Unity.UnityContainer.Dispose(System.Boolean)"> | |
5848 <summary> | |
5849 Dispose this container instance. | |
5850 </summary> | |
5851 <remarks> | |
5852 This class doesn't have a finalizer, so <paramref name="disposing"/> will always be true.</remarks> | |
5853 <param name="disposing">True if being called from the IDisposable.Dispose | |
5854 method, false if being called from a finalizer.</param> | |
5855 </member> | |
5856 <member name="M:Microsoft.Practices.Unity.UnityContainer.ClearExistingBuildPlan(System.Type,System.String)"> | |
5857 <summary> | |
5858 Remove policies associated with building this type. This removes the | |
5859 compiled build plan so that it can be rebuilt with the new settings | |
5860 the next time this type is resolved. | |
5861 </summary> | |
5862 <param name="typeToInject">Type of object to clear the plan for.</param> | |
5863 <param name="name">Name the object is being registered with.</param> | |
5864 </member> | |
5865 <member name="P:Microsoft.Practices.Unity.UnityContainer.Parent"> | |
5866 <summary> | |
5867 The parent of this container. | |
5868 </summary> | |
5869 <value>The parent container, or null if this container doesn't have one.</value> | |
5870 </member> | |
5871 <member name="P:Microsoft.Practices.Unity.UnityContainer.Registrations"> | |
5872 <summary> | |
5873 Get a sequence of <see cref="T:Microsoft.Practices.Unity.ContainerRegistration"/> that describe the current state | |
5874 of the container. | |
5875 </summary> | |
5876 </member> | |
5877 <member name="T:Microsoft.Practices.Unity.UnityContainer.ExtensionContextImpl"> | |
5878 <summary> | |
5879 Implementation of the ExtensionContext that is actually used | |
5880 by the UnityContainer implementation. | |
5881 </summary> | |
5882 <remarks> | |
5883 This is a nested class so that it can access state in the | |
5884 container that would otherwise be inaccessible. | |
5885 </remarks> | |
5886 </member> | |
5887 <member name="E:Microsoft.Practices.Unity.UnityContainer.ExtensionContextImpl.RegisteringInstance"> | |
5888 <summary> | |
5889 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, | |
5890 or one of its overloads, is called. | |
5891 </summary> | |
5892 </member> | |
5893 <member name="T:Microsoft.Practices.Unity.UnityDefaultBehaviorExtension"> | |
5894 <summary> | |
5895 This extension supplies the default behavior of the UnityContainer API | |
5896 by handling the context events and setting policies. | |
5897 </summary> | |
5898 </member> | |
5899 <member name="M:Microsoft.Practices.Unity.UnityDefaultBehaviorExtension.Initialize"> | |
5900 <summary> | |
5901 Install the default container behavior into the container. | |
5902 </summary> | |
5903 </member> | |
5904 <member name="M:Microsoft.Practices.Unity.UnityDefaultBehaviorExtension.Remove"> | |
5905 <summary> | |
5906 Remove the default behavior from the container. | |
5907 </summary> | |
5908 </member> | |
5909 <member name="T:Microsoft.Practices.Unity.UnityDefaultStrategiesExtension"> | |
5910 <summary> | |
5911 This extension installs the default strategies and policies into the container | |
5912 to implement the standard behavior of the Unity container. | |
5913 </summary> | |
5914 </member> | |
5915 <member name="M:Microsoft.Practices.Unity.UnityDefaultStrategiesExtension.Initialize"> | |
5916 <summary> | |
5917 Add the default ObjectBuilder strategies & policies to the container. | |
5918 </summary> | |
5919 </member> | |
5920 <member name="T:Microsoft.Practices.Unity.Utility.MethodReflectionHelper"> | |
5921 <summary> | |
5922 Helper class to wrap common reflection stuff dealing with | |
5923 methods. | |
5924 </summary> | |
5925 </member> | |
5926 <member name="M:Microsoft.Practices.Unity.Utility.MethodReflectionHelper.#ctor(System.Reflection.MethodBase)"> | |
5927 <summary> | |
5928 Create a new <see cref="T:Microsoft.Practices.Unity.Utility.MethodReflectionHelper"/> instance that | |
5929 lets us do more reflection stuff on that method. | |
5930 </summary> | |
5931 <param name="method">The method to reflect on.</param> | |
5932 </member> | |
5933 <member name="M:Microsoft.Practices.Unity.Utility.MethodReflectionHelper.GetClosedParameterTypes(System.Type[])"> | |
5934 <summary> | |
5935 Given our set of generic type arguments, | |
5936 </summary> | |
5937 <param name="genericTypeArguments">The generic type arguments.</param> | |
5938 <returns>An array with closed parameter types. </returns> | |
5939 </member> | |
5940 <member name="P:Microsoft.Practices.Unity.Utility.MethodReflectionHelper.MethodHasOpenGenericParameters"> | |
5941 <summary> | |
5942 Returns true if any of the parameters of this method | |
5943 are open generics. | |
5944 </summary> | |
5945 </member> | |
5946 <member name="P:Microsoft.Practices.Unity.Utility.MethodReflectionHelper.ParameterTypes"> | |
5947 <summary> | |
5948 Return the <see cref="T:System.Type"/> of each parameter for this | |
5949 method. | |
5950 </summary> | |
5951 <returns>Sequence of <see cref="T:System.Type"/> objects, one for | |
5952 each parameter in order.</returns> | |
5953 </member> | |
5954 <member name="T:Microsoft.Practices.Unity.Utility.Pair`2"> | |
5955 <summary> | |
5956 A helper class that encapsulates two different | |
5957 data items together into a a single item. | |
5958 </summary> | |
5959 </member> | |
5960 <member name="M:Microsoft.Practices.Unity.Utility.Pair`2.#ctor(`0,`1)"> | |
5961 <summary> | |
5962 Create a new <see cref="T:Microsoft.Practices.Unity.Utility.Pair`2"/> containing | |
5963 the two values give. | |
5964 </summary> | |
5965 <param name="first">First value</param> | |
5966 <param name="second">Second value</param> | |
5967 </member> | |
5968 <member name="P:Microsoft.Practices.Unity.Utility.Pair`2.First"> | |
5969 <summary> | |
5970 The first value of the pair. | |
5971 </summary> | |
5972 </member> | |
5973 <member name="P:Microsoft.Practices.Unity.Utility.Pair`2.Second"> | |
5974 <summary> | |
5975 The second value of the pair. | |
5976 </summary> | |
5977 </member> | |
5978 <member name="T:Microsoft.Practices.Unity.Utility.Pair"> | |
5979 <summary> | |
5980 Container for a Pair helper method. | |
5981 </summary> | |
5982 </member> | |
5983 <member name="M:Microsoft.Practices.Unity.Utility.Pair.Make``2(``0,``1)"> | |
5984 <summary> | |
5985 A helper factory method that lets users take advantage of type inference. | |
5986 </summary> | |
5987 <typeparam name="TFirstParameter">Type of first value.</typeparam> | |
5988 <typeparam name="TSecondParameter">Type of second value.</typeparam> | |
5989 <param name="first">First value.</param> | |
5990 <param name="second">Second value.</param> | |
5991 <returns>A new <see cref="T:Microsoft.Practices.Unity.Utility.Pair`2"/> instance.</returns> | |
5992 </member> | |
5993 <member name="T:Microsoft.Practices.Unity.Utility.ParameterMatcher"> | |
5994 <summary> | |
5995 A utility class that handles the logic of matching parameter | |
5996 lists, so we can find the right constructor and method overloads. | |
5997 </summary> | |
5998 </member> | |
5999 <member name="M:Microsoft.Practices.Unity.Utility.ParameterMatcher.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Practices.Unity.InjectionParameterValue})"> | |
6000 <summary> | |
6001 Create a new <see cref="T:Microsoft.Practices.Unity.Utility.ParameterMatcher"/> that will attempt to | |
6002 match the given parameter types. | |
6003 </summary> | |
6004 <param name="parametersToMatch">Target parameters to match against.</param> | |
6005 </member> | |
6006 <member name="M:Microsoft.Practices.Unity.Utility.ParameterMatcher.Matches(System.Collections.Generic.IEnumerable{System.Type})"> | |
6007 <summary> | |
6008 Tests to see if the given set of types matches the ones | |
6009 we're looking for. | |
6010 </summary> | |
6011 <param name="candidate">parameter list to look for.</param> | |
6012 <returns>true if they match, false if they don't.</returns> | |
6013 </member> | |
6014 <member name="M:Microsoft.Practices.Unity.Utility.ParameterMatcher.Matches(System.Collections.Generic.IEnumerable{System.Reflection.ParameterInfo})"> | |
6015 <summary> | |
6016 Tests to see if the given set of types matches the ones we're looking for. | |
6017 </summary> | |
6018 <param name="candidate">Candidate method signature to look for.</param> | |
6019 <returns>True if they match, false if they don't.</returns> | |
6020 </member> | |
6021 <member name="T:Microsoft.Practices.Unity.Utility.ParameterReflectionHelper"> | |
6022 <summary> | |
6023 Another reflection helper class that has extra methods | |
6024 for dealing with ParameterInfos. | |
6025 </summary> | |
6026 </member> | |
6027 <member name="T:Microsoft.Practices.Unity.Utility.ReflectionHelper"> | |
6028 <summary> | |
6029 A small helper class to encapsulate details of the | |
6030 reflection API, particularly around generics. | |
6031 </summary> | |
6032 </member> | |
6033 <member name="M:Microsoft.Practices.Unity.Utility.ReflectionHelper.#ctor(System.Type)"> | |
6034 <summary> | |
6035 Create a new <see cref="T:Microsoft.Practices.Unity.Utility.ReflectionHelper"/> instance that | |
6036 lets you look at information about the given type. | |
6037 </summary> | |
6038 <param name="typeToReflect">Type to do reflection on.</param> | |
6039 </member> | |
6040 <member name="M:Microsoft.Practices.Unity.Utility.ReflectionHelper.MethodHasOpenGenericParameters(System.Reflection.MethodBase)"> | |
6041 <summary> | |
6042 Test the given <see cref="T:System.Reflection.MethodBase"/> object, looking at | |
6043 the parameters. Determine if any of the parameters are | |
6044 open generic types that need type attributes filled in. | |
6045 </summary> | |
6046 <param name="method">The method to check.</param> | |
6047 <returns>True if any of the parameters are open generics. False if not.</returns> | |
6048 </member> | |
6049 <member name="M:Microsoft.Practices.Unity.Utility.ReflectionHelper.GetClosedParameterType(System.Type[])"> | |
6050 <summary> | |
6051 If this type is an open generic, use the | |
6052 given <paramref name="genericArguments"/> array to | |
6053 determine what the required closed type is and return that. | |
6054 </summary> | |
6055 <remarks>If the parameter is not an open type, just | |
6056 return this parameter's type.</remarks> | |
6057 <param name="genericArguments">Type arguments to substitute in for | |
6058 the open type parameters.</param> | |
6059 <returns>Corresponding closed type of this parameter.</returns> | |
6060 </member> | |
6061 <member name="M:Microsoft.Practices.Unity.Utility.ReflectionHelper.GetNamedGenericParameter(System.String)"> | |
6062 <summary> | |
6063 Given a generic argument name, return the corresponding type for this | |
6064 closed type. For example, if the current type is SomeType<User>, and the | |
6065 corresponding definition was SomeType<TSomething>, calling this method | |
6066 and passing "TSomething" will return typeof(User). | |
6067 </summary> | |
6068 <param name="parameterName">Name of the generic parameter.</param> | |
6069 <returns>Type of the corresponding generic parameter, or null if there | |
6070 is no matching name.</returns> | |
6071 </member> | |
6072 <member name="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.Type"> | |
6073 <summary> | |
6074 The <see cref="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.Type"/> object we're reflecting over. | |
6075 </summary> | |
6076 </member> | |
6077 <member name="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.IsGenericType"> | |
6078 <summary> | |
6079 Is this type generic? | |
6080 </summary> | |
6081 </member> | |
6082 <member name="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.IsOpenGeneric"> | |
6083 <summary> | |
6084 Is this type an open generic (no type parameter specified) | |
6085 </summary> | |
6086 </member> | |
6087 <member name="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.IsArray"> | |
6088 <summary> | |
6089 Is this type an array type? | |
6090 </summary> | |
6091 </member> | |
6092 <member name="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.IsGenericArray"> | |
6093 <summary> | |
6094 Is this type an array of generic elements? | |
6095 </summary> | |
6096 </member> | |
6097 <member name="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.ArrayElementType"> | |
6098 <summary> | |
6099 The type of the elements in this type (if it's an array). | |
6100 </summary> | |
6101 </member> | |
6102 <member name="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.InstanceConstructors"> | |
6103 <summary> | |
6104 Returns all the public constructors defined for the current reflected <see cref="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.Type"/>. | |
6105 </summary> | |
6106 <value> | |
6107 An enumeration of <see cref="T:System.Reflection.ConstructorInfo"/> ConstructorInfo objects representing all the public instance constructors defined for the | |
6108 current reflected <see cref="P:Microsoft.Practices.Unity.Utility.ReflectionHelper.Type"/>, but not including the type initializer (static constructor). | |
6109 </value> | |
6110 </member> | |
6111 <member name="M:Microsoft.Practices.Unity.Utility.ParameterReflectionHelper.#ctor(System.Reflection.ParameterInfo)"> | |
6112 <summary> | |
6113 Create a new instance of <see cref="T:Microsoft.Practices.Unity.Utility.ParameterReflectionHelper"/> that | |
6114 lets you query information about the given ParameterInfo object. | |
6115 </summary> | |
6116 <param name="parameter">Parameter to query.</param> | |
6117 </member> | |
6118 <member name="T:Microsoft.Practices.Unity.Utility.StaticReflection"> | |
6119 <summary> | |
6120 A set of helper methods to pick through lambdas and pull out | |
6121 <see cref="T:System.Reflection.MethodInfo"/> from them. | |
6122 </summary> | |
6123 </member> | |
6124 <member name="M:Microsoft.Practices.Unity.Utility.StaticReflection.GetMethodInfo(System.Linq.Expressions.Expression{System.Action})"> | |
6125 <summary> | |
6126 Pull out a <see cref="T:System.Reflection.MethodInfo"/> object from an expression of the form | |
6127 () => SomeClass.SomeMethod() | |
6128 </summary> | |
6129 <param name="expression">Expression describing the method to call.</param> | |
6130 <returns>Corresponding <see cref="T:System.Reflection.MethodInfo"/>.</returns> | |
6131 </member> | |
6132 <member name="M:Microsoft.Practices.Unity.Utility.StaticReflection.GetMethodInfo``1(System.Linq.Expressions.Expression{System.Action{``0}})"> | |
6133 <summary> | |
6134 Pull out a <see cref="T:System.Reflection.MethodInfo"/> object from an expression of the form | |
6135 x => x.SomeMethod() | |
6136 </summary> | |
6137 <typeparam name="T">The type where the method is defined.</typeparam> | |
6138 <param name="expression">Expression describing the method to call.</param> | |
6139 <returns>Corresponding <see cref="T:System.Reflection.MethodInfo"/>.</returns> | |
6140 </member> | |
6141 <member name="M:Microsoft.Practices.Unity.Utility.StaticReflection.GetPropertyGetMethodInfo``2(System.Linq.Expressions.Expression{System.Func{``0,``1}})"> | |
6142 <summary> | |
6143 Pull out a <see cref="T:System.Reflection.MethodInfo"/> object for the get method from an expression of the form | |
6144 x => x.SomeProperty | |
6145 </summary> | |
6146 <typeparam name="T">The type where the method is defined.</typeparam> | |
6147 <typeparam name="TProperty">The type for the property.</typeparam> | |
6148 <param name="expression">Expression describing the property for which the get method is to be extracted.</param> | |
6149 <returns>Corresponding <see cref="T:System.Reflection.MethodInfo"/>.</returns> | |
6150 </member> | |
6151 <member name="M:Microsoft.Practices.Unity.Utility.StaticReflection.GetPropertySetMethodInfo``2(System.Linq.Expressions.Expression{System.Func{``0,``1}})"> | |
6152 <summary> | |
6153 Pull out a <see cref="T:System.Reflection.MethodInfo"/> object for the set method from an expression of the form | |
6154 x => x.SomeProperty | |
6155 </summary> | |
6156 <typeparam name="T">The type where the method is defined.</typeparam> | |
6157 <typeparam name="TProperty">The type for the property.</typeparam> | |
6158 <param name="expression">Expression describing the property for which the set method is to be extracted.</param> | |
6159 <returns>Corresponding <see cref="T:System.Reflection.MethodInfo"/>.</returns> | |
6160 </member> | |
6161 <member name="M:Microsoft.Practices.Unity.Utility.StaticReflection.GetMemberInfo``2(System.Linq.Expressions.Expression{System.Func{``0,``1}})"> | |
6162 <summary> | |
6163 | |
6164 </summary> | |
6165 <typeparam name="T"></typeparam> | |
6166 <typeparam name="TProperty"></typeparam> | |
6167 <param name="expression"></param> | |
6168 <returns></returns> | |
6169 </member> | |
6170 <member name="M:Microsoft.Practices.Unity.Utility.StaticReflection.GetConstructorInfo``1(System.Linq.Expressions.Expression{System.Func{``0}})"> | |
6171 <summary> | |
6172 Pull out a <see cref="T:System.Reflection.ConstructorInfo"/> object from an expression of the form () => new SomeType() | |
6173 </summary> | |
6174 <typeparam name="T">The type where the constructor is defined.</typeparam> | |
6175 <param name="expression">Expression invoking the desired constructor.</param> | |
6176 <returns>Corresponding <see cref="T:System.Reflection.ConstructorInfo"/>.</returns> | |
6177 </member> | |
6178 </members> | |
6179 </doc> |