unity 2.0.414.0.20100813 → 2.0.414.0.20100813.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,9 +4,15 @@
4
4
  <name>Microsoft.Practices.Unity.Configuration</name>
5
5
  </assembly>
6
6
  <members>
7
- <member name="T:Microsoft.Practices.Unity.Configuration.AliasElement">
7
+ <member name="T:Microsoft.Practices.Unity.Configuration.RegisterElement">
8
8
  <summary>
9
- A configuration element storing information about a single type alias.
9
+ A configuration element representing a single container type registration.
10
+ </summary>
11
+ </member>
12
+ <member name="T:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement">
13
+ <summary>
14
+ A base class for those elements that can be used
15
+ to configure a unity container.
10
16
  </summary>
11
17
  </member>
12
18
  <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElement">
@@ -30,20 +36,29 @@
30
36
  the start or end tags.</remarks>
31
37
  <param name="writer">Writer to send XML content to.</param>
32
38
  </member>
33
- <member name="M:Microsoft.Practices.Unity.Configuration.AliasElement.#ctor">
39
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement.#ctor">
34
40
  <summary>
35
- Construct a new, uninitialized <see cref="T:Microsoft.Practices.Unity.Configuration.AliasElement"/>.
41
+ Create a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement"/>.
36
42
  </summary>
37
43
  </member>
38
- <member name="M:Microsoft.Practices.Unity.Configuration.AliasElement.#ctor(System.String,System.Type)">
44
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
39
45
  <summary>
40
- Construct a new <see cref="T:Microsoft.Practices.Unity.Configuration.AliasElement"/> that is initialized
41
- to alias <paramref name="alias"/> to the target <paramref name="targetType"/>.
46
+ Apply this element's configuration to the given <paramref name="container"/>.
42
47
  </summary>
43
- <param name="alias">Alias to use.</param>
44
- <param name="targetType">Type that is aliased.</param>
48
+ <param name="container">Container to configure.</param>
45
49
  </member>
46
- <member name="M:Microsoft.Practices.Unity.Configuration.AliasElement.SerializeContent(System.Xml.XmlWriter)">
50
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement.Key">
51
+ <summary>
52
+ Return a unique key that can be used to manage this element in a collection.
53
+ </summary>
54
+ </member>
55
+ <member name="M:Microsoft.Practices.Unity.Configuration.RegisterElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
56
+ <summary>
57
+ Apply the registrations from this element to the given container.
58
+ </summary>
59
+ <param name="container">Container to configure.</param>
60
+ </member>
61
+ <member name="M:Microsoft.Practices.Unity.Configuration.RegisterElement.SerializeContent(System.Xml.XmlWriter)">
47
62
  <summary>
48
63
  Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
49
64
  </summary>
@@ -52,212 +67,238 @@
52
67
  the start or end tags.</remarks>
53
68
  <param name="writer">Writer to send XML content to.</param>
54
69
  </member>
55
- <member name="P:Microsoft.Practices.Unity.Configuration.AliasElement.Alias">
70
+ <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.TypeName">
56
71
  <summary>
57
- The alias used for this type.
72
+ The type that is registered.
58
73
  </summary>
59
74
  </member>
60
- <member name="P:Microsoft.Practices.Unity.Configuration.AliasElement.TypeName">
75
+ <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.Name">
61
76
  <summary>
62
- The fully qualified name this alias refers to.
77
+ Name registered under.
63
78
  </summary>
64
79
  </member>
65
- <member name="T:Microsoft.Practices.Unity.Configuration.AliasElementCollection">
80
+ <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.MapToName">
66
81
  <summary>
67
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.AliasElement"/>s.
82
+ Type that is mapped to.
68
83
  </summary>
69
84
  </member>
70
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollection`1">
85
+ <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.Lifetime">
71
86
  <summary>
72
- Specialization of <see cref="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1"/>
73
- that provides a canned implmentation of <see cref="M:System.Configuration.ConfigurationElementCollection.CreateNewElement"/>.
87
+ Lifetime manager to register for this registration.
74
88
  </summary>
75
- <typeparam name="TElement">Type of configuration element in the collection.</typeparam>
76
89
  </member>
77
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1">
90
+ <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.InjectionMembers">
78
91
  <summary>
79
- A base helper class for implementing configuration collections.
92
+ Any injection members (constructor, properties, etc.) that are specified for
93
+ this registration.
80
94
  </summary>
81
- <typeparam name="TElement">Type of configuration element contained in
82
- the collection.</typeparam>
83
95
  </member>
84
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.GetElement(System.Int32)">
96
+ <member name="T:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions">
85
97
  <summary>
86
- Plug point to get objects out of the collection.
98
+ Extensions to <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> to simplify
99
+ loading configuration into a container.
87
100
  </summary>
88
- <param name="index">Index in the collection to retrieve the item from.</param>
89
- <returns>Item at that index or null if not present.</returns>
90
101
  </member>
91
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.GetElement(System.Object)">
102
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,System.String)">
92
103
  <summary>
93
- Plug point to get objects out of the collection.
104
+ Apply configuration from the given section and named container
105
+ into the given container.
94
106
  </summary>
95
- <param name="key">Key to look up the object by.</param>
96
- <returns>Item with that key or null if not present.</returns>
107
+ <param name="container">Unity container to configure.</param>
108
+ <param name="section">Configuration section with config information.</param>
109
+ <param name="containerName">Named container.</param>
110
+ <returns><paramref name="container"/>.</returns>
97
111
  </member>
98
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.Deserialize(System.Xml.XmlReader)">
112
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(Microsoft.Practices.Unity.IUnityContainer,System.String)">
99
113
  <summary>
100
- Load this element from the given <see cref="T:System.Xml.XmlReader"/>.
114
+ Apply configuration from the default section (named "unity" pulled out of
115
+ ConfigurationManager) and the named container.
101
116
  </summary>
102
- <param name="reader">Contains the XML to initialize from.</param>
117
+ <param name="container">Unity container to configure.</param>
118
+ <param name="containerName">Named container element in configuration.</param>
119
+ <returns><paramref name="container"/>.</returns>
103
120
  </member>
104
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.GetEnumerator">
121
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(Microsoft.Practices.Unity.IUnityContainer)">
105
122
  <summary>
106
- Returns an enumerator that iterates through the collection.
123
+ Apply configuration from the default section and unnamed container element.
107
124
  </summary>
108
- <returns>
109
- A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
110
- </returns>
111
- <filterpriority>1</filterpriority>
125
+ <param name="container">Container to configure.</param>
126
+ <returns><paramref name="container"/>.</returns>
112
127
  </member>
113
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.Add(`0)">
128
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.Configuration.UnityConfigurationSection)">
114
129
  <summary>
115
- Add a new element to the collection.
130
+ Apply configuration from the default container in the given section.
116
131
  </summary>
117
- <param name="element">Element to add.</param>
132
+ <param name="container">Unity container to configure.</param>
133
+ <param name="section">Configuration section.</param>
134
+ <returns><paramref name="container"/>.</returns>
118
135
  </member>
119
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.RemoveAt(System.Int32)">
136
+ <member name="T:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection">
120
137
  <summary>
121
- Remove an element from the collection at the given index.
138
+ A configuration section describing configuration for an <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/>.
122
139
  </summary>
123
- <param name="index">The index of the item to remove.</param>
124
140
  </member>
125
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.Clear">
141
+ <member name="F:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.SectionName">
126
142
  <summary>
127
- Remove all the items in the collection.
143
+ The name of the section where unity configuration is expected to be found.
128
144
  </summary>
129
145
  </member>
130
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.SerializeElementContents(System.Xml.XmlWriter,System.String)">
146
+ <member name="F:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.XmlNamespace">
131
147
  <summary>
132
- Write out the contents of this collection to the given
133
- <paramref name="writer"/> without a containing element
134
- corresponding directly to this container element. Each
135
- child element will have a tag name given by
136
- <paramref name="elementName"/>.
148
+ XML Namespace string used for IntelliSense in this section.
137
149
  </summary>
138
- <param name="writer"><see cref="T:System.Xml.XmlWriter"/> to output XML to.</param>
139
- <param name="elementName">Name of tag to generate.</param>
140
150
  </member>
141
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.Item(System.Int32)">
151
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Configure(Microsoft.Practices.Unity.IUnityContainer)">
142
152
  <summary>
143
- Indexer to retrieve items in the collection by index.
153
+ Apply the configuration in the default container element to the given container.
144
154
  </summary>
145
- <param name="index">Index of the item to get or set.</param>
146
- <returns>The item at the given index.</returns>
155
+ <param name="container">Container to configure.</param>
156
+ <returns>The passed in <paramref name="container"/>.</returns>
147
157
  </member>
148
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollection`1.CreateNewElement">
158
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Configure(Microsoft.Practices.Unity.IUnityContainer,System.String)">
149
159
  <summary>
150
- When overridden in a derived class, creates a new <see cref="T:System.Configuration.ConfigurationElement"/>.
160
+ Apply the configuration in the default container element to the given container.
151
161
  </summary>
152
- <returns>
153
- A new <see cref="T:System.Configuration.ConfigurationElement"/>.
154
- </returns>
162
+ <param name="container">Container to configure.</param>
163
+ <param name="configuredContainerName">Name of the container element to use to configure the container.</param>
164
+ <returns>The passed in <paramref name="container"/>.</returns>
155
165
  </member>
156
- <member name="M:Microsoft.Practices.Unity.Configuration.AliasElementCollection.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
166
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.DeserializeSection(System.Xml.XmlReader)">
157
167
  <summary>
158
- Causes the configuration system to throw an exception.
168
+ Reads XML from the configuration file.
169
+ </summary>
170
+ <param name="reader">The <see cref="T:System.Xml.XmlReader"/> object, which reads from the configuration file.
171
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException"><paramref name="reader"/> found no elements in the configuration file.
172
+ </exception>
173
+ </member>
174
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
175
+ <summary>
176
+ Gets a value indicating whether an unknown element is encountered during deserialization.
159
177
  </summary>
160
178
  <returns>
161
- true if the unrecognized element was deserialized successfully; otherwise, false. The default is false.
179
+ true when an unknown element is encountered while deserializing; otherwise, false.
162
180
  </returns>
163
- <param name="elementName">The name of the unrecognized element.
164
- </param><param name="reader">An input stream that reads XML from the configuration file.
165
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element specified in <paramref name="elementName"/> is the &lt;clear&gt; element.
166
- </exception><exception cref="T:System.ArgumentException"><paramref name="elementName"/> starts with the reserved prefix "config" or "lock".
181
+ <param name="elementName">The name of the unknown subelement.
182
+ </param><param name="reader">The <see cref="T:System.Xml.XmlReader"/> being used for deserialization.
183
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element identified by <paramref name="elementName"/> is locked.
184
+ - or -
185
+ One or more of the element's attributes is locked.
186
+ - or -
187
+ <paramref name="elementName"/> is unrecognized, or the element has an unrecognized attribute.
188
+ - or -
189
+ The element has a Boolean attribute with an invalid value.
190
+ - or -
191
+ An attempt was made to deserialize a property more than once.
192
+ - or -
193
+ An attempt was made to deserialize a property that is not a valid member of the element.
194
+ - or -
195
+ The element cannot contain a CDATA or text element.
167
196
  </exception>
168
197
  </member>
169
- <member name="M:Microsoft.Practices.Unity.Configuration.AliasElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
198
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.SerializeSection(System.Configuration.ConfigurationElement,System.String,System.Configuration.ConfigurationSaveMode)">
170
199
  <summary>
171
- Gets the element key for a specified configuration element when overridden in a derived class.
200
+ Creates an XML string containing an unmerged view of the <see cref="T:System.Configuration.ConfigurationSection"/> object as a single section to write to a file.
172
201
  </summary>
173
202
  <returns>
174
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
203
+ An XML string containing an unmerged view of the <see cref="T:System.Configuration.ConfigurationSection"/> object.
175
204
  </returns>
176
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
205
+ <param name="parentElement">The <see cref="T:System.Configuration.ConfigurationElement"/> instance to use as the parent when performing the un-merge.
206
+ </param><param name="name">The name of the section to create.
207
+ </param><param name="saveMode">The <see cref="T:System.Configuration.ConfigurationSaveMode"/> instance to use when writing to a string.
177
208
  </param>
178
209
  </member>
179
- <member name="P:Microsoft.Practices.Unity.Configuration.AliasElementCollection.Item(System.String)">
210
+ <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.CurrentSection">
180
211
  <summary>
181
- Indexer that allows you to get or set an alias by the alias name.
212
+ The current <see cref="T:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection"/> that is being deserialized
213
+ or being configured from.
182
214
  </summary>
183
- <param name="alias">Alias of element to get or set.</param>
184
- <returns>The type name at that alias.</returns>
185
215
  </member>
186
- <member name="T:Microsoft.Practices.Unity.Configuration.ArrayElement">
216
+ <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Xmlns">
187
217
  <summary>
188
- A configuration element used to configure injection of
189
- a specific set of values into an array.
218
+ Storage for XML namespace. The namespace isn't used or validated by config, but
219
+ it is useful for Visual Studio XML IntelliSense to kick in.
190
220
  </summary>
191
221
  </member>
192
- <member name="T:Microsoft.Practices.Unity.Configuration.ParameterValueElement">
222
+ <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Containers">
193
223
  <summary>
194
- Base class for configuration elements that describe a value that will
195
- be injected.
224
+ The set of containers defined in this configuration section.
196
225
  </summary>
197
226
  </member>
198
- <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElement.#ctor">
227
+ <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.TypeAliases">
199
228
  <summary>
200
- Initialize a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.ParameterValueElement"/>.
229
+ The set of type aliases defined in this configuration file.
201
230
  </summary>
202
231
  </member>
203
- <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElement.GetInjectionParameterValue(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
232
+ <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.SectionExtensions">
204
233
  <summary>
205
- Generate an <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object
206
- that will be used to configure the container for a type registration.
234
+ Any schema extensions that are added.
207
235
  </summary>
208
- <param name="container">Container that is being configured. Supplied in order
209
- to let custom implementations retrieve services; do not configure the container
210
- directly in this method.</param>
211
- <param name="parameterType">Type of the </param>
212
- <returns></returns>
213
236
  </member>
214
- <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElement.GuardPropertyValueIsPresent(System.Collections.Generic.IDictionary{System.String,System.String},System.String)">
237
+ <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Namespaces">
215
238
  <summary>
216
- Validate that an expected attribute is present in the given
217
- dictionary and that it has a non-empty value.
239
+ Any namespaces added to the type search list.
218
240
  </summary>
219
- <param name="propertyValues">Dictionary of name/value pairs to check.</param>
220
- <param name="requiredProperty">attribute name to check.</param>
221
241
  </member>
222
- <member name="P:Microsoft.Practices.Unity.Configuration.ParameterValueElement.Key">
242
+ <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Assemblies">
223
243
  <summary>
224
- Return a unique string that can be used to identify this object. Used
225
- by the configuration collection support.
244
+ Any assemblies added to the type search list.
226
245
  </summary>
227
246
  </member>
228
- <member name="M:Microsoft.Practices.Unity.Configuration.ArrayElement.SerializeContent(System.Xml.XmlWriter)">
247
+ <member name="T:Microsoft.Practices.Unity.Configuration.SectionExtensionContext">
229
248
  <summary>
230
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
249
+ An object that gives the ability to add
250
+ elements and aliases to a configuration section.
231
251
  </summary>
232
- <remarks>The caller of this method has already written the start element tag before
233
- calling this method, so deriving classes only need to write the element content, not
234
- the start or end tags.</remarks>
235
- <param name="writer">Writer to send XML content to.</param>
236
252
  </member>
237
- <member name="M:Microsoft.Practices.Unity.Configuration.ArrayElement.GetInjectionParameterValue(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
253
+ <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionContext.AddAlias(System.String,System.Type)">
238
254
  <summary>
239
- Generate an <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object
240
- that will be used to configure the container for a type registration.
255
+ Add a new alias to the configuration section. This is useful
256
+ for those extensions that add commonly used types to configuration
257
+ so users don't have to alias them repeatedly.
241
258
  </summary>
242
- <param name="container">Container that is being configured. Supplied in order
243
- to let custom implementations retrieve services; do not configure the container
244
- directly in this method.</param>
245
- <param name="parameterType">Type of the </param>
246
- <returns></returns>
259
+ <param name="newAlias">The alias to use.</param>
260
+ <param name="aliasedType">Type the alias maps to.</param>
247
261
  </member>
248
- <member name="P:Microsoft.Practices.Unity.Configuration.ArrayElement.TypeName">
262
+ <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionContext.AddAlias``1(System.String)">
249
263
  <summary>
250
- Type of array to inject. This is actually the type of the array elements,
251
- not the array type. Optional, if not specified we take the type from
252
- our containing element.
264
+ Add a new alias to the configuration section. This is useful
265
+ for those extensions that add commonly used types to configuration
266
+ so users don't have to alias them repeatedly.
253
267
  </summary>
268
+ <typeparam name="TAliased">Type the alias maps to.</typeparam>
269
+ <param name="alias">The alias to use</param>
254
270
  </member>
255
- <member name="P:Microsoft.Practices.Unity.Configuration.ArrayElement.Values">
271
+ <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionContext.AddElement(System.String,System.Type)">
256
272
  <summary>
257
- Values used to calculate the contents of the array.
273
+ Add a new element to the configuration section schema.
258
274
  </summary>
275
+ <param name="tag">Tag name in the XML.</param>
276
+ <param name="elementType">Type the tag maps to.</param>
259
277
  </member>
260
- <member name="T:Microsoft.Practices.Unity.Configuration.AssemblyElement">
278
+ <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionContext.AddElement``1(System.String)">
279
+ <summary>
280
+ Add a new element to the configuration section schema.
281
+ </summary>
282
+ <typeparam name="TElement">Type the tag maps to.</typeparam>
283
+ <param name="tag">Tag name in the XML.</param>
284
+ </member>
285
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.ExtensionContext.AddAlias(System.String,System.Type)">
286
+ <summary>
287
+ Add a new alias to the configuration section. This is useful
288
+ for those extensions that add commonly used types to configuration
289
+ so users don't have to alias them repeatedly.
290
+ </summary>
291
+ <param name="newAlias">The alias to use.</param>
292
+ <param name="aliasedType">Type the alias maps to.</param>
293
+ </member>
294
+ <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.ExtensionContext.AddElement(System.String,System.Type)">
295
+ <summary>
296
+ Add a new element to the configuration section schema.
297
+ </summary>
298
+ <param name="tag">Tag name in the XML.</param>
299
+ <param name="elementType">Type the tag maps to.</param>
300
+ </member>
301
+ <member name="T:Microsoft.Practices.Unity.Configuration.NamespaceElement">
261
302
  <summary>
262
303
  A configuration element representing the namespace
263
304
  tags in the config file.
@@ -283,458 +324,536 @@
283
324
  Name attribute for this element.
284
325
  </summary>
285
326
  </member>
286
- <member name="T:Microsoft.Practices.Unity.Configuration.AssemblyElementCollection">
327
+ <member name="T:Microsoft.Practices.Unity.Configuration.MethodElement">
287
328
  <summary>
288
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.AssemblyElement"/>s in configuration.
329
+ A configuration element representing a method to call.
289
330
  </summary>
290
331
  </member>
291
- <member name="M:Microsoft.Practices.Unity.Configuration.AssemblyElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
332
+ <member name="T:Microsoft.Practices.Unity.Configuration.InjectionMemberElement">
292
333
  <summary>
293
- Gets the element key for a specified configuration element when overridden in a derived class.
334
+ Base class for configuration elements that generate <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>
335
+ object to configure a container.
294
336
  </summary>
295
- <returns>
296
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
297
- </returns>
298
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
299
- </param>
300
337
  </member>
301
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ConfigurationElementExtensions">
338
+ <member name="M:Microsoft.Practices.Unity.Configuration.InjectionMemberElement.GetInjectionMembers(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String)">
302
339
  <summary>
303
- Helpful extension methods when implementing configuration sections
304
- that deserialize "unwrapped" elements - elements that should be
305
- deserialized into a container but can be present outside
306
- that container in the actual config file.
340
+ Return the set of <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>s that are needed
341
+ to configure the container according to this configuration element.
307
342
  </summary>
343
+ <param name="container">Container that is being configured.</param>
344
+ <param name="fromType">Type that is being registered.</param>
345
+ <param name="toType">Type that <paramref name="fromType"/> is being mapped to.</param>
346
+ <param name="name">Name this registration is under.</param>
347
+ <returns>One or more <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects that should be
348
+ applied to the container registration.</returns>
308
349
  </member>
309
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ConfigurationElementExtensions.ReadUnwrappedElement``1(System.Configuration.ConfigurationElement,System.Xml.XmlReader,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase{``0})">
350
+ <member name="M:Microsoft.Practices.Unity.Configuration.InjectionMemberElement.GetMemberElementName(Microsoft.Practices.Unity.Configuration.InjectionMemberElement)">
310
351
  <summary>
311
- Deserialize an element of the given type, store it in
312
- the collection object, and
352
+ Get the standard tag name for an <see cref="T:Microsoft.Practices.Unity.Configuration.InjectionMemberElement"/>
353
+ taking into account currently loaded section extensions.
313
354
  </summary>
314
- <typeparam name="TElementType">Type of element to create and deserialize.</typeparam>
315
- <param name="baseElement">Parent element containing element to deserialize.</param>
316
- <param name="reader">Xml reader containing state to deserialize from.</param>
317
- <param name="elementCollection">Collection to store the created element into.</param>
318
- <returns>The created element.</returns>
355
+ <param name="memberElement">Element to get the name for.</param>
356
+ <returns>The element name.</returns>
357
+ <exception cref="T:System.ArgumentException">If the member element is not currently registered
358
+ with the section.</exception>
319
359
  </member>
320
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ConfigurationElementExtensions.ReadElementByType``1(System.Configuration.ConfigurationElement,System.Xml.XmlReader,System.Type,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase{``0})">
360
+ <member name="P:Microsoft.Practices.Unity.Configuration.InjectionMemberElement.Key">
321
361
  <summary>
322
- Deserialize an element, basing the element type on the one
323
- supplied at runtime, and then store the element into the
324
- given <paramref name="elementCollection"/>.
362
+ Each element must have a unique key, which is generated by the subclasses.
325
363
  </summary>
326
- <remarks>This method is useful when reading elements into a polymorphic collection.</remarks>
327
- <typeparam name="TElementType">Base type of element to store.</typeparam>
328
- <param name="baseElement">Element that contains the collection being stored into.</param>
329
- <param name="reader">Xml Reader containing state to deserialize from.</param>
330
- <param name="elementType">Runtime type of element to create.</param>
331
- <param name="elementCollection">Collection to store the created element into.</param>
332
- <returns>The created element.</returns>
333
364
  </member>
334
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream">
365
+ <member name="P:Microsoft.Practices.Unity.Configuration.InjectionMemberElement.ElementName">
335
366
  <summary>
336
- Class that tracks the current input state of the parser.
367
+ Element name to use to serialize this into XML.
337
368
  </summary>
338
369
  </member>
339
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder">
370
+ <member name="M:Microsoft.Practices.Unity.Configuration.MethodElement.#ctor">
340
371
  <summary>
341
- A simple implementing of the rules for a Parsing Expression Grammar
342
- parsing algorithm. This supplies basic methods to do the primitives
343
- of the PEG, and combinators to create larger rules.
372
+ Construct a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.MethodElement"/>.
344
373
  </summary>
345
374
  </member>
346
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Any(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream)">
375
+ <member name="M:Microsoft.Practices.Unity.Configuration.MethodElement.SerializeContent(System.Xml.XmlWriter)">
347
376
  <summary>
348
- The PEG "dot" operator that matches and consumes one character.
377
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
349
378
  </summary>
350
- <param name="input">Input to the parser.</param>
351
- <returns>The parse result.</returns>
379
+ <remarks>The caller of this method has already written the start element tag before
380
+ calling this method, so deriving classes only need to write the element content, not
381
+ the start or end tags.</remarks>
382
+ <param name="writer">Writer to send XML content to.</param>
352
383
  </member>
353
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Match(System.Char)">
384
+ <member name="M:Microsoft.Practices.Unity.Configuration.MethodElement.GetInjectionMembers(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String)">
354
385
  <summary>
355
- Parse function generator that returns a method to match a single,
356
- specific character.
386
+ Return the set of <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>s that are needed
387
+ to configure the container according to this configuration element.
357
388
  </summary>
358
- <param name="charToMatch">Character to match.</param>
359
- <returns>The generated parsing function.</returns>
389
+ <param name="container">Container that is being configured.</param>
390
+ <param name="fromType">Type that is being registered.</param>
391
+ <param name="toType">Type that <paramref name="fromType"/> is being mapped to.</param>
392
+ <param name="name">Name this registration is under.</param>
393
+ <returns>One or more <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects that should be
394
+ applied to the container registration.</returns>
360
395
  </member>
361
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Match(System.Func{System.Char,System.Boolean})">
396
+ <member name="P:Microsoft.Practices.Unity.Configuration.MethodElement.Name">
362
397
  <summary>
363
- Parse function generator that checks if the current character matches
364
- the predicate supplied.
398
+ Name of the method to call.
365
399
  </summary>
366
- <param name="predicate">Predicate used to determine if the character is in
367
- the given range.</param>
368
- <returns>The generated parsing function.</returns>
369
400
  </member>
370
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.ZeroOrMore(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult})">
401
+ <member name="P:Microsoft.Practices.Unity.Configuration.MethodElement.Parameters">
371
402
  <summary>
372
- The "*" operator - match zero or more of the inner parse expressions.
403
+ Parameters to the method call.
373
404
  </summary>
374
- <param name="inner">Parse method to repeat matching.</param>
375
- <returns>The generated parsing function.</returns>
376
405
  </member>
377
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Sequence(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult}[])">
406
+ <member name="P:Microsoft.Practices.Unity.Configuration.MethodElement.Key">
378
407
  <summary>
379
- Parsing combinator that matches all of the given expressions in
380
- order, or matches none of them.
408
+ Each element must have a unique key, which is generated by the subclasses.
381
409
  </summary>
382
- <param name="expressions">Expressions that form the sequence to match.</param>
383
- <returns>The combined sequence.</returns>
384
410
  </member>
385
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.FirstOf(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult}[])">
411
+ <member name="P:Microsoft.Practices.Unity.Configuration.MethodElement.ElementName">
386
412
  <summary>
387
- Parsing combinator that implements the PEG prioritized choice operator. Basically,
388
- try each of the expressions in order, and match if any of them match, stopping on the
389
- first match.
413
+ Element name to use to serialize this into XML.
390
414
  </summary>
391
- <param name="expressions">Expressions that form the set of alternatives.</param>
392
- <returns>The combined parsing method.</returns>
393
415
  </member>
394
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Not(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult})">
416
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.IValueProvidingElement">
395
417
  <summary>
396
- Parsing combinator implementing the "not" predicate. This wraps
397
- the given <paramref name="expression"/> parsing method with a check
398
- to see if it matched. If it matched, then the Not fails, and vice
399
- versa. The result consumes no input.
418
+ An element that has a child Value property.
400
419
  </summary>
401
- <param name="expression">The parse method to wrap.</param>
402
- <returns>The generated parsing function.</returns>
403
420
  </member>
404
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.EOF(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream)">
421
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.IValueProvidingElement.Value">
405
422
  <summary>
406
- Parsing expression that matches End of input.
423
+ String that will be deserialized to provide the value.
407
424
  </summary>
408
- <param name="input">Parser input.</param>
409
- <returns>Parse result</returns>
410
425
  </member>
411
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.WithAction(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult},System.Action{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult})">
426
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.IValueProvidingElement.DestinationName">
412
427
  <summary>
413
- Combinator that executes an action if the given expression matched.
428
+ A string describing where the value this element contains
429
+ is being used. For example, if setting a property Prop1,
430
+ this should return "property Prop1" (in english).
414
431
  </summary>
415
- <param name="expression">Parsing expression to match.</param>
416
- <param name="onMatched">Action to execute if <paramref name="expression"/>
417
- matched. Input is the matched text from <paramref name="expression"/>.</param>
418
- <returns>The result of <paramref name="expression"/>.</returns>
419
432
  </member>
420
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.WithAction(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult},System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult})">
433
+ <member name="T:Microsoft.Practices.Unity.Configuration.DependencyElement">
421
434
  <summary>
422
- Combinator that executes an action if the given expression matched.
435
+ A <see cref="T:Microsoft.Practices.Unity.Configuration.ParameterValueElement"/> derived class that describes
436
+ a parameter that should be resolved through the container.
423
437
  </summary>
424
- <param name="expression">parsing expression to match.</param>
425
- <param name="onMatched">Method to execute if a match happens. This method returns
426
- the <see cref="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult"/> that will be returned from the combined expression.</param>
427
- <returns>The result of <paramref name="onMatched"/> if expression matched, else
428
- whatever <paramref name="expression"/> returned.</returns>
429
438
  </member>
430
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult">
439
+ <member name="T:Microsoft.Practices.Unity.Configuration.ParameterValueElement">
431
440
  <summary>
432
- Object containing the result of attempting to match a PEG rule.
433
- This object is the return type for all parsing methods.
441
+ Base class for configuration elements that describe a value that will
442
+ be injected.
434
443
  </summary>
435
444
  </member>
436
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult.Matched">
445
+ <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElement.#ctor">
437
446
  <summary>
438
- Did the rule match?
447
+ Initialize a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.ParameterValueElement"/>.
439
448
  </summary>
440
449
  </member>
441
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult.MatchedString">
450
+ <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElement.GetInjectionParameterValue(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
442
451
  <summary>
443
- The characters that were matched (if any)
452
+ Generate an <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object
453
+ that will be used to configure the container for a type registration.
444
454
  </summary>
455
+ <param name="container">Container that is being configured. Supplied in order
456
+ to let custom implementations retrieve services; do not configure the container
457
+ directly in this method.</param>
458
+ <param name="parameterType">Type of the </param>
459
+ <returns></returns>
445
460
  </member>
446
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult.ResultData">
461
+ <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElement.GuardPropertyValueIsPresent(System.Collections.Generic.IDictionary{System.String,System.String},System.String)">
447
462
  <summary>
448
- Any extra information provided by the parsing expression
449
- (only set if the parse matched). The nature
450
- of the data varies depending on the parsing expression.
463
+ Validate that an expected attribute is present in the given
464
+ dictionary and that it has a non-empty value.
451
465
  </summary>
466
+ <param name="propertyValues">Dictionary of name/value pairs to check.</param>
467
+ <param name="requiredProperty">attribute name to check.</param>
452
468
  </member>
453
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult">
469
+ <member name="P:Microsoft.Practices.Unity.Configuration.ParameterValueElement.Key">
454
470
  <summary>
455
- Helper methods to make it easier to pull the data
456
- out of the result of a sequence expression.
471
+ Return a unique string that can be used to identify this object. Used
472
+ by the configuration collection support.
457
473
  </summary>
458
474
  </member>
459
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.System#Collections#IEnumerable#GetEnumerator">
475
+ <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.#ctor">
460
476
  <summary>
461
- Returns an enumerator that iterates through a collection.
477
+ Create a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.DependencyElement"/>.
462
478
  </summary>
463
- <returns>
464
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
465
- </returns>
466
- <filterpriority>2</filterpriority>
467
479
  </member>
468
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.GetEnumerator">
480
+ <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.#ctor(System.Collections.Generic.IDictionary{System.String,System.String})">
469
481
  <summary>
470
- Returns an enumerator that iterates through the collection.
482
+ Create a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.DependencyElement"/> with
483
+ properties initialized from the contents of
484
+ <paramref name="attributeValues"/>.
471
485
  </summary>
472
- <returns>
473
- A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
474
- </returns>
475
- <filterpriority>1</filterpriority>
486
+ <param name="attributeValues">Dictionary of name/value pairs to
487
+ initialize this object with.</param>
476
488
  </member>
477
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Add(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
489
+ <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.Microsoft#Practices#Unity#Configuration#IAttributeOnlyElement#SerializeContent(System.Xml.XmlWriter)">
478
490
  <summary>
479
- Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1"/>.
491
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
480
492
  </summary>
481
- <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1"/>.
482
- </param><exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
483
- </exception>
484
- </member>
485
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Clear">
486
- <summary>
487
- Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1"/>.
493
+ <remarks>The caller of this method has already written the start element tag before
494
+ calling this method, so deriving classes only need to write the element content, not
495
+ the start or end tags.</remarks>
496
+ <param name="writer">Writer to send XML content to.</param>
497
+ </member>
498
+ <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.SerializeContent(System.Xml.XmlWriter)">
499
+ <summary>
500
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>. This
501
+ method always outputs an explicit &lt;dependency&gt; tag, instead of providing
502
+ attributes to the parent method.
488
503
  </summary>
489
- <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
490
- </exception>
504
+ <param name="writer">Writer to send XML content to.</param>
491
505
  </member>
492
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Contains(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
506
+ <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.GetInjectionParameterValue(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
493
507
  <summary>
494
- Determines whether the <see cref="T:System.Collections.Generic.ICollection`1"/> contains a specific value.
508
+ Generate an <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object
509
+ that will be used to configure the container for a type registration.
495
510
  </summary>
496
- <returns>
497
- true if <paramref name="item"/> is found in the <see cref="T:System.Collections.Generic.ICollection`1"/>; otherwise, false.
498
- </returns>
499
- <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.ICollection`1"/>.
500
- </param>
511
+ <param name="container">Container that is being configured. Supplied in order
512
+ to let custom implementations retrieve services; do not configure the container
513
+ directly in this method.</param>
514
+ <param name="parameterType">Type of the </param>
515
+ <returns></returns>
501
516
  </member>
502
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.CopyTo(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult[],System.Int32)">
517
+ <member name="P:Microsoft.Practices.Unity.Configuration.DependencyElement.Name">
503
518
  <summary>
504
- Copies the elements of the sequence to an <see cref="T:System.Array"/>, starting at a particular <see cref="T:System.Array"/> index.
519
+ Name to use to when resolving. If empty, resolves the default.
505
520
  </summary>
506
- <param name="array">The one-dimensional <see cref="T:System.Array"/> that is the destination of the elements copied from this sequence. The <see cref="T:System.Array"/> must have zero-based indexing.
507
- </param><param name="arrayIndex">The zero-based index in <paramref name="array"/> at which copying begins.
508
- </param><exception cref="T:System.ArgumentNullException"><paramref name="array"/> is null.
509
- </exception><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="arrayIndex"/> is less than 0.
510
- </exception><exception cref="T:System.ArgumentException"><paramref name="array"/> is multidimensional.
511
- -or-
512
- <paramref name="arrayIndex"/> is equal to or greater than the length of <paramref name="array"/>.
513
- -or-
514
- The number of elements in the source is greater than the available space from <paramref name="arrayIndex"/> to the end of the destination <paramref name="array"/>.
515
- </exception>
516
521
  </member>
517
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Remove(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
522
+ <member name="P:Microsoft.Practices.Unity.Configuration.DependencyElement.TypeName">
518
523
  <summary>
519
- Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1"/>.
524
+ Name of type this dependency should resolve to. This is optional;
525
+ without it the container will resolve the type of whatever
526
+ property or parameter this element is contained in.
520
527
  </summary>
521
- <returns>
522
- true if <paramref name="item"/> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1"/>; otherwise, false. This method also returns false if <paramref name="item"/> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1"/>.
523
- </returns>
524
- <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1"/>.
525
- </param><exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
526
- </exception>
527
528
  </member>
528
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.IndexOf(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
529
+ <member name="T:Microsoft.Practices.Unity.Configuration.AliasElementCollection">
529
530
  <summary>
530
- Determines the index of a specific item in the <see cref="T:System.Collections.Generic.IList`1"/>.
531
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.AliasElement"/>s.
531
532
  </summary>
532
- <returns>
533
- The index of <paramref name="item"/> if found in the list; otherwise, -1.
534
- </returns>
535
- <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.IList`1"/>.
536
- </param>
537
533
  </member>
538
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Insert(System.Int32,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
534
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollection`1">
539
535
  <summary>
540
- Inserts an item to the <see cref="T:System.Collections.Generic.IList`1"/> at the specified index.
536
+ Specialization of <see cref="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1"/>
537
+ that provides a canned implmentation of <see cref="M:System.Configuration.ConfigurationElementCollection.CreateNewElement"/>.
541
538
  </summary>
542
- <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.
543
- </param><param name="item">The object to insert into the <see cref="T:System.Collections.Generic.IList`1"/>.
544
- </param><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is not a valid index in the <see cref="T:System.Collections.Generic.IList`1"/>.
545
- </exception><exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IList`1"/> is read-only.
546
- </exception>
539
+ <typeparam name="TElement">Type of configuration element in the collection.</typeparam>
547
540
  </member>
548
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.RemoveAt(System.Int32)">
541
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1">
549
542
  <summary>
550
- Removes the <see cref="T:System.Collections.Generic.IList`1"/> item at the specified index.
543
+ A base helper class for implementing configuration collections.
551
544
  </summary>
552
- <param name="index">The zero-based index of the item to remove.
553
- </param><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is not a valid index in the <see cref="T:System.Collections.Generic.IList`1"/>.
554
- </exception><exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IList`1"/> is read-only.
555
- </exception>
545
+ <typeparam name="TElement">Type of configuration element contained in
546
+ the collection.</typeparam>
556
547
  </member>
557
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Count">
548
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.GetElement(System.Int32)">
558
549
  <summary>
559
- Gets the number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1"/>.
550
+ Plug point to get objects out of the collection.
560
551
  </summary>
561
- <returns>
562
- The number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1"/>.
563
- </returns>
552
+ <param name="index">Index in the collection to retrieve the item from.</param>
553
+ <returns>Item at that index or null if not present.</returns>
564
554
  </member>
565
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.IsReadOnly">
555
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.GetElement(System.Object)">
566
556
  <summary>
567
- Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
557
+ Plug point to get objects out of the collection.
568
558
  </summary>
569
- <returns>
570
- true if the <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only; otherwise, false.
571
- </returns>
559
+ <param name="key">Key to look up the object by.</param>
560
+ <returns>Item with that key or null if not present.</returns>
572
561
  </member>
573
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Item(System.Int32)">
562
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.Deserialize(System.Xml.XmlReader)">
574
563
  <summary>
575
- Gets or sets the element at the specified index.
564
+ Load this element from the given <see cref="T:System.Xml.XmlReader"/>.
565
+ </summary>
566
+ <param name="reader">Contains the XML to initialize from.</param>
567
+ </member>
568
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.GetEnumerator">
569
+ <summary>
570
+ Returns an enumerator that iterates through the collection.
576
571
  </summary>
577
572
  <returns>
578
- The element at the specified index.
573
+ A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
579
574
  </returns>
580
- <param name="index">The zero-based index of the element to get or set.
581
- </param><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is not a valid index in the <see cref="T:System.Collections.Generic.IList`1"/>.
582
- </exception><exception cref="T:System.NotSupportedException">The property is set and the <see cref="T:System.Collections.Generic.IList`1"/> is read-only.
583
- </exception>
575
+ <filterpriority>1</filterpriority>
584
576
  </member>
585
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeNameInfo">
577
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.Add(`0)">
586
578
  <summary>
587
- Class containing information about a type name.
579
+ Add a new element to the collection.
588
580
  </summary>
581
+ <param name="element">Element to add.</param>
589
582
  </member>
590
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeNameInfo.Name">
583
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.RemoveAt(System.Int32)">
591
584
  <summary>
592
- The base name of the class
585
+ Remove an element from the collection at the given index.
593
586
  </summary>
587
+ <param name="index">The index of the item to remove.</param>
594
588
  </member>
595
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeNameInfo.Namespace">
589
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.Clear">
596
590
  <summary>
597
- Namespace if any
591
+ Remove all the items in the collection.
598
592
  </summary>
599
593
  </member>
600
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeNameInfo.AssemblyName">
594
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.SerializeElementContents(System.Xml.XmlWriter,System.String)">
601
595
  <summary>
602
- Assembly name, if any
596
+ Write out the contents of this collection to the given
597
+ <paramref name="writer"/> without a containing element
598
+ corresponding directly to this container element. Each
599
+ child element will have a tag name given by
600
+ <paramref name="elementName"/>.
603
601
  </summary>
602
+ <param name="writer"><see cref="T:System.Xml.XmlWriter"/> to output XML to.</param>
603
+ <param name="elementName">Name of tag to generate.</param>
604
604
  </member>
605
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.XmlWriterExtensions">
605
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase`1.Item(System.Int32)">
606
606
  <summary>
607
- Helper methods on <see cref="T:System.Xml.XmlWriter"/>.
607
+ Indexer to retrieve items in the collection by index.
608
608
  </summary>
609
+ <param name="index">Index of the item to get or set.</param>
610
+ <returns>The item at the given index.</returns>
609
611
  </member>
610
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.XmlWriterExtensions.WriteElement(System.Xml.XmlWriter,System.String,System.Action{System.Xml.XmlWriter})">
612
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollection`1.CreateNewElement">
611
613
  <summary>
612
- A helper method to make it more foolproof to write elements. This takes care of writing the
613
- start and end elment tags, and takes a nested closure with the code to write the content of
614
- the tag. That way the caller doesn't need to worry about the details of getting the start
615
- and end tags correct.
614
+ When overridden in a derived class, creates a new <see cref="T:System.Configuration.ConfigurationElement"/>.
616
615
  </summary>
617
- <remarks>
618
- We don't support XML Namespaces here because .NET configuration doesn't use them so
619
- we don't need it for this current implementation.
620
- </remarks>
621
- <param name="writer">XmlWriter to write to.</param>
622
- <param name="elementName">Name of element.</param>
623
- <param name="writeContent">Nested lambda which, when executed, will create the content for the
624
- element.</param>
625
- <returns><paramref name="writer"/> (for method chaining if desired).</returns>
616
+ <returns>
617
+ A new <see cref="T:System.Configuration.ConfigurationElement"/>.
618
+ </returns>
626
619
  </member>
627
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.XmlWriterExtensions.WriteAttributeIfNotEmpty(System.Xml.XmlWriter,System.String,System.String)">
620
+ <member name="M:Microsoft.Practices.Unity.Configuration.AliasElementCollection.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
628
621
  <summary>
629
- A helper method to make it easier to output attributes. If the <paramref name="attributeValue"/> is
630
- null or an empty string, output nothing, else output the given XML attribute.
622
+ Causes the configuration system to throw an exception.
631
623
  </summary>
632
- <param name="writer">Writer to output to.</param>
633
- <param name="attributeName">Attribute name to write.</param>
634
- <param name="attributeValue">Value for the attribute.</param>
635
- <returns><paramref name="writer"/> (for method chaining if desired).</returns>
624
+ <returns>
625
+ true if the unrecognized element was deserialized successfully; otherwise, false. The default is false.
626
+ </returns>
627
+ <param name="elementName">The name of the unrecognized element.
628
+ </param><param name="reader">An input stream that reads XML from the configuration file.
629
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element specified in <paramref name="elementName"/> is the &lt;clear&gt; element.
630
+ </exception><exception cref="T:System.ArgumentException"><paramref name="elementName"/> starts with the reserved prefix "config" or "lock".
631
+ </exception>
636
632
  </member>
637
- <member name="T:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement">
633
+ <member name="M:Microsoft.Practices.Unity.Configuration.AliasElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
638
634
  <summary>
639
- A base class for those elements that can be used
640
- to configure a unity container.
635
+ Gets the element key for a specified configuration element when overridden in a derived class.
641
636
  </summary>
637
+ <returns>
638
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
639
+ </returns>
640
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
641
+ </param>
642
642
  </member>
643
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement.#ctor">
643
+ <member name="P:Microsoft.Practices.Unity.Configuration.AliasElementCollection.Item(System.String)">
644
644
  <summary>
645
- Create a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement"/>.
645
+ Indexer that allows you to get or set an alias by the alias name.
646
646
  </summary>
647
+ <param name="alias">Alias of element to get or set.</param>
648
+ <returns>The type name at that alias.</returns>
647
649
  </member>
648
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
650
+ <member name="T:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection">
649
651
  <summary>
650
- Apply this element's configuration to the given <paramref name="container"/>.
652
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ParameterValueElement"/> objects.
651
653
  </summary>
652
- <param name="container">Container to configure.</param>
653
654
  </member>
654
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement.Key">
655
+ <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
655
656
  <summary>
656
- Return a unique key that can be used to manage this element in a collection.
657
+ Causes the configuration system to throw an exception.
657
658
  </summary>
659
+ <returns>
660
+ true if the unrecognized element was deserialized successfully; otherwise, false. The default is false.
661
+ </returns>
662
+ <param name="elementName">The name of the unrecognized element.
663
+ </param><param name="reader">An input stream that reads XML from the configuration file.
664
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element specified in <paramref name="elementName"/> is the &lt;clear&gt; element.
665
+ </exception><exception cref="T:System.ArgumentException"><paramref name="elementName"/> starts with the reserved prefix "config" or "lock".
666
+ </exception>
658
667
  </member>
659
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DictionaryExtensions">
668
+ <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.CreateNewElement">
660
669
  <summary>
661
- A couple of useful extension methods on IDictionary
670
+ When overridden in a derived class, creates a new <see cref="T:System.Configuration.ConfigurationElement"/>.
662
671
  </summary>
672
+ <returns>
673
+ A new <see cref="T:System.Configuration.ConfigurationElement"/>.
674
+ </returns>
663
675
  </member>
664
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DictionaryExtensions.GetOrNull``2(System.Collections.Generic.IDictionary{``0,``1},``0)">
676
+ <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
665
677
  <summary>
666
- Get the value from a dictionary, or null if there is no value.
678
+ Gets the element key for a specified configuration element when overridden in a derived class.
667
679
  </summary>
668
- <typeparam name="TKey">Key type of dictionary.</typeparam>
669
- <typeparam name="TValue">Value type of dictionary.</typeparam>
670
- <param name="dictionary">Dictionary to search.</param>
671
- <param name="key">Key to look up.</param>
672
- <returns>The value at the key or null if not in the dictionary.</returns>
680
+ <returns>
681
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
682
+ </returns>
683
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
684
+ </param>
673
685
  </member>
674
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1">
686
+ <member name="P:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.DeserializedElementHolder.Value">
675
687
  <summary>
676
- A helper class used to map element tag names to a handler method
677
- used to interpret that element.
688
+ String that will be deserialized to provide the value.
678
689
  </summary>
679
- <typeparam name="TContainingElement"></typeparam>
680
690
  </member>
681
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1.Add(System.String,System.Action{`0,System.Xml.XmlReader})">
691
+ <member name="P:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.DeserializedElementHolder.DestinationName">
682
692
  <summary>
683
- Add method to enable dictionary initializer syntax
693
+ A string describing where the value this element contains
694
+ is being used. For example, if setting a property Prop1,
695
+ this should return "property Prop1" (in english).
684
696
  </summary>
685
- <param name="elementName"></param>
686
- <param name="processingAction"></param>
687
697
  </member>
688
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1.ProcessElement(`0,System.String,System.Xml.XmlReader)">
698
+ <member name="T:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElementCollection">
689
699
  <summary>
690
- Process an unknown element according to the map entries.
700
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement"/>s.
691
701
  </summary>
692
- <param name="parentElement">Parent element that hit this unknown element.</param>
693
- <param name="elementName">Name of the unknown element.</param>
694
- <param name="reader">XmlReader positioned at start of element.</param>
695
- <returns>true if processed, false if not.</returns>
696
702
  </member>
697
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1.System#Collections#IEnumerable#GetEnumerator">
703
+ <member name="M:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElementCollection.CreateNewElement">
698
704
  <summary>
699
- Returns an enumerator that iterates through a collection.
705
+ When overridden in a derived class, creates a new <see cref="T:System.Configuration.ConfigurationElement"/>.
700
706
  </summary>
701
707
  <returns>
702
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
708
+ A new <see cref="T:System.Configuration.ConfigurationElement"/>.
703
709
  </returns>
704
- <filterpriority>2</filterpriority>
705
710
  </member>
706
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1.GetEnumerator">
711
+ <member name="M:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
707
712
  <summary>
708
- Returns an enumerator that iterates through the collection.
713
+ Gets the element key for a specified configuration element when overridden in a derived class.
709
714
  </summary>
710
715
  <returns>
711
- A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
716
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
712
717
  </returns>
713
- <filterpriority>1</filterpriority>
718
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
719
+ </param>
714
720
  </member>
715
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap">
721
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult">
716
722
  <summary>
717
- A helper class used to map element tag names to a handler method
718
- used to interpret that element.
723
+ Object containing the result of attempting to match a PEG rule.
724
+ This object is the return type for all parsing methods.
719
725
  </summary>
720
726
  </member>
721
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap.System#Collections#IEnumerable#GetEnumerator">
727
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult.Matched">
722
728
  <summary>
723
- Returns an enumerator that iterates through a collection.
729
+ Did the rule match?
730
+ </summary>
731
+ </member>
732
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult.MatchedString">
733
+ <summary>
734
+ The characters that were matched (if any)
735
+ </summary>
736
+ </member>
737
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult.ResultData">
738
+ <summary>
739
+ Any extra information provided by the parsing expression
740
+ (only set if the parse matched). The nature
741
+ of the data varies depending on the parsing expression.
742
+ </summary>
743
+ </member>
744
+ <member name="T:Microsoft.Practices.Unity.Configuration.ArrayElement">
745
+ <summary>
746
+ A configuration element used to configure injection of
747
+ a specific set of values into an array.
748
+ </summary>
749
+ </member>
750
+ <member name="M:Microsoft.Practices.Unity.Configuration.ArrayElement.SerializeContent(System.Xml.XmlWriter)">
751
+ <summary>
752
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
753
+ </summary>
754
+ <remarks>The caller of this method has already written the start element tag before
755
+ calling this method, so deriving classes only need to write the element content, not
756
+ the start or end tags.</remarks>
757
+ <param name="writer">Writer to send XML content to.</param>
758
+ </member>
759
+ <member name="M:Microsoft.Practices.Unity.Configuration.ArrayElement.GetInjectionParameterValue(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
760
+ <summary>
761
+ Generate an <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object
762
+ that will be used to configure the container for a type registration.
763
+ </summary>
764
+ <param name="container">Container that is being configured. Supplied in order
765
+ to let custom implementations retrieve services; do not configure the container
766
+ directly in this method.</param>
767
+ <param name="parameterType">Type of the </param>
768
+ <returns></returns>
769
+ </member>
770
+ <member name="P:Microsoft.Practices.Unity.Configuration.ArrayElement.TypeName">
771
+ <summary>
772
+ Type of array to inject. This is actually the type of the array elements,
773
+ not the array type. Optional, if not specified we take the type from
774
+ our containing element.
775
+ </summary>
776
+ </member>
777
+ <member name="P:Microsoft.Practices.Unity.Configuration.ArrayElement.Values">
778
+ <summary>
779
+ Values used to calculate the contents of the array.
780
+ </summary>
781
+ </member>
782
+ <member name="T:Microsoft.Practices.Unity.Configuration.ParameterElementCollection">
783
+ <summary>
784
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ParameterElement"/> objects.
785
+ </summary>
786
+ </member>
787
+ <member name="M:Microsoft.Practices.Unity.Configuration.ParameterElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
788
+ <summary>
789
+ Gets the element key for a specified configuration element when overridden in a derived class.
724
790
  </summary>
725
791
  <returns>
726
- An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
792
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
727
793
  </returns>
728
- <filterpriority>2</filterpriority>
794
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
795
+ </param>
729
796
  </member>
730
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap.GetEnumerator">
797
+ <member name="T:Microsoft.Practices.Unity.Configuration.LifetimeElement">
731
798
  <summary>
732
- Returns an enumerator that iterates through the collection.
799
+ A configuration element that represents lifetime managers.
800
+ </summary>
801
+ </member>
802
+ <member name="M:Microsoft.Practices.Unity.Configuration.LifetimeElement.CreateLifetimeManager">
803
+ <summary>
804
+ Create the <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> described by
805
+ this element.
806
+ </summary>
807
+ <returns>A <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> instance.</returns>
808
+ </member>
809
+ <member name="M:Microsoft.Practices.Unity.Configuration.LifetimeElement.SerializeContent(System.Xml.XmlWriter)">
810
+ <summary>
811
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
812
+ </summary>
813
+ <remarks>The caller of this method has already written the start element tag before
814
+ calling this method, so deriving classes only need to write the element content, not
815
+ the start or end tags.</remarks>
816
+ <param name="writer">Writer to send XML content to.</param>
817
+ </member>
818
+ <member name="P:Microsoft.Practices.Unity.Configuration.LifetimeElement.TypeName">
819
+ <summary>
820
+ Type of the lifetime manager.
821
+ </summary>
822
+ </member>
823
+ <member name="P:Microsoft.Practices.Unity.Configuration.LifetimeElement.Value">
824
+ <summary>
825
+ Extra initialization information used by the type converter for this lifetime manager.
826
+ </summary>
827
+ </member>
828
+ <member name="P:Microsoft.Practices.Unity.Configuration.LifetimeElement.TypeConverterTypeName">
829
+ <summary>
830
+ Type of <see cref="T:System.ComponentModel.TypeConverter"/> to use to create the
831
+ lifetime manager.
832
+ </summary>
833
+ </member>
834
+ <member name="T:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElementCollection">
835
+ <summary>
836
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement"/>s as
837
+ loaded from configuration.
838
+ </summary>
839
+ </member>
840
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElementCollection.CreateNewElement">
841
+ <summary>
842
+ When overridden in a derived class, creates a new <see cref="T:System.Configuration.ConfigurationElement"/>.
733
843
  </summary>
734
844
  <returns>
735
- A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
845
+ A new <see cref="T:System.Configuration.ConfigurationElement"/>.
736
846
  </returns>
737
- <filterpriority>1</filterpriority>
847
+ </member>
848
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
849
+ <summary>
850
+ Gets the element key for a specified configuration element when overridden in a derived class.
851
+ </summary>
852
+ <returns>
853
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
854
+ </returns>
855
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
856
+ </param>
738
857
  </member>
739
858
  <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ValueElementHelper">
740
859
  <summary>
@@ -795,335 +914,306 @@
795
914
  <param name="elementsOnly">If true, always output an element. If false, then
796
915
  dependency and value elements will be serialized as attributes in the parent tag.</param>
797
916
  </member>
798
- <member name="T:Microsoft.Practices.Unity.Configuration.ConstructorElement">
917
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream">
799
918
  <summary>
800
- Configuration element representing a constructor configuration.
919
+ Class that tracks the current input state of the parser.
801
920
  </summary>
802
921
  </member>
803
- <member name="T:Microsoft.Practices.Unity.Configuration.InjectionMemberElement">
922
+ <member name="T:Microsoft.Practices.Unity.Configuration.Properties.Resources">
804
923
  <summary>
805
- Base class for configuration elements that generate <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>
806
- object to configure a container.
924
+ A strongly-typed resource class, for looking up localized strings, etc.
807
925
  </summary>
808
926
  </member>
809
- <member name="M:Microsoft.Practices.Unity.Configuration.InjectionMemberElement.GetInjectionMembers(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String)">
927
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ResourceManager">
810
928
  <summary>
811
- Return the set of <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>s that are needed
812
- to configure the container according to this configuration element.
929
+ Returns the cached ResourceManager instance used by this class.
813
930
  </summary>
814
- <param name="container">Container that is being configured.</param>
815
- <param name="fromType">Type that is being registered.</param>
816
- <param name="toType">Type that <paramref name="fromType"/> is being mapped to.</param>
817
- <param name="name">Name this registration is under.</param>
818
- <returns>One or more <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects that should be
819
- applied to the container registration.</returns>
820
931
  </member>
821
- <member name="M:Microsoft.Practices.Unity.Configuration.InjectionMemberElement.GetMemberElementName(Microsoft.Practices.Unity.Configuration.InjectionMemberElement)">
932
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.Culture">
822
933
  <summary>
823
- Get the standard tag name for an <see cref="T:Microsoft.Practices.Unity.Configuration.InjectionMemberElement"/>
824
- taking into account currently loaded section extensions.
934
+ Overrides the current thread's CurrentUICulture property for all
935
+ resource lookups using this strongly typed resource class.
825
936
  </summary>
826
- <param name="memberElement">Element to get the name for.</param>
827
- <returns>The element name.</returns>
828
- <exception cref="T:System.ArgumentException">If the member element is not currently registered
829
- with the section.</exception>
830
937
  </member>
831
- <member name="P:Microsoft.Practices.Unity.Configuration.InjectionMemberElement.Key">
938
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CannotCreateContainerConfiguringElement">
832
939
  <summary>
833
- Each element must have a unique key, which is generated by the subclasses.
940
+ Looks up a localized string similar to An abstract ContainerConfiguringElement cannot be created. Please specify a concrete type..
834
941
  </summary>
835
942
  </member>
836
- <member name="P:Microsoft.Practices.Unity.Configuration.InjectionMemberElement.ElementName">
943
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CannotCreateExtensionConfigurationElement">
837
944
  <summary>
838
- Element name to use to serialize this into XML.
945
+ Looks up a localized string similar to An abstract ExtensionConfigurationElement object cannot be created. Please specify a concrete type..
839
946
  </summary>
840
947
  </member>
841
- <member name="M:Microsoft.Practices.Unity.Configuration.ConstructorElement.SerializeContent(System.Xml.XmlWriter)">
948
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CannotCreateInjectionMemberElement">
842
949
  <summary>
843
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
950
+ Looks up a localized string similar to An abstract InjectionMemberElement object cannot be created. Please specify a concrete type..
844
951
  </summary>
845
- <remarks>The caller of this method has already written the start element tag before
846
- calling this method, so deriving classes only need to write the element content, not
847
- the start or end tags.</remarks>
848
- <param name="writer">Writer to send XML content to.</param>
849
952
  </member>
850
- <member name="M:Microsoft.Practices.Unity.Configuration.ConstructorElement.GetInjectionMembers(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String)">
953
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CannotCreateParameterValueElement">
851
954
  <summary>
852
- Return the set of <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>s that are needed
853
- to configure the container according to this configuration element.
955
+ Looks up a localized string similar to An abstract ParameterValueElement object cannot be created. Please specify a concrete type..
854
956
  </summary>
855
- <param name="container">Container that is being configured.</param>
856
- <param name="fromType">Type that is being registered.</param>
857
- <param name="toType">Type that <paramref name="fromType"/> is being mapped to.</param>
858
- <param name="name">Name this registration is under.</param>
859
- <returns>One or more <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects that should be
860
- applied to the container registration.</returns>
861
957
  </member>
862
- <member name="P:Microsoft.Practices.Unity.Configuration.ConstructorElement.Parameters">
958
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CouldNotResolveType">
863
959
  <summary>
864
- The parameters of the constructor to call.
960
+ Looks up a localized string similar to The type name or alias {0} could not be resolved. Please check your configuration file and verify this type name..
865
961
  </summary>
866
962
  </member>
867
- <member name="P:Microsoft.Practices.Unity.Configuration.ConstructorElement.Key">
963
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.DependencyForGenericParameterWithTypeSet">
868
964
  <summary>
869
- Each element must have a unique key, which is generated by the subclasses.
965
+ Looks up a localized string similar to The dependency element for generic parameter {0} must not have an explicit type name but has &apos;{1}&apos;..
870
966
  </summary>
871
967
  </member>
872
- <member name="P:Microsoft.Practices.Unity.Configuration.ConstructorElement.ElementName">
968
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.DependencyForOptionalGenericParameterWithTypeSet">
873
969
  <summary>
874
- Element name to use to serialize this into XML.
970
+ Looks up a localized string similar to The optional dependency element for generic parameter {0} must not have an explicit type name but has &apos;{1}&apos;..
875
971
  </summary>
876
972
  </member>
877
- <member name="T:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElementCollection">
973
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.DestinationNameFormat">
878
974
  <summary>
879
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElement"/>s as
880
- loaded from configuration.
975
+ Looks up a localized string similar to {0} {1}.
881
976
  </summary>
882
977
  </member>
883
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElementCollection.CreateNewElement">
978
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.DuplicateParameterValueElement">
884
979
  <summary>
885
- When overridden in a derived class, creates a new <see cref="T:System.Configuration.ConfigurationElement"/>.
980
+ Looks up a localized string similar to The injection configuration for {0} has multiple values..
886
981
  </summary>
887
- <returns>
888
- A new <see cref="T:System.Configuration.ConfigurationElement"/>.
889
- </returns>
890
982
  </member>
891
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerConfiguringElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
983
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ElementTypeNotRegistered">
892
984
  <summary>
893
- Gets the element key for a specified configuration element when overridden in a derived class.
985
+ Looks up a localized string similar to The configuration element type {0} has not been registered with the section..
894
986
  </summary>
895
- <returns>
896
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
897
- </returns>
898
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
899
- </param>
900
987
  </member>
901
- <member name="T:Microsoft.Practices.Unity.Configuration.ContainerElement">
988
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ElementWithAttributesAndParameterValueElements">
902
989
  <summary>
903
- A configuration element class defining the set of registrations to be
904
- put into a container.
990
+ Looks up a localized string similar to The injection configuration for {0} is specified through both attributes and child value elements..
905
991
  </summary>
906
992
  </member>
907
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElement.Configure(Microsoft.Practices.Unity.IUnityContainer)">
993
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ExtensionTypeNotFound">
908
994
  <summary>
909
- Original configuration API kept for backwards compatibility.
995
+ Looks up a localized string similar to Could not load section extension type {0}..
910
996
  </summary>
911
- <param name="container">Container to configure</param>
912
997
  </member>
913
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
998
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ExtensionTypeNotValid">
914
999
  <summary>
915
- Apply the configuration information in this element to the
916
- given <paramref name="container"/>.
1000
+ Looks up a localized string similar to The extension type {0} does not derive from SectionExtension..
917
1001
  </summary>
918
- <param name="container">Container to configure.</param>
919
1002
  </member>
920
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElement.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
1003
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.InvalidExtensionElementType">
921
1004
  <summary>
922
- Gets a value indicating whether an unknown element is encountered during deserialization.
1005
+ Looks up a localized string similar to The extension element type {0} that is being added does not derive from ContainerConfiguringElement, InjectionMemberElement, or ParameterValueElement. An extension element must derive from one of these types..
923
1006
  </summary>
924
- <returns>
925
- true when an unknown element is encountered while deserializing; otherwise, false.
926
- </returns>
927
- <param name="elementName">The name of the unknown subelement.
928
- </param><param name="reader">The <see cref="T:System.Xml.XmlReader"/> being used for deserialization.
929
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element identified by <paramref name="elementName"/> is locked.
930
- - or -
931
- One or more of the element's attributes is locked.
932
- - or -
933
- <paramref name="elementName"/> is unrecognized, or the element has an unrecognized attribute.
934
- - or -
935
- The element has a Boolean attribute with an invalid value.
936
- - or -
937
- An attempt was made to deserialize a property more than once.
938
- - or -
939
- An attempt was made to deserialize a property that is not a valid member of the element.
940
- - or -
941
- The element cannot contain a CDATA or text element.
942
- </exception>
943
1007
  </member>
944
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElement.SerializeContent(System.Xml.XmlWriter)">
1008
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.InvalidValueAttributes">
945
1009
  <summary>
946
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1010
+ Looks up a localized string similar to No valid attributes were found to construct the value for the {0}. Please check the configuration file..
947
1011
  </summary>
948
- <remarks>The caller of this method has already written the start element tag before
949
- calling this method, so deriving classes only need to write the element content, not
950
- the start or end tags.</remarks>
951
- <param name="writer">Writer to send XML content to.</param>
952
1012
  </member>
953
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.Name">
1013
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NoMatchingConstructor">
954
1014
  <summary>
955
- Name for this container configuration as given in the config file.
1015
+ Looks up a localized string similar to Configuration is incorrect, the type {0} does not have a constructor that takes parameters named {1}..
956
1016
  </summary>
957
1017
  </member>
958
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.Registrations">
1018
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NoMatchingMethod">
959
1019
  <summary>
960
- The type registrations in this container.
1020
+ Looks up a localized string similar to Configuration is incorrect, the type {0} does not have a method named {1} that takes parameters named {2}..
961
1021
  </summary>
962
1022
  </member>
963
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.Instances">
1023
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NoSuchContainer">
964
1024
  <summary>
965
- Any instances to register in the container.
1025
+ Looks up a localized string similar to The container named &quot;{0}&quot; is not defined in this configuration section..
966
1026
  </summary>
967
1027
  </member>
968
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.Extensions">
1028
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NoSuchProperty">
969
1029
  <summary>
970
- Any extensions to add to the container.
1030
+ Looks up a localized string similar to The type {0} does not have a property named {1}..
971
1031
  </summary>
972
1032
  </member>
973
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.ConfiguringElements">
1033
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NotAnArray">
974
1034
  <summary>
975
- Set of any extra configuration elements that were added by a
976
- section extension.
1035
+ Looks up a localized string similar to The configuration is set to inject an array, but the type {0} is not an array type..
977
1036
  </summary>
978
- <remarks>
979
- This is not marked as a configuration property because we don't want
980
- the actual property to show up as a nested element in the configuration.</remarks>
981
1037
  </member>
982
- <member name="T:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement">
1038
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.Parameter">
983
1039
  <summary>
984
- Configuration element representing an extension to add to a container.
1040
+ Looks up a localized string similar to parameter.
985
1041
  </summary>
986
1042
  </member>
987
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
1043
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.Property">
988
1044
  <summary>
989
- Add the extension specified in this element to the container.
1045
+ Looks up a localized string similar to property.
990
1046
  </summary>
991
- <param name="container">Container to configure.</param>
992
1047
  </member>
993
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement.SerializeContent(System.Xml.XmlWriter)">
1048
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.RequiredPropertyMissing">
994
1049
  <summary>
995
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1050
+ Looks up a localized string similar to The attribute {0} must be present and non-empty..
996
1051
  </summary>
997
- <remarks>The caller of this method has already written the start element tag before
998
- calling this method, so deriving classes only need to write the element content, not
999
- the start or end tags.</remarks>
1000
- <param name="writer">Writer to send XML content to.</param>
1001
1052
  </member>
1002
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement.TypeName">
1053
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ValueNotAllowedForGenericArrayType">
1003
1054
  <summary>
1004
- Type of the extension to add.
1055
+ Looks up a localized string similar to The value element for {1} was specified for the generic array type {0}. Value elements are not allowed for generic array types..
1005
1056
  </summary>
1006
1057
  </member>
1007
- <member name="T:Microsoft.Practices.Unity.Configuration.ContainerExtensionElementCollection">
1058
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ValueNotAllowedForGenericParameterType">
1008
1059
  <summary>
1009
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement"/>s.
1060
+ Looks up a localized string similar to The value element for {1} was specified for the generic parameter type {0}. Value elements are not allowed for generic parameter types..
1010
1061
  </summary>
1011
1062
  </member>
1012
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerExtensionElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1063
+ <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ValueNotAllowedForOpenGenericType">
1013
1064
  <summary>
1014
- Gets the element key for a specified configuration element when overridden in a derived class.
1065
+ Looks up a localized string similar to The value element for {1} was specified for the generic type {0}. Value elements are not allowed for generic types..
1015
1066
  </summary>
1016
- <returns>
1017
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
1018
- </returns>
1019
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1020
- </param>
1021
1067
  </member>
1022
- <member name="T:Microsoft.Practices.Unity.Configuration.DependencyElement">
1068
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl">
1023
1069
  <summary>
1024
- A <see cref="T:Microsoft.Practices.Unity.Configuration.ParameterValueElement"/> derived class that describes
1025
- a parameter that should be resolved through the container.
1070
+ A helper class that implements the actual logic for resolving a shorthand
1071
+ type name (alias or raw type name) into an actual type object.
1026
1072
  </summary>
1027
1073
  </member>
1028
- <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.#ctor">
1074
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})">
1029
1075
  <summary>
1030
- Create a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.DependencyElement"/>.
1076
+ Construct a new <see cref="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl"/> that uses the given
1077
+ sequence of alias, typename pairs to resolve types.
1031
1078
  </summary>
1079
+ <param name="aliasesSequence">Type aliases from the configuration file.</param>
1080
+ <param name="assemblies">Assembly names to search.</param>
1081
+ <param name="namespaces">Namespaces to search.</param>
1032
1082
  </member>
1033
- <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.#ctor(System.Collections.Generic.IDictionary{System.String,System.String})">
1083
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl.ResolveType(System.String,System.Boolean)">
1034
1084
  <summary>
1035
- Create a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.DependencyElement"/> with
1036
- properties initialized from the contents of
1037
- <paramref name="attributeValues"/>.
1085
+ Resolves a type alias or type fullname to a concrete type.
1038
1086
  </summary>
1039
- <param name="attributeValues">Dictionary of name/value pairs to
1040
- initialize this object with.</param>
1087
+ <param name="typeNameOrAlias">Alias or name to resolve.</param>
1088
+ <param name="throwIfResolveFails">if true and the alias does not
1089
+ resolve, throw an <see cref="T:System.InvalidOperationException"/>, otherwise
1090
+ return null on failure.</param>
1091
+ <returns>The type object or null if resolve fails and
1092
+ <paramref name="throwIfResolveFails"/> is false.</returns>
1041
1093
  </member>
1042
- <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.Microsoft#Practices#Unity#Configuration#IAttributeOnlyElement#SerializeContent(System.Xml.XmlWriter)">
1094
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl.ResolveTypeWithDefault(System.String,System.Type,System.Boolean)">
1043
1095
  <summary>
1044
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1096
+ Resolve a type alias or type full name to a concrete type.
1097
+ If <paramref name="typeNameOrAlias"/> is null or empty, return the
1098
+ given <paramref name="defaultValue"/> instead.
1045
1099
  </summary>
1046
- <remarks>The caller of this method has already written the start element tag before
1047
- calling this method, so deriving classes only need to write the element content, not
1048
- the start or end tags.</remarks>
1049
- <param name="writer">Writer to send XML content to.</param>
1100
+ <param name="typeNameOrAlias">Type alias or full name to resolve.</param>
1101
+ <param name="defaultValue">Value to return if typeName is null or empty.</param>
1102
+ <param name="throwIfResolveFails">if true and the alias does not
1103
+ resolve, throw an <see cref="T:System.InvalidOperationException"/>, otherwise
1104
+ return null on failure.</param>
1105
+ <returns>
1106
+ <para>If <paramref name="typeNameOrAlias"/> is null or an empty string,
1107
+ then return <paramref name="defaultValue"/>.</para>
1108
+ <para>Otherwise, return the resolved type object. If the resolution fails
1109
+ and <paramref name="throwIfResolveFails"/> is false, then return null.</para>
1110
+ </returns>
1050
1111
  </member>
1051
- <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.SerializeContent(System.Xml.XmlWriter)">
1112
+ <member name="T:Microsoft.Practices.Unity.Configuration.PropertyElement">
1052
1113
  <summary>
1053
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>. This
1054
- method always outputs an explicit &lt;dependency&gt; tag, instead of providing
1055
- attributes to the parent method.
1114
+ A class representing a property configuration element.
1056
1115
  </summary>
1057
- <param name="writer">Writer to send XML content to.</param>
1058
1116
  </member>
1059
- <member name="M:Microsoft.Practices.Unity.Configuration.DependencyElement.GetInjectionParameterValue(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
1117
+ <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.#ctor">
1060
1118
  <summary>
1061
- Generate an <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object
1062
- that will be used to configure the container for a type registration.
1119
+ Construct a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.PropertyElement"/>
1063
1120
  </summary>
1064
- <param name="container">Container that is being configured. Supplied in order
1065
- to let custom implementations retrieve services; do not configure the container
1066
- directly in this method.</param>
1067
- <param name="parameterType">Type of the </param>
1068
- <returns></returns>
1069
1121
  </member>
1070
- <member name="P:Microsoft.Practices.Unity.Configuration.DependencyElement.Name">
1122
+ <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.DeserializeElement(System.Xml.XmlReader,System.Boolean)">
1071
1123
  <summary>
1072
- Name to use to when resolving. If empty, resolves the default.
1124
+ Reads XML from the configuration file.
1073
1125
  </summary>
1126
+ <param name="reader">The <see cref="T:System.Xml.XmlReader"/> that reads from the configuration file.
1127
+ </param><param name="serializeCollectionKey">true to serialize only the collection key properties; otherwise, false.
1128
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element to read is locked.
1129
+ - or -
1130
+ An attribute of the current node is not recognized.
1131
+ - or -
1132
+ The lock status of the current node cannot be determined.
1133
+ </exception>
1074
1134
  </member>
1075
- <member name="P:Microsoft.Practices.Unity.Configuration.DependencyElement.TypeName">
1135
+ <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.OnDeserializeUnrecognizedAttribute(System.String,System.String)">
1076
1136
  <summary>
1077
- Name of type this dependency should resolve to. This is optional;
1078
- without it the container will resolve the type of whatever
1079
- property or parameter this element is contained in.
1137
+ Gets a value indicating whether an unknown attribute is encountered during deserialization.
1080
1138
  </summary>
1139
+ <returns>
1140
+ true when an unknown attribute is encountered while deserializing; otherwise, false.
1141
+ </returns>
1142
+ <param name="name">The name of the unrecognized attribute.
1143
+ </param><param name="value">The value of the unrecognized attribute.
1144
+ </param>
1081
1145
  </member>
1082
- <member name="T:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement">
1146
+ <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
1083
1147
  <summary>
1084
- Base class used to derive new elements that can occur
1085
- directly within a container element.
1148
+ Gets a value indicating whether an unknown element is encountered during deserialization.
1086
1149
  </summary>
1150
+ <returns>
1151
+ true when an unknown element is encountered while deserializing; otherwise, false.
1152
+ </returns>
1153
+ <param name="elementName">The name of the unknown subelement.
1154
+ </param><param name="reader">The <see cref="T:System.Xml.XmlReader"/> being used for deserialization.
1155
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element identified by <paramref name="elementName"/> is locked.
1156
+ - or -
1157
+ One or more of the element's attributes is locked.
1158
+ - or -
1159
+ <paramref name="elementName"/> is unrecognized, or the element has an unrecognized attribute.
1160
+ - or -
1161
+ The element has a Boolean attribute with an invalid value.
1162
+ - or -
1163
+ An attempt was made to deserialize a property more than once.
1164
+ - or -
1165
+ An attempt was made to deserialize a property that is not a valid member of the element.
1166
+ - or -
1167
+ The element cannot contain a CDATA or text element.
1168
+ </exception>
1087
1169
  </member>
1088
- <member name="M:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement.#ctor">
1170
+ <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.SerializeContent(System.Xml.XmlWriter)">
1089
1171
  <summary>
1090
- Initialize a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement"/>.
1172
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1091
1173
  </summary>
1174
+ <remarks>The caller of this method has already written the start element tag before
1175
+ calling this method, so deriving classes only need to write the element content, not
1176
+ the start or end tags.</remarks>
1177
+ <param name="writer">Writer to send XML content to.</param>
1092
1178
  </member>
1093
- <member name="M:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
1179
+ <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.GetInjectionMembers(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String)">
1094
1180
  <summary>
1095
- When overridden in a derived class, this method will make configuration
1096
- calls into the given <paramref name="container"/> according to its contents.
1181
+ Return the set of <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>s that are needed
1182
+ to configure the container according to this configuration element.
1097
1183
  </summary>
1098
- <param name="container">The container to configure.</param>
1184
+ <param name="container">Container that is being configured.</param>
1185
+ <param name="fromType">Type that is being registered.</param>
1186
+ <param name="toType">Type that <paramref name="fromType"/> is being mapped to.</param>
1187
+ <param name="name">Name this registration is under.</param>
1188
+ <returns>One or more <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects that should be
1189
+ applied to the container registration.</returns>
1099
1190
  </member>
1100
- <member name="P:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement.Key">
1191
+ <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.Name">
1101
1192
  <summary>
1102
- Unique key generated for use in the collection class.
1193
+ Name of the property that will be set.
1103
1194
  </summary>
1104
1195
  </member>
1105
- <member name="T:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElementCollection">
1196
+ <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.Key">
1106
1197
  <summary>
1107
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement"/>s.
1198
+ Each element must have a unique key, which is generated by the subclasses.
1108
1199
  </summary>
1109
1200
  </member>
1110
- <member name="M:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElementCollection.CreateNewElement">
1201
+ <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.Value">
1111
1202
  <summary>
1112
- When overridden in a derived class, creates a new <see cref="T:System.Configuration.ConfigurationElement"/>.
1203
+ String that will be deserialized to provide the value.
1113
1204
  </summary>
1114
- <returns>
1115
- A new <see cref="T:System.Configuration.ConfigurationElement"/>.
1116
- </returns>
1117
1205
  </member>
1118
- <member name="M:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1206
+ <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.DestinationName">
1119
1207
  <summary>
1120
- Gets the element key for a specified configuration element when overridden in a derived class.
1208
+ A string describing where the value this element contains
1209
+ is being used. For example, if setting a property Prop1,
1210
+ this should return "property Prop1" (in english).
1211
+ </summary>
1212
+ </member>
1213
+ <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.ElementName">
1214
+ <summary>
1215
+ Element name to use to serialize this into XML.
1121
1216
  </summary>
1122
- <returns>
1123
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
1124
- </returns>
1125
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1126
- </param>
1127
1217
  </member>
1128
1218
  <member name="T:Microsoft.Practices.Unity.Configuration.ExtensionElementMap">
1129
1219
  <summary>
@@ -1240,6 +1330,43 @@
1240
1330
  <param name="key">Key to retrieve element with.</param>
1241
1331
  <returns>The element.</returns>
1242
1332
  </member>
1333
+ <member name="T:Microsoft.Practices.Unity.Configuration.OptionalElement">
1334
+ <summary>
1335
+ A configuration element that specifies that a value
1336
+ is optional.
1337
+ </summary>
1338
+ </member>
1339
+ <member name="M:Microsoft.Practices.Unity.Configuration.OptionalElement.SerializeContent(System.Xml.XmlWriter)">
1340
+ <summary>
1341
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1342
+ </summary>
1343
+ <remarks>The caller of this method has already written the start element tag before
1344
+ calling this method, so deriving classes only need to write the element content, not
1345
+ the start or end tags.</remarks>
1346
+ <param name="writer">Writer to send XML content to.</param>
1347
+ </member>
1348
+ <member name="M:Microsoft.Practices.Unity.Configuration.OptionalElement.GetInjectionParameterValue(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
1349
+ <summary>
1350
+ Generate an <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object
1351
+ that will be used to configure the container for a type registration.
1352
+ </summary>
1353
+ <param name="container">Container that is being configured. Supplied in order
1354
+ to let custom implementations retrieve services; do not configure the container
1355
+ directly in this method.</param>
1356
+ <param name="parameterType">Type of the </param>
1357
+ <returns></returns>
1358
+ </member>
1359
+ <member name="P:Microsoft.Practices.Unity.Configuration.OptionalElement.Name">
1360
+ <summary>
1361
+ Name used to resolve the dependency, leave out or blank to resolve default.
1362
+ </summary>
1363
+ </member>
1364
+ <member name="P:Microsoft.Practices.Unity.Configuration.OptionalElement.TypeName">
1365
+ <summary>
1366
+ Type of dependency to resolve. If left out, resolved the type of
1367
+ the containing parameter or property.
1368
+ </summary>
1369
+ </member>
1243
1370
  <member name="T:Microsoft.Practices.Unity.Configuration.InstanceElement">
1244
1371
  <summary>
1245
1372
  A configuration element that describes an instance to add to the container.
@@ -1286,138 +1413,202 @@
1286
1413
  Key used to keep these instances unique in the config collection.
1287
1414
  </summary>
1288
1415
  </member>
1289
- <member name="T:Microsoft.Practices.Unity.Configuration.InstanceElementCollection">
1416
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver">
1290
1417
  <summary>
1291
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.InstanceElement"/>s.
1418
+ Type that manage access to a set of type aliases and implements
1419
+ the logic for converting aliases to their actual types.
1292
1420
  </summary>
1293
1421
  </member>
1294
- <member name="M:Microsoft.Practices.Unity.Configuration.InstanceElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1422
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.SetAliases(Microsoft.Practices.Unity.Configuration.UnityConfigurationSection)">
1295
1423
  <summary>
1296
- Gets the element key for a specified configuration element when overridden in a derived class.
1424
+ Set the set of aliases to use for resolution.
1297
1425
  </summary>
1298
- <returns>
1299
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
1300
- </returns>
1301
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1302
- </param>
1426
+ <param name="section">Configuration section containing the various
1427
+ type aliases, namespaces and assemblies.</param>
1303
1428
  </member>
1304
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.IValueProvidingElement">
1429
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.ResolveType(System.String)">
1305
1430
  <summary>
1306
- An element that has a child Value property.
1431
+ Resolves a type alias or type fullname to a concrete type.
1307
1432
  </summary>
1433
+ <param name="typeNameOrAlias">Type alias or type fullname</param>
1434
+ <returns>Type object or null if resolve fails.</returns>
1435
+ <exception cref="T:System.InvalidOperationException">Thrown if alias lookup fails.</exception>
1308
1436
  </member>
1309
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.IValueProvidingElement.Value">
1437
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.ResolveType(System.String,System.Boolean)">
1310
1438
  <summary>
1311
- String that will be deserialized to provide the value.
1439
+ Resolves a type alias or type fullname to a concrete type.
1312
1440
  </summary>
1441
+ <param name="typeNameOrAlias">Alias or name to resolve.</param>
1442
+ <param name="throwIfResolveFails">if true and the alias does not
1443
+ resolve, throw an <see cref="T:System.InvalidOperationException"/>, otherwise
1444
+ return null on failure.</param>
1445
+ <returns>The type object or null if resolve fails and
1446
+ <paramref name="throwIfResolveFails"/> is false.</returns>
1313
1447
  </member>
1314
- <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.IValueProvidingElement.DestinationName">
1448
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.ResolveTypeWithDefault(System.String,System.Type)">
1315
1449
  <summary>
1316
- A string describing where the value this element contains
1317
- is being used. For example, if setting a property Prop1,
1318
- this should return "property Prop1" (in english).
1450
+ Resolve a type alias or type full name to a concrete type.
1451
+ If <paramref name="typeNameOrAlias"/> is null or empty, return the
1452
+ given <paramref name="defaultValue"/> instead.
1319
1453
  </summary>
1454
+ <param name="typeNameOrAlias">Type alias or full name to resolve.</param>
1455
+ <param name="defaultValue">Value to return if typeName is null or empty.</param>
1456
+ <returns>The concrete <see cref="T:System.Type"/>.</returns>
1457
+ <exception cref="T:System.InvalidOperationException">Thrown if alias lookup fails.</exception>
1320
1458
  </member>
1321
- <member name="T:Microsoft.Practices.Unity.Configuration.LifetimeElement">
1459
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.ResolveTypeWithDefault(System.String,System.Type,System.Boolean)">
1322
1460
  <summary>
1323
- A configuration element that represents lifetime managers.
1461
+ Resolve a type alias or type full name to a concrete type.
1462
+ If <paramref name="typeNameOrAlias"/> is null or empty, return the
1463
+ given <paramref name="defaultValue"/> instead.
1324
1464
  </summary>
1465
+ <param name="typeNameOrAlias">Type alias or full name to resolve.</param>
1466
+ <param name="defaultValue">Value to return if typeName is null or empty.</param>
1467
+ <param name="throwIfResolveFails">if true and the alias does not
1468
+ resolve, throw an <see cref="T:System.InvalidOperationException"/>, otherwise
1469
+ return null on failure.</param>
1470
+ <returns>The concrete <see cref="T:System.Type"/>.</returns>
1471
+ <exception cref="T:System.InvalidOperationException">Thrown if alias lookup fails and
1472
+ <paramref name="throwIfResolveFails"/> is true.</exception>
1325
1473
  </member>
1326
- <member name="M:Microsoft.Practices.Unity.Configuration.LifetimeElement.CreateLifetimeManager">
1474
+ <member name="T:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement">
1327
1475
  <summary>
1328
- Create the <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> described by
1329
- this element.
1476
+ Base class used to derive new elements that can occur
1477
+ directly within a container element.
1330
1478
  </summary>
1331
- <returns>A <see cref="T:Microsoft.Practices.Unity.LifetimeManager"/> instance.</returns>
1332
1479
  </member>
1333
- <member name="M:Microsoft.Practices.Unity.Configuration.LifetimeElement.SerializeContent(System.Xml.XmlWriter)">
1480
+ <member name="M:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement.#ctor">
1334
1481
  <summary>
1335
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1482
+ Initialize a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement"/>.
1336
1483
  </summary>
1337
- <remarks>The caller of this method has already written the start element tag before
1338
- calling this method, so deriving classes only need to write the element content, not
1339
- the start or end tags.</remarks>
1340
- <param name="writer">Writer to send XML content to.</param>
1341
1484
  </member>
1342
- <member name="P:Microsoft.Practices.Unity.Configuration.LifetimeElement.TypeName">
1485
+ <member name="M:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
1343
1486
  <summary>
1344
- Type of the lifetime manager.
1487
+ When overridden in a derived class, this method will make configuration
1488
+ calls into the given <paramref name="container"/> according to its contents.
1345
1489
  </summary>
1490
+ <param name="container">The container to configure.</param>
1346
1491
  </member>
1347
- <member name="P:Microsoft.Practices.Unity.Configuration.LifetimeElement.Value">
1492
+ <member name="P:Microsoft.Practices.Unity.Configuration.ExtensionConfigurationElement.Key">
1348
1493
  <summary>
1349
- Extra initialization information used by the type converter for this lifetime manager.
1494
+ Unique key generated for use in the collection class.
1350
1495
  </summary>
1351
1496
  </member>
1352
- <member name="P:Microsoft.Practices.Unity.Configuration.LifetimeElement.TypeConverterTypeName">
1497
+ <member name="T:Microsoft.Practices.Unity.Configuration.ContainerExtensionElementCollection">
1353
1498
  <summary>
1354
- Type of <see cref="T:System.ComponentModel.TypeConverter"/> to use to create the
1355
- lifetime manager.
1499
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement"/>s.
1356
1500
  </summary>
1357
1501
  </member>
1358
- <member name="T:Microsoft.Practices.Unity.Configuration.MethodElement">
1502
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerExtensionElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1359
1503
  <summary>
1360
- A configuration element representing a method to call.
1504
+ Gets the element key for a specified configuration element when overridden in a derived class.
1361
1505
  </summary>
1506
+ <returns>
1507
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
1508
+ </returns>
1509
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1510
+ </param>
1362
1511
  </member>
1363
- <member name="M:Microsoft.Practices.Unity.Configuration.MethodElement.#ctor">
1512
+ <member name="T:Microsoft.Practices.Unity.Configuration.SectionExtensionElementCollection">
1364
1513
  <summary>
1365
- Construct a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.MethodElement"/>.
1514
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.SectionExtensionElement"/>s.
1366
1515
  </summary>
1367
1516
  </member>
1368
- <member name="M:Microsoft.Practices.Unity.Configuration.MethodElement.SerializeContent(System.Xml.XmlWriter)">
1517
+ <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1369
1518
  <summary>
1370
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1519
+ Gets the element key for a specified configuration element when overridden in a derived class.
1371
1520
  </summary>
1372
- <remarks>The caller of this method has already written the start element tag before
1373
- calling this method, so deriving classes only need to write the element content, not
1374
- the start or end tags.</remarks>
1375
- <param name="writer">Writer to send XML content to.</param>
1521
+ <returns>
1522
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
1523
+ </returns>
1524
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1525
+ </param>
1376
1526
  </member>
1377
- <member name="M:Microsoft.Practices.Unity.Configuration.MethodElement.GetInjectionMembers(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String)">
1527
+ <member name="T:Microsoft.Practices.Unity.Configuration.SectionExtension">
1378
1528
  <summary>
1379
- Return the set of <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>s that are needed
1380
- to configure the container according to this configuration element.
1529
+ Base class for Unity configuration section extensions.
1530
+ Derived classes are used to add custom elments and aliases
1531
+ into the configuration section being loaded.
1381
1532
  </summary>
1382
- <param name="container">Container that is being configured.</param>
1383
- <param name="fromType">Type that is being registered.</param>
1384
- <param name="toType">Type that <paramref name="fromType"/> is being mapped to.</param>
1385
- <param name="name">Name this registration is under.</param>
1386
- <returns>One or more <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects that should be
1387
- applied to the container registration.</returns>
1388
1533
  </member>
1389
- <member name="P:Microsoft.Practices.Unity.Configuration.MethodElement.Name">
1534
+ <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtension.AddExtensions(Microsoft.Practices.Unity.Configuration.SectionExtensionContext)">
1390
1535
  <summary>
1391
- Name of the method to call.
1536
+ Add the extensions to the section via the context.
1392
1537
  </summary>
1538
+ <param name="context">Context object that can be used to add elements and aliases.</param>
1393
1539
  </member>
1394
- <member name="P:Microsoft.Practices.Unity.Configuration.MethodElement.Parameters">
1540
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DictionaryExtensions">
1395
1541
  <summary>
1396
- Parameters to the method call.
1542
+ A couple of useful extension methods on IDictionary
1397
1543
  </summary>
1398
1544
  </member>
1399
- <member name="P:Microsoft.Practices.Unity.Configuration.MethodElement.Key">
1545
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DictionaryExtensions.GetOrNull``2(System.Collections.Generic.IDictionary{``0,``1},``0)">
1400
1546
  <summary>
1401
- Each element must have a unique key, which is generated by the subclasses.
1547
+ Get the value from a dictionary, or null if there is no value.
1402
1548
  </summary>
1549
+ <typeparam name="TKey">Key type of dictionary.</typeparam>
1550
+ <typeparam name="TValue">Value type of dictionary.</typeparam>
1551
+ <param name="dictionary">Dictionary to search.</param>
1552
+ <param name="key">Key to look up.</param>
1553
+ <returns>The value at the key or null if not in the dictionary.</returns>
1403
1554
  </member>
1404
- <member name="P:Microsoft.Practices.Unity.Configuration.MethodElement.ElementName">
1555
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.XmlWriterExtensions">
1405
1556
  <summary>
1406
- Element name to use to serialize this into XML.
1557
+ Helper methods on <see cref="T:System.Xml.XmlWriter"/>.
1407
1558
  </summary>
1408
1559
  </member>
1409
- <member name="T:Microsoft.Practices.Unity.Configuration.NamespaceElement">
1560
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.XmlWriterExtensions.WriteElement(System.Xml.XmlWriter,System.String,System.Action{System.Xml.XmlWriter})">
1561
+ <summary>
1562
+ A helper method to make it more foolproof to write elements. This takes care of writing the
1563
+ start and end elment tags, and takes a nested closure with the code to write the content of
1564
+ the tag. That way the caller doesn't need to worry about the details of getting the start
1565
+ and end tags correct.
1566
+ </summary>
1567
+ <remarks>
1568
+ We don't support XML Namespaces here because .NET configuration doesn't use them so
1569
+ we don't need it for this current implementation.
1570
+ </remarks>
1571
+ <param name="writer">XmlWriter to write to.</param>
1572
+ <param name="elementName">Name of element.</param>
1573
+ <param name="writeContent">Nested lambda which, when executed, will create the content for the
1574
+ element.</param>
1575
+ <returns><paramref name="writer"/> (for method chaining if desired).</returns>
1576
+ </member>
1577
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.XmlWriterExtensions.WriteAttributeIfNotEmpty(System.Xml.XmlWriter,System.String,System.String)">
1578
+ <summary>
1579
+ A helper method to make it easier to output attributes. If the <paramref name="attributeValue"/> is
1580
+ null or an empty string, output nothing, else output the given XML attribute.
1581
+ </summary>
1582
+ <param name="writer">Writer to output to.</param>
1583
+ <param name="attributeName">Attribute name to write.</param>
1584
+ <param name="attributeValue">Value for the attribute.</param>
1585
+ <returns><paramref name="writer"/> (for method chaining if desired).</returns>
1586
+ </member>
1587
+ <member name="T:Microsoft.Practices.Unity.Configuration.AssemblyElement">
1410
1588
  <summary>
1411
1589
  A configuration element representing the namespace
1412
1590
  tags in the config file.
1413
1591
  </summary>
1414
1592
  </member>
1415
- <member name="T:Microsoft.Practices.Unity.Configuration.NamespaceElementCollection">
1593
+ <member name="T:Microsoft.Practices.Unity.Configuration.RegisterElementCollection">
1416
1594
  <summary>
1417
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.NamespaceElement"/>s in configuration.
1595
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.RegisterElement"/>s.
1418
1596
  </summary>
1419
1597
  </member>
1420
- <member name="M:Microsoft.Practices.Unity.Configuration.NamespaceElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1598
+ <member name="M:Microsoft.Practices.Unity.Configuration.RegisterElementCollection.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
1599
+ <summary>
1600
+ Causes the configuration system to throw an exception.
1601
+ </summary>
1602
+ <returns>
1603
+ true if the unrecognized element was deserialized successfully; otherwise, false. The default is false.
1604
+ </returns>
1605
+ <param name="elementName">The name of the unrecognized element.
1606
+ </param><param name="reader">An input stream that reads XML from the configuration file.
1607
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element specified in <paramref name="elementName"/> is the &lt;clear&gt; element.
1608
+ </exception><exception cref="T:System.ArgumentException"><paramref name="elementName"/> starts with the reserved prefix "config" or "lock".
1609
+ </exception>
1610
+ </member>
1611
+ <member name="M:Microsoft.Practices.Unity.Configuration.RegisterElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1421
1612
  <summary>
1422
1613
  Gets the element key for a specified configuration element when overridden in a derived class.
1423
1614
  </summary>
@@ -1427,13 +1618,12 @@
1427
1618
  <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1428
1619
  </param>
1429
1620
  </member>
1430
- <member name="T:Microsoft.Practices.Unity.Configuration.OptionalElement">
1621
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConstructorElement">
1431
1622
  <summary>
1432
- A configuration element that specifies that a value
1433
- is optional.
1623
+ Configuration element representing a constructor configuration.
1434
1624
  </summary>
1435
1625
  </member>
1436
- <member name="M:Microsoft.Practices.Unity.Configuration.OptionalElement.SerializeContent(System.Xml.XmlWriter)">
1626
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConstructorElement.SerializeContent(System.Xml.XmlWriter)">
1437
1627
  <summary>
1438
1628
  Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1439
1629
  </summary>
@@ -1442,27 +1632,123 @@
1442
1632
  the start or end tags.</remarks>
1443
1633
  <param name="writer">Writer to send XML content to.</param>
1444
1634
  </member>
1445
- <member name="M:Microsoft.Practices.Unity.Configuration.OptionalElement.GetInjectionParameterValue(Microsoft.Practices.Unity.IUnityContainer,System.Type)">
1635
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConstructorElement.GetInjectionMembers(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String)">
1446
1636
  <summary>
1447
- Generate an <see cref="T:Microsoft.Practices.Unity.InjectionParameterValue"/> object
1448
- that will be used to configure the container for a type registration.
1637
+ Return the set of <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>s that are needed
1638
+ to configure the container according to this configuration element.
1449
1639
  </summary>
1450
- <param name="container">Container that is being configured. Supplied in order
1451
- to let custom implementations retrieve services; do not configure the container
1452
- directly in this method.</param>
1453
- <param name="parameterType">Type of the </param>
1454
- <returns></returns>
1640
+ <param name="container">Container that is being configured.</param>
1641
+ <param name="fromType">Type that is being registered.</param>
1642
+ <param name="toType">Type that <paramref name="fromType"/> is being mapped to.</param>
1643
+ <param name="name">Name this registration is under.</param>
1644
+ <returns>One or more <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects that should be
1645
+ applied to the container registration.</returns>
1455
1646
  </member>
1456
- <member name="P:Microsoft.Practices.Unity.Configuration.OptionalElement.Name">
1647
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConstructorElement.Parameters">
1457
1648
  <summary>
1458
- Name used to resolve the dependency, leave out or blank to resolve default.
1649
+ The parameters of the constructor to call.
1459
1650
  </summary>
1460
1651
  </member>
1461
- <member name="P:Microsoft.Practices.Unity.Configuration.OptionalElement.TypeName">
1652
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConstructorElement.Key">
1462
1653
  <summary>
1463
- Type of dependency to resolve. If left out, resolved the type of
1464
- the containing parameter or property.
1654
+ Each element must have a unique key, which is generated by the subclasses.
1655
+ </summary>
1656
+ </member>
1657
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConstructorElement.ElementName">
1658
+ <summary>
1659
+ Element name to use to serialize this into XML.
1660
+ </summary>
1661
+ </member>
1662
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder">
1663
+ <summary>
1664
+ A simple implementing of the rules for a Parsing Expression Grammar
1665
+ parsing algorithm. This supplies basic methods to do the primitives
1666
+ of the PEG, and combinators to create larger rules.
1667
+ </summary>
1668
+ </member>
1669
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Any(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream)">
1670
+ <summary>
1671
+ The PEG "dot" operator that matches and consumes one character.
1672
+ </summary>
1673
+ <param name="input">Input to the parser.</param>
1674
+ <returns>The parse result.</returns>
1675
+ </member>
1676
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Match(System.Char)">
1677
+ <summary>
1678
+ Parse function generator that returns a method to match a single,
1679
+ specific character.
1680
+ </summary>
1681
+ <param name="charToMatch">Character to match.</param>
1682
+ <returns>The generated parsing function.</returns>
1683
+ </member>
1684
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Match(System.Func{System.Char,System.Boolean})">
1685
+ <summary>
1686
+ Parse function generator that checks if the current character matches
1687
+ the predicate supplied.
1688
+ </summary>
1689
+ <param name="predicate">Predicate used to determine if the character is in
1690
+ the given range.</param>
1691
+ <returns>The generated parsing function.</returns>
1692
+ </member>
1693
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.ZeroOrMore(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult})">
1694
+ <summary>
1695
+ The "*" operator - match zero or more of the inner parse expressions.
1696
+ </summary>
1697
+ <param name="inner">Parse method to repeat matching.</param>
1698
+ <returns>The generated parsing function.</returns>
1699
+ </member>
1700
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Sequence(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult}[])">
1701
+ <summary>
1702
+ Parsing combinator that matches all of the given expressions in
1703
+ order, or matches none of them.
1704
+ </summary>
1705
+ <param name="expressions">Expressions that form the sequence to match.</param>
1706
+ <returns>The combined sequence.</returns>
1707
+ </member>
1708
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.FirstOf(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult}[])">
1709
+ <summary>
1710
+ Parsing combinator that implements the PEG prioritized choice operator. Basically,
1711
+ try each of the expressions in order, and match if any of them match, stopping on the
1712
+ first match.
1713
+ </summary>
1714
+ <param name="expressions">Expressions that form the set of alternatives.</param>
1715
+ <returns>The combined parsing method.</returns>
1716
+ </member>
1717
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.Not(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult})">
1718
+ <summary>
1719
+ Parsing combinator implementing the "not" predicate. This wraps
1720
+ the given <paramref name="expression"/> parsing method with a check
1721
+ to see if it matched. If it matched, then the Not fails, and vice
1722
+ versa. The result consumes no input.
1723
+ </summary>
1724
+ <param name="expression">The parse method to wrap.</param>
1725
+ <returns>The generated parsing function.</returns>
1726
+ </member>
1727
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.EOF(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream)">
1728
+ <summary>
1729
+ Parsing expression that matches End of input.
1730
+ </summary>
1731
+ <param name="input">Parser input.</param>
1732
+ <returns>Parse result</returns>
1733
+ </member>
1734
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.WithAction(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult},System.Action{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult})">
1735
+ <summary>
1736
+ Combinator that executes an action if the given expression matched.
1737
+ </summary>
1738
+ <param name="expression">Parsing expression to match.</param>
1739
+ <param name="onMatched">Action to execute if <paramref name="expression"/>
1740
+ matched. Input is the matched text from <paramref name="expression"/>.</param>
1741
+ <returns>The result of <paramref name="expression"/>.</returns>
1742
+ </member>
1743
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseBuilder.WithAction(System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.InputStream,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult},System.Func{Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult})">
1744
+ <summary>
1745
+ Combinator that executes an action if the given expression matched.
1465
1746
  </summary>
1747
+ <param name="expression">parsing expression to match.</param>
1748
+ <param name="onMatched">Method to execute if a match happens. This method returns
1749
+ the <see cref="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult"/> that will be returned from the combined expression.</param>
1750
+ <returns>The result of <paramref name="onMatched"/> if expression matched, else
1751
+ whatever <paramref name="expression"/> returned.</returns>
1466
1752
  </member>
1467
1753
  <member name="T:Microsoft.Practices.Unity.Configuration.ParameterElement">
1468
1754
  <summary>
@@ -1580,814 +1866,409 @@
1580
1866
  this should return "property Prop1" (in english).
1581
1867
  </summary>
1582
1868
  </member>
1583
- <member name="T:Microsoft.Practices.Unity.Configuration.ParameterElementCollection">
1869
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1">
1584
1870
  <summary>
1585
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ParameterElement"/> objects.
1871
+ A helper class used to map element tag names to a handler method
1872
+ used to interpret that element.
1586
1873
  </summary>
1874
+ <typeparam name="TContainingElement"></typeparam>
1587
1875
  </member>
1588
- <member name="M:Microsoft.Practices.Unity.Configuration.ParameterElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1876
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1.Add(System.String,System.Action{`0,System.Xml.XmlReader})">
1589
1877
  <summary>
1590
- Gets the element key for a specified configuration element when overridden in a derived class.
1878
+ Add method to enable dictionary initializer syntax
1591
1879
  </summary>
1592
- <returns>
1593
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
1594
- </returns>
1595
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1596
- </param>
1880
+ <param name="elementName"></param>
1881
+ <param name="processingAction"></param>
1597
1882
  </member>
1598
- <member name="T:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection">
1883
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1.ProcessElement(`0,System.String,System.Xml.XmlReader)">
1599
1884
  <summary>
1600
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.ParameterValueElement"/> objects.
1885
+ Process an unknown element according to the map entries.
1601
1886
  </summary>
1887
+ <param name="parentElement">Parent element that hit this unknown element.</param>
1888
+ <param name="elementName">Name of the unknown element.</param>
1889
+ <param name="reader">XmlReader positioned at start of element.</param>
1890
+ <returns>true if processed, false if not.</returns>
1602
1891
  </member>
1603
- <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
1892
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1.System#Collections#IEnumerable#GetEnumerator">
1604
1893
  <summary>
1605
- Causes the configuration system to throw an exception.
1894
+ Returns an enumerator that iterates through a collection.
1606
1895
  </summary>
1607
1896
  <returns>
1608
- true if the unrecognized element was deserialized successfully; otherwise, false. The default is false.
1897
+ An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
1609
1898
  </returns>
1610
- <param name="elementName">The name of the unrecognized element.
1611
- </param><param name="reader">An input stream that reads XML from the configuration file.
1612
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element specified in <paramref name="elementName"/> is the &lt;clear&gt; element.
1613
- </exception><exception cref="T:System.ArgumentException"><paramref name="elementName"/> starts with the reserved prefix "config" or "lock".
1614
- </exception>
1899
+ <filterpriority>2</filterpriority>
1615
1900
  </member>
1616
- <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.CreateNewElement">
1901
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap`1.GetEnumerator">
1617
1902
  <summary>
1618
- When overridden in a derived class, creates a new <see cref="T:System.Configuration.ConfigurationElement"/>.
1903
+ Returns an enumerator that iterates through the collection.
1619
1904
  </summary>
1620
1905
  <returns>
1621
- A new <see cref="T:System.Configuration.ConfigurationElement"/>.
1906
+ A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
1622
1907
  </returns>
1908
+ <filterpriority>1</filterpriority>
1623
1909
  </member>
1624
- <member name="M:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1910
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap">
1625
1911
  <summary>
1626
- Gets the element key for a specified configuration element when overridden in a derived class.
1912
+ A helper class used to map element tag names to a handler method
1913
+ used to interpret that element.
1627
1914
  </summary>
1628
- <returns>
1629
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
1630
- </returns>
1631
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1632
- </param>
1633
1915
  </member>
1634
- <member name="P:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.DeserializedElementHolder.Value">
1916
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap.System#Collections#IEnumerable#GetEnumerator">
1635
1917
  <summary>
1636
- String that will be deserialized to provide the value.
1918
+ Returns an enumerator that iterates through a collection.
1637
1919
  </summary>
1920
+ <returns>
1921
+ An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
1922
+ </returns>
1923
+ <filterpriority>2</filterpriority>
1638
1924
  </member>
1639
- <member name="P:Microsoft.Practices.Unity.Configuration.ParameterValueElementCollection.DeserializedElementHolder.DestinationName">
1925
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.UnknownElementHandlerMap.GetEnumerator">
1640
1926
  <summary>
1641
- A string describing where the value this element contains
1642
- is being used. For example, if setting a property Prop1,
1643
- this should return "property Prop1" (in english).
1927
+ Returns an enumerator that iterates through the collection.
1644
1928
  </summary>
1929
+ <returns>
1930
+ A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
1931
+ </returns>
1932
+ <filterpriority>1</filterpriority>
1645
1933
  </member>
1646
- <member name="T:Microsoft.Practices.Unity.Configuration.Properties.Resources">
1934
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult">
1647
1935
  <summary>
1648
- A strongly-typed resource class, for looking up localized strings, etc.
1936
+ Helper methods to make it easier to pull the data
1937
+ out of the result of a sequence expression.
1649
1938
  </summary>
1650
1939
  </member>
1651
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ResourceManager">
1940
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.System#Collections#IEnumerable#GetEnumerator">
1652
1941
  <summary>
1653
- Returns the cached ResourceManager instance used by this class.
1942
+ Returns an enumerator that iterates through a collection.
1654
1943
  </summary>
1944
+ <returns>
1945
+ An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
1946
+ </returns>
1947
+ <filterpriority>2</filterpriority>
1655
1948
  </member>
1656
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.Culture">
1949
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.GetEnumerator">
1657
1950
  <summary>
1658
- Overrides the current thread's CurrentUICulture property for all
1659
- resource lookups using this strongly typed resource class.
1951
+ Returns an enumerator that iterates through the collection.
1660
1952
  </summary>
1953
+ <returns>
1954
+ A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
1955
+ </returns>
1956
+ <filterpriority>1</filterpriority>
1661
1957
  </member>
1662
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CannotCreateContainerConfiguringElement">
1958
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Add(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
1663
1959
  <summary>
1664
- Looks up a localized string similar to An abstract ContainerConfiguringElement cannot be created. Please specify a concrete type..
1960
+ Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1"/>.
1665
1961
  </summary>
1962
+ <param name="item">The object to add to the <see cref="T:System.Collections.Generic.ICollection`1"/>.
1963
+ </param><exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
1964
+ </exception>
1666
1965
  </member>
1667
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CannotCreateExtensionConfigurationElement">
1966
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Clear">
1668
1967
  <summary>
1669
- Looks up a localized string similar to An abstract ExtensionConfigurationElement object cannot be created. Please specify a concrete type..
1968
+ Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1"/>.
1670
1969
  </summary>
1970
+ <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
1971
+ </exception>
1671
1972
  </member>
1672
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CannotCreateInjectionMemberElement">
1973
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Contains(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
1673
1974
  <summary>
1674
- Looks up a localized string similar to An abstract InjectionMemberElement object cannot be created. Please specify a concrete type..
1975
+ Determines whether the <see cref="T:System.Collections.Generic.ICollection`1"/> contains a specific value.
1675
1976
  </summary>
1977
+ <returns>
1978
+ true if <paramref name="item"/> is found in the <see cref="T:System.Collections.Generic.ICollection`1"/>; otherwise, false.
1979
+ </returns>
1980
+ <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.ICollection`1"/>.
1981
+ </param>
1676
1982
  </member>
1677
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CannotCreateParameterValueElement">
1983
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.CopyTo(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult[],System.Int32)">
1678
1984
  <summary>
1679
- Looks up a localized string similar to An abstract ParameterValueElement object cannot be created. Please specify a concrete type..
1985
+ Copies the elements of the sequence to an <see cref="T:System.Array"/>, starting at a particular <see cref="T:System.Array"/> index.
1680
1986
  </summary>
1987
+ <param name="array">The one-dimensional <see cref="T:System.Array"/> that is the destination of the elements copied from this sequence. The <see cref="T:System.Array"/> must have zero-based indexing.
1988
+ </param><param name="arrayIndex">The zero-based index in <paramref name="array"/> at which copying begins.
1989
+ </param><exception cref="T:System.ArgumentNullException"><paramref name="array"/> is null.
1990
+ </exception><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="arrayIndex"/> is less than 0.
1991
+ </exception><exception cref="T:System.ArgumentException"><paramref name="array"/> is multidimensional.
1992
+ -or-
1993
+ <paramref name="arrayIndex"/> is equal to or greater than the length of <paramref name="array"/>.
1994
+ -or-
1995
+ The number of elements in the source is greater than the available space from <paramref name="arrayIndex"/> to the end of the destination <paramref name="array"/>.
1996
+ </exception>
1681
1997
  </member>
1682
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.CouldNotResolveType">
1998
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Remove(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
1683
1999
  <summary>
1684
- Looks up a localized string similar to The type name or alias {0} could not be resolved. Please check your configuration file and verify this type name..
2000
+ Removes the first occurrence of a specific object from the <see cref="T:System.Collections.Generic.ICollection`1"/>.
1685
2001
  </summary>
2002
+ <returns>
2003
+ true if <paramref name="item"/> was successfully removed from the <see cref="T:System.Collections.Generic.ICollection`1"/>; otherwise, false. This method also returns false if <paramref name="item"/> is not found in the original <see cref="T:System.Collections.Generic.ICollection`1"/>.
2004
+ </returns>
2005
+ <param name="item">The object to remove from the <see cref="T:System.Collections.Generic.ICollection`1"/>.
2006
+ </param><exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
2007
+ </exception>
1686
2008
  </member>
1687
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.DependencyForGenericParameterWithTypeSet">
2009
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.IndexOf(Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
1688
2010
  <summary>
1689
- Looks up a localized string similar to The dependency element for generic parameter {0} must not have an explicit type name but has &apos;{1}&apos;..
1690
- </summary>
1691
- </member>
1692
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.DependencyForOptionalGenericParameterWithTypeSet">
1693
- <summary>
1694
- Looks up a localized string similar to The optional dependency element for generic parameter {0} must not have an explicit type name but has &apos;{1}&apos;..
1695
- </summary>
1696
- </member>
1697
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.DestinationNameFormat">
1698
- <summary>
1699
- Looks up a localized string similar to {0} {1}.
1700
- </summary>
1701
- </member>
1702
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.DuplicateParameterValueElement">
1703
- <summary>
1704
- Looks up a localized string similar to The injection configuration for {0} has multiple values..
1705
- </summary>
1706
- </member>
1707
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ElementTypeNotRegistered">
1708
- <summary>
1709
- Looks up a localized string similar to The configuration element type {0} has not been registered with the section..
1710
- </summary>
1711
- </member>
1712
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ElementWithAttributesAndParameterValueElements">
1713
- <summary>
1714
- Looks up a localized string similar to The injection configuration for {0} is specified through both attributes and child value elements..
1715
- </summary>
1716
- </member>
1717
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ExtensionTypeNotFound">
1718
- <summary>
1719
- Looks up a localized string similar to Could not load section extension type {0}..
1720
- </summary>
1721
- </member>
1722
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ExtensionTypeNotValid">
1723
- <summary>
1724
- Looks up a localized string similar to The extension type {0} does not derive from SectionExtension..
1725
- </summary>
1726
- </member>
1727
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.InvalidExtensionElementType">
1728
- <summary>
1729
- Looks up a localized string similar to The extension element type {0} that is being added does not derive from ContainerConfiguringElement, InjectionMemberElement, or ParameterValueElement. An extension element must derive from one of these types..
1730
- </summary>
1731
- </member>
1732
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.InvalidValueAttributes">
1733
- <summary>
1734
- Looks up a localized string similar to No valid attributes were found to construct the value for the {0}. Please check the configuration file..
1735
- </summary>
1736
- </member>
1737
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NoMatchingConstructor">
1738
- <summary>
1739
- Looks up a localized string similar to Configuration is incorrect, the type {0} does not have a constructor that takes parameters named {1}..
1740
- </summary>
1741
- </member>
1742
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NoMatchingMethod">
1743
- <summary>
1744
- Looks up a localized string similar to Configuration is incorrect, the type {0} does not have a method named {1} that takes parameters named {2}..
1745
- </summary>
1746
- </member>
1747
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NoSuchContainer">
1748
- <summary>
1749
- Looks up a localized string similar to The container named &quot;{0}&quot; is not defined in this configuration section..
1750
- </summary>
1751
- </member>
1752
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NoSuchProperty">
1753
- <summary>
1754
- Looks up a localized string similar to The type {0} does not have a property named {1}..
1755
- </summary>
1756
- </member>
1757
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.NotAnArray">
1758
- <summary>
1759
- Looks up a localized string similar to The configuration is set to inject an array, but the type {0} is not an array type..
1760
- </summary>
1761
- </member>
1762
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.Parameter">
1763
- <summary>
1764
- Looks up a localized string similar to parameter.
1765
- </summary>
1766
- </member>
1767
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.Property">
1768
- <summary>
1769
- Looks up a localized string similar to property.
1770
- </summary>
1771
- </member>
1772
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.RequiredPropertyMissing">
1773
- <summary>
1774
- Looks up a localized string similar to The attribute {0} must be present and non-empty..
1775
- </summary>
1776
- </member>
1777
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ValueNotAllowedForGenericArrayType">
1778
- <summary>
1779
- Looks up a localized string similar to The value element for {1} was specified for the generic array type {0}. Value elements are not allowed for generic array types..
1780
- </summary>
1781
- </member>
1782
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ValueNotAllowedForGenericParameterType">
1783
- <summary>
1784
- Looks up a localized string similar to The value element for {1} was specified for the generic parameter type {0}. Value elements are not allowed for generic parameter types..
1785
- </summary>
1786
- </member>
1787
- <member name="P:Microsoft.Practices.Unity.Configuration.Properties.Resources.ValueNotAllowedForOpenGenericType">
1788
- <summary>
1789
- Looks up a localized string similar to The value element for {1} was specified for the generic type {0}. Value elements are not allowed for generic types..
1790
- </summary>
1791
- </member>
1792
- <member name="T:Microsoft.Practices.Unity.Configuration.PropertyElement">
1793
- <summary>
1794
- A class representing a property configuration element.
1795
- </summary>
1796
- </member>
1797
- <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.#ctor">
1798
- <summary>
1799
- Construct a new instance of <see cref="T:Microsoft.Practices.Unity.Configuration.PropertyElement"/>
1800
- </summary>
1801
- </member>
1802
- <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.DeserializeElement(System.Xml.XmlReader,System.Boolean)">
1803
- <summary>
1804
- Reads XML from the configuration file.
1805
- </summary>
1806
- <param name="reader">The <see cref="T:System.Xml.XmlReader"/> that reads from the configuration file.
1807
- </param><param name="serializeCollectionKey">true to serialize only the collection key properties; otherwise, false.
1808
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element to read is locked.
1809
- - or -
1810
- An attribute of the current node is not recognized.
1811
- - or -
1812
- The lock status of the current node cannot be determined.
1813
- </exception>
1814
- </member>
1815
- <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.OnDeserializeUnrecognizedAttribute(System.String,System.String)">
1816
- <summary>
1817
- Gets a value indicating whether an unknown attribute is encountered during deserialization.
1818
- </summary>
1819
- <returns>
1820
- true when an unknown attribute is encountered while deserializing; otherwise, false.
1821
- </returns>
1822
- <param name="name">The name of the unrecognized attribute.
1823
- </param><param name="value">The value of the unrecognized attribute.
1824
- </param>
1825
- </member>
1826
- <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
1827
- <summary>
1828
- Gets a value indicating whether an unknown element is encountered during deserialization.
1829
- </summary>
1830
- <returns>
1831
- true when an unknown element is encountered while deserializing; otherwise, false.
1832
- </returns>
1833
- <param name="elementName">The name of the unknown subelement.
1834
- </param><param name="reader">The <see cref="T:System.Xml.XmlReader"/> being used for deserialization.
1835
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element identified by <paramref name="elementName"/> is locked.
1836
- - or -
1837
- One or more of the element's attributes is locked.
1838
- - or -
1839
- <paramref name="elementName"/> is unrecognized, or the element has an unrecognized attribute.
1840
- - or -
1841
- The element has a Boolean attribute with an invalid value.
1842
- - or -
1843
- An attempt was made to deserialize a property more than once.
1844
- - or -
1845
- An attempt was made to deserialize a property that is not a valid member of the element.
1846
- - or -
1847
- The element cannot contain a CDATA or text element.
1848
- </exception>
1849
- </member>
1850
- <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.SerializeContent(System.Xml.XmlWriter)">
1851
- <summary>
1852
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1853
- </summary>
1854
- <remarks>The caller of this method has already written the start element tag before
1855
- calling this method, so deriving classes only need to write the element content, not
1856
- the start or end tags.</remarks>
1857
- <param name="writer">Writer to send XML content to.</param>
1858
- </member>
1859
- <member name="M:Microsoft.Practices.Unity.Configuration.PropertyElement.GetInjectionMembers(Microsoft.Practices.Unity.IUnityContainer,System.Type,System.Type,System.String)">
1860
- <summary>
1861
- Return the set of <see cref="T:Microsoft.Practices.Unity.InjectionMember"/>s that are needed
1862
- to configure the container according to this configuration element.
1863
- </summary>
1864
- <param name="container">Container that is being configured.</param>
1865
- <param name="fromType">Type that is being registered.</param>
1866
- <param name="toType">Type that <paramref name="fromType"/> is being mapped to.</param>
1867
- <param name="name">Name this registration is under.</param>
1868
- <returns>One or more <see cref="T:Microsoft.Practices.Unity.InjectionMember"/> objects that should be
1869
- applied to the container registration.</returns>
1870
- </member>
1871
- <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.Name">
1872
- <summary>
1873
- Name of the property that will be set.
1874
- </summary>
1875
- </member>
1876
- <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.Key">
1877
- <summary>
1878
- Each element must have a unique key, which is generated by the subclasses.
1879
- </summary>
1880
- </member>
1881
- <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.Value">
1882
- <summary>
1883
- String that will be deserialized to provide the value.
1884
- </summary>
1885
- </member>
1886
- <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.DestinationName">
1887
- <summary>
1888
- A string describing where the value this element contains
1889
- is being used. For example, if setting a property Prop1,
1890
- this should return "property Prop1" (in english).
1891
- </summary>
1892
- </member>
1893
- <member name="P:Microsoft.Practices.Unity.Configuration.PropertyElement.ElementName">
1894
- <summary>
1895
- Element name to use to serialize this into XML.
1896
- </summary>
1897
- </member>
1898
- <member name="T:Microsoft.Practices.Unity.Configuration.RegisterElement">
1899
- <summary>
1900
- A configuration element representing a single container type registration.
1901
- </summary>
1902
- </member>
1903
- <member name="M:Microsoft.Practices.Unity.Configuration.RegisterElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
1904
- <summary>
1905
- Apply the registrations from this element to the given container.
1906
- </summary>
1907
- <param name="container">Container to configure.</param>
1908
- </member>
1909
- <member name="M:Microsoft.Practices.Unity.Configuration.RegisterElement.SerializeContent(System.Xml.XmlWriter)">
1910
- <summary>
1911
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
1912
- </summary>
1913
- <remarks>The caller of this method has already written the start element tag before
1914
- calling this method, so deriving classes only need to write the element content, not
1915
- the start or end tags.</remarks>
1916
- <param name="writer">Writer to send XML content to.</param>
1917
- </member>
1918
- <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.TypeName">
1919
- <summary>
1920
- The type that is registered.
1921
- </summary>
1922
- </member>
1923
- <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.Name">
1924
- <summary>
1925
- Name registered under.
1926
- </summary>
1927
- </member>
1928
- <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.MapToName">
1929
- <summary>
1930
- Type that is mapped to.
1931
- </summary>
1932
- </member>
1933
- <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.Lifetime">
1934
- <summary>
1935
- Lifetime manager to register for this registration.
1936
- </summary>
1937
- </member>
1938
- <member name="P:Microsoft.Practices.Unity.Configuration.RegisterElement.InjectionMembers">
1939
- <summary>
1940
- Any injection members (constructor, properties, etc.) that are specified for
1941
- this registration.
1942
- </summary>
1943
- </member>
1944
- <member name="T:Microsoft.Practices.Unity.Configuration.RegisterElementCollection">
1945
- <summary>
1946
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.RegisterElement"/>s.
1947
- </summary>
1948
- </member>
1949
- <member name="M:Microsoft.Practices.Unity.Configuration.RegisterElementCollection.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
1950
- <summary>
1951
- Causes the configuration system to throw an exception.
1952
- </summary>
1953
- <returns>
1954
- true if the unrecognized element was deserialized successfully; otherwise, false. The default is false.
1955
- </returns>
1956
- <param name="elementName">The name of the unrecognized element.
1957
- </param><param name="reader">An input stream that reads XML from the configuration file.
1958
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element specified in <paramref name="elementName"/> is the &lt;clear&gt; element.
1959
- </exception><exception cref="T:System.ArgumentException"><paramref name="elementName"/> starts with the reserved prefix "config" or "lock".
1960
- </exception>
1961
- </member>
1962
- <member name="M:Microsoft.Practices.Unity.Configuration.RegisterElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
1963
- <summary>
1964
- Gets the element key for a specified configuration element when overridden in a derived class.
1965
- </summary>
1966
- <returns>
1967
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
1968
- </returns>
1969
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
1970
- </param>
1971
- </member>
1972
- <member name="T:Microsoft.Practices.Unity.Configuration.SectionExtension">
1973
- <summary>
1974
- Base class for Unity configuration section extensions.
1975
- Derived classes are used to add custom elments and aliases
1976
- into the configuration section being loaded.
1977
- </summary>
1978
- </member>
1979
- <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtension.AddExtensions(Microsoft.Practices.Unity.Configuration.SectionExtensionContext)">
1980
- <summary>
1981
- Add the extensions to the section via the context.
1982
- </summary>
1983
- <param name="context">Context object that can be used to add elements and aliases.</param>
1984
- </member>
1985
- <member name="T:Microsoft.Practices.Unity.Configuration.SectionExtensionContext">
1986
- <summary>
1987
- An object that gives the ability to add
1988
- elements and aliases to a configuration section.
1989
- </summary>
1990
- </member>
1991
- <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionContext.AddAlias(System.String,System.Type)">
1992
- <summary>
1993
- Add a new alias to the configuration section. This is useful
1994
- for those extensions that add commonly used types to configuration
1995
- so users don't have to alias them repeatedly.
1996
- </summary>
1997
- <param name="newAlias">The alias to use.</param>
1998
- <param name="aliasedType">Type the alias maps to.</param>
1999
- </member>
2000
- <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionContext.AddAlias``1(System.String)">
2001
- <summary>
2002
- Add a new alias to the configuration section. This is useful
2003
- for those extensions that add commonly used types to configuration
2004
- so users don't have to alias them repeatedly.
2005
- </summary>
2006
- <typeparam name="TAliased">Type the alias maps to.</typeparam>
2007
- <param name="alias">The alias to use</param>
2008
- </member>
2009
- <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionContext.AddElement(System.String,System.Type)">
2010
- <summary>
2011
- Add a new element to the configuration section schema.
2012
- </summary>
2013
- <param name="tag">Tag name in the XML.</param>
2014
- <param name="elementType">Type the tag maps to.</param>
2015
- </member>
2016
- <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionContext.AddElement``1(System.String)">
2017
- <summary>
2018
- Add a new element to the configuration section schema.
2019
- </summary>
2020
- <typeparam name="TElement">Type the tag maps to.</typeparam>
2021
- <param name="tag">Tag name in the XML.</param>
2022
- </member>
2023
- <member name="T:Microsoft.Practices.Unity.Configuration.SectionExtensionElement">
2024
- <summary>
2025
- A configuration element used to specify which extensions to
2026
- add to the configuration schema.
2027
- </summary>
2028
- </member>
2029
- <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.DeserializeElement(System.Xml.XmlReader,System.Boolean)">
2030
- <summary>
2031
- Reads XML from the configuration file.
2032
- </summary>
2033
- <param name="reader">The <see cref="T:System.Xml.XmlReader"/> that reads from the configuration file.
2034
- </param><param name="serializeCollectionKey">true to serialize only the collection key properties; otherwise, false.
2035
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element to read is locked.
2036
- - or -
2037
- An attribute of the current node is not recognized.
2038
- - or -
2039
- The lock status of the current node cannot be determined.
2040
- </exception>
2041
- </member>
2042
- <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.SerializeContent(System.Xml.XmlWriter)">
2043
- <summary>
2044
- Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
2045
- </summary>
2046
- <remarks>The caller of this method has already written the start element tag before
2047
- calling this method, so deriving classes only need to write the element content, not
2048
- the start or end tags.</remarks>
2049
- <param name="writer">Writer to send XML content to.</param>
2050
- </member>
2051
- <member name="P:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.TypeName">
2052
- <summary>
2053
- Type of the section extender object that will provide new elements to the schema.
2054
- </summary>
2055
- </member>
2056
- <member name="P:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.Prefix">
2057
- <summary>
2058
- Optional prefix that will be added to the element names added by this
2059
- section extender. If left out, no prefix will be added.
2060
- </summary>
2061
- </member>
2062
- <member name="P:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.ExtensionObject">
2063
- <summary>
2064
- The extension object represented by this element.
2065
- </summary>
2066
- </member>
2067
- <member name="T:Microsoft.Practices.Unity.Configuration.SectionExtensionElementCollection">
2068
- <summary>
2069
- A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.SectionExtensionElement"/>s.
2070
- </summary>
2071
- </member>
2072
- <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
2073
- <summary>
2074
- Gets the element key for a specified configuration element when overridden in a derived class.
2011
+ Determines the index of a specific item in the <see cref="T:System.Collections.Generic.IList`1"/>.
2075
2012
  </summary>
2076
2013
  <returns>
2077
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
2014
+ The index of <paramref name="item"/> if found in the list; otherwise, -1.
2078
2015
  </returns>
2079
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
2016
+ <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.IList`1"/>.
2080
2017
  </param>
2081
2018
  </member>
2082
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver">
2083
- <summary>
2084
- Type that manage access to a set of type aliases and implements
2085
- the logic for converting aliases to their actual types.
2086
- </summary>
2087
- </member>
2088
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.SetAliases(Microsoft.Practices.Unity.Configuration.UnityConfigurationSection)">
2089
- <summary>
2090
- Set the set of aliases to use for resolution.
2091
- </summary>
2092
- <param name="section">Configuration section containing the various
2093
- type aliases, namespaces and assemblies.</param>
2094
- </member>
2095
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.ResolveType(System.String)">
2096
- <summary>
2097
- Resolves a type alias or type fullname to a concrete type.
2098
- </summary>
2099
- <param name="typeNameOrAlias">Type alias or type fullname</param>
2100
- <returns>Type object or null if resolve fails.</returns>
2101
- <exception cref="T:System.InvalidOperationException">Thrown if alias lookup fails.</exception>
2102
- </member>
2103
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.ResolveType(System.String,System.Boolean)">
2104
- <summary>
2105
- Resolves a type alias or type fullname to a concrete type.
2106
- </summary>
2107
- <param name="typeNameOrAlias">Alias or name to resolve.</param>
2108
- <param name="throwIfResolveFails">if true and the alias does not
2109
- resolve, throw an <see cref="T:System.InvalidOperationException"/>, otherwise
2110
- return null on failure.</param>
2111
- <returns>The type object or null if resolve fails and
2112
- <paramref name="throwIfResolveFails"/> is false.</returns>
2113
- </member>
2114
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.ResolveTypeWithDefault(System.String,System.Type)">
2115
- <summary>
2116
- Resolve a type alias or type full name to a concrete type.
2117
- If <paramref name="typeNameOrAlias"/> is null or empty, return the
2118
- given <paramref name="defaultValue"/> instead.
2119
- </summary>
2120
- <param name="typeNameOrAlias">Type alias or full name to resolve.</param>
2121
- <param name="defaultValue">Value to return if typeName is null or empty.</param>
2122
- <returns>The concrete <see cref="T:System.Type"/>.</returns>
2123
- <exception cref="T:System.InvalidOperationException">Thrown if alias lookup fails.</exception>
2124
- </member>
2125
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolver.ResolveTypeWithDefault(System.String,System.Type,System.Boolean)">
2126
- <summary>
2127
- Resolve a type alias or type full name to a concrete type.
2128
- If <paramref name="typeNameOrAlias"/> is null or empty, return the
2129
- given <paramref name="defaultValue"/> instead.
2130
- </summary>
2131
- <param name="typeNameOrAlias">Type alias or full name to resolve.</param>
2132
- <param name="defaultValue">Value to return if typeName is null or empty.</param>
2133
- <param name="throwIfResolveFails">if true and the alias does not
2134
- resolve, throw an <see cref="T:System.InvalidOperationException"/>, otherwise
2135
- return null on failure.</param>
2136
- <returns>The concrete <see cref="T:System.Type"/>.</returns>
2137
- <exception cref="T:System.InvalidOperationException">Thrown if alias lookup fails and
2138
- <paramref name="throwIfResolveFails"/> is true.</exception>
2139
- </member>
2140
- <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl">
2019
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Insert(System.Int32,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ParseResult)">
2141
2020
  <summary>
2142
- A helper class that implements the actual logic for resolving a shorthand
2143
- type name (alias or raw type name) into an actual type object.
2021
+ Inserts an item to the <see cref="T:System.Collections.Generic.IList`1"/> at the specified index.
2144
2022
  </summary>
2023
+ <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.
2024
+ </param><param name="item">The object to insert into the <see cref="T:System.Collections.Generic.IList`1"/>.
2025
+ </param><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is not a valid index in the <see cref="T:System.Collections.Generic.IList`1"/>.
2026
+ </exception><exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IList`1"/> is read-only.
2027
+ </exception>
2145
2028
  </member>
2146
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})">
2029
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.RemoveAt(System.Int32)">
2147
2030
  <summary>
2148
- Construct a new <see cref="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl"/> that uses the given
2149
- sequence of alias, typename pairs to resolve types.
2031
+ Removes the <see cref="T:System.Collections.Generic.IList`1"/> item at the specified index.
2150
2032
  </summary>
2151
- <param name="aliasesSequence">Type aliases from the configuration file.</param>
2152
- <param name="assemblies">Assembly names to search.</param>
2153
- <param name="namespaces">Namespaces to search.</param>
2033
+ <param name="index">The zero-based index of the item to remove.
2034
+ </param><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is not a valid index in the <see cref="T:System.Collections.Generic.IList`1"/>.
2035
+ </exception><exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.Generic.IList`1"/> is read-only.
2036
+ </exception>
2154
2037
  </member>
2155
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl.ResolveType(System.String,System.Boolean)">
2038
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Count">
2156
2039
  <summary>
2157
- Resolves a type alias or type fullname to a concrete type.
2040
+ Gets the number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1"/>.
2158
2041
  </summary>
2159
- <param name="typeNameOrAlias">Alias or name to resolve.</param>
2160
- <param name="throwIfResolveFails">if true and the alias does not
2161
- resolve, throw an <see cref="T:System.InvalidOperationException"/>, otherwise
2162
- return null on failure.</param>
2163
- <returns>The type object or null if resolve fails and
2164
- <paramref name="throwIfResolveFails"/> is false.</returns>
2042
+ <returns>
2043
+ The number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1"/>.
2044
+ </returns>
2165
2045
  </member>
2166
- <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeResolverImpl.ResolveTypeWithDefault(System.String,System.Type,System.Boolean)">
2046
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.IsReadOnly">
2167
2047
  <summary>
2168
- Resolve a type alias or type full name to a concrete type.
2169
- If <paramref name="typeNameOrAlias"/> is null or empty, return the
2170
- given <paramref name="defaultValue"/> instead.
2048
+ Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
2171
2049
  </summary>
2172
- <param name="typeNameOrAlias">Type alias or full name to resolve.</param>
2173
- <param name="defaultValue">Value to return if typeName is null or empty.</param>
2174
- <param name="throwIfResolveFails">if true and the alias does not
2175
- resolve, throw an <see cref="T:System.InvalidOperationException"/>, otherwise
2176
- return null on failure.</param>
2177
2050
  <returns>
2178
- <para>If <paramref name="typeNameOrAlias"/> is null or an empty string,
2179
- then return <paramref name="defaultValue"/>.</para>
2180
- <para>Otherwise, return the resolved type object. If the resolution fails
2181
- and <paramref name="throwIfResolveFails"/> is false, then return null.</para>
2051
+ true if the <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only; otherwise, false.
2182
2052
  </returns>
2183
2053
  </member>
2184
- <member name="T:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection">
2054
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.SequenceResult.Item(System.Int32)">
2185
2055
  <summary>
2186
- A configuration section describing configuration for an <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/>.
2056
+ Gets or sets the element at the specified index.
2187
2057
  </summary>
2058
+ <returns>
2059
+ The element at the specified index.
2060
+ </returns>
2061
+ <param name="index">The zero-based index of the element to get or set.
2062
+ </param><exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is not a valid index in the <see cref="T:System.Collections.Generic.IList`1"/>.
2063
+ </exception><exception cref="T:System.NotSupportedException">The property is set and the <see cref="T:System.Collections.Generic.IList`1"/> is read-only.
2064
+ </exception>
2188
2065
  </member>
2189
- <member name="F:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.SectionName">
2066
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ConfigurationElementExtensions">
2190
2067
  <summary>
2191
- The name of the section where unity configuration is expected to be found.
2068
+ Helpful extension methods when implementing configuration sections
2069
+ that deserialize "unwrapped" elements - elements that should be
2070
+ deserialized into a container but can be present outside
2071
+ that container in the actual config file.
2192
2072
  </summary>
2193
2073
  </member>
2194
- <member name="F:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.XmlNamespace">
2074
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ConfigurationElementExtensions.ReadUnwrappedElement``1(System.Configuration.ConfigurationElement,System.Xml.XmlReader,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase{``0})">
2195
2075
  <summary>
2196
- XML Namespace string used for IntelliSense in this section.
2076
+ Deserialize an element of the given type, store it in
2077
+ the collection object, and
2197
2078
  </summary>
2079
+ <typeparam name="TElementType">Type of element to create and deserialize.</typeparam>
2080
+ <param name="baseElement">Parent element containing element to deserialize.</param>
2081
+ <param name="reader">Xml reader containing state to deserialize from.</param>
2082
+ <param name="elementCollection">Collection to store the created element into.</param>
2083
+ <returns>The created element.</returns>
2198
2084
  </member>
2199
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Configure(Microsoft.Practices.Unity.IUnityContainer)">
2085
+ <member name="M:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.ConfigurationElementExtensions.ReadElementByType``1(System.Configuration.ConfigurationElement,System.Xml.XmlReader,System.Type,Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.DeserializableConfigurationElementCollectionBase{``0})">
2200
2086
  <summary>
2201
- Apply the configuration in the default container element to the given container.
2087
+ Deserialize an element, basing the element type on the one
2088
+ supplied at runtime, and then store the element into the
2089
+ given <paramref name="elementCollection"/>.
2202
2090
  </summary>
2203
- <param name="container">Container to configure.</param>
2204
- <returns>The passed in <paramref name="container"/>.</returns>
2091
+ <remarks>This method is useful when reading elements into a polymorphic collection.</remarks>
2092
+ <typeparam name="TElementType">Base type of element to store.</typeparam>
2093
+ <param name="baseElement">Element that contains the collection being stored into.</param>
2094
+ <param name="reader">Xml Reader containing state to deserialize from.</param>
2095
+ <param name="elementType">Runtime type of element to create.</param>
2096
+ <param name="elementCollection">Collection to store the created element into.</param>
2097
+ <returns>The created element.</returns>
2205
2098
  </member>
2206
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Configure(Microsoft.Practices.Unity.IUnityContainer,System.String)">
2099
+ <member name="T:Microsoft.Practices.Unity.Configuration.ContainerElementCollection">
2207
2100
  <summary>
2208
- Apply the configuration in the default container element to the given container.
2101
+ Collection element for <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerElement"/>s.
2209
2102
  </summary>
2210
- <param name="container">Container to configure.</param>
2211
- <param name="configuredContainerName">Name of the container element to use to configure the container.</param>
2212
- <returns>The passed in <paramref name="container"/>.</returns>
2213
2103
  </member>
2214
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.DeserializeSection(System.Xml.XmlReader)">
2104
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.GetElement(System.Int32)">
2215
2105
  <summary>
2216
- Reads XML from the configuration file.
2106
+ Plug point to get objects out of the collection.
2217
2107
  </summary>
2218
- <param name="reader">The <see cref="T:System.Xml.XmlReader"/> object, which reads from the configuration file.
2219
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException"><paramref name="reader"/> found no elements in the configuration file.
2220
- </exception>
2108
+ <param name="index">Index in the collection to retrieve the item from.</param>
2109
+ <returns>Item at that index or null if not present.</returns>
2221
2110
  </member>
2222
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
2111
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.GetElement(System.Object)">
2223
2112
  <summary>
2224
- Gets a value indicating whether an unknown element is encountered during deserialization.
2113
+ Plug point to get objects out of the collection.
2225
2114
  </summary>
2226
- <returns>
2227
- true when an unknown element is encountered while deserializing; otherwise, false.
2228
- </returns>
2229
- <param name="elementName">The name of the unknown subelement.
2230
- </param><param name="reader">The <see cref="T:System.Xml.XmlReader"/> being used for deserialization.
2231
- </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element identified by <paramref name="elementName"/> is locked.
2232
- - or -
2233
- One or more of the element's attributes is locked.
2234
- - or -
2235
- <paramref name="elementName"/> is unrecognized, or the element has an unrecognized attribute.
2236
- - or -
2237
- The element has a Boolean attribute with an invalid value.
2238
- - or -
2239
- An attempt was made to deserialize a property more than once.
2240
- - or -
2241
- An attempt was made to deserialize a property that is not a valid member of the element.
2242
- - or -
2243
- The element cannot contain a CDATA or text element.
2244
- </exception>
2115
+ <param name="key">Key to look up the object by.</param>
2116
+ <returns>Item with that key or null if not present.</returns>
2245
2117
  </member>
2246
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.SerializeSection(System.Configuration.ConfigurationElement,System.String,System.Configuration.ConfigurationSaveMode)">
2118
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
2247
2119
  <summary>
2248
- Creates an XML string containing an unmerged view of the <see cref="T:System.Configuration.ConfigurationSection"/> object as a single section to write to a file.
2120
+ Gets the element key for a specified configuration element when overridden in a derived class.
2249
2121
  </summary>
2250
2122
  <returns>
2251
- An XML string containing an unmerged view of the <see cref="T:System.Configuration.ConfigurationSection"/> object.
2123
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
2252
2124
  </returns>
2253
- <param name="parentElement">The <see cref="T:System.Configuration.ConfigurationElement"/> instance to use as the parent when performing the un-merge.
2254
- </param><param name="name">The name of the section to create.
2255
- </param><param name="saveMode">The <see cref="T:System.Configuration.ConfigurationSaveMode"/> instance to use when writing to a string.
2125
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
2256
2126
  </param>
2257
2127
  </member>
2258
- <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.CurrentSection">
2128
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.Item(System.String)">
2259
2129
  <summary>
2260
- The current <see cref="T:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection"/> that is being deserialized
2261
- or being configured from.
2130
+ Retrieve a stored <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerElement"/> by name.
2262
2131
  </summary>
2132
+ <param name="name">Name to look up.</param>
2133
+ <returns>The stored container or null if not in the collection.</returns>
2263
2134
  </member>
2264
- <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Xmlns">
2135
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.Default">
2265
2136
  <summary>
2266
- Storage for XML namespace. The namespace isn't used or validated by config, but
2267
- it is useful for Visual Studio XML IntelliSense to kick in.
2137
+ Return the default container in the collection. The default is the one without a name.
2268
2138
  </summary>
2269
2139
  </member>
2270
- <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Containers">
2140
+ <member name="T:Microsoft.Practices.Unity.Configuration.InstanceElementCollection">
2271
2141
  <summary>
2272
- The set of containers defined in this configuration section.
2142
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.InstanceElement"/>s.
2273
2143
  </summary>
2274
2144
  </member>
2275
- <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.TypeAliases">
2145
+ <member name="M:Microsoft.Practices.Unity.Configuration.InstanceElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
2276
2146
  <summary>
2277
- The set of type aliases defined in this configuration file.
2147
+ Gets the element key for a specified configuration element when overridden in a derived class.
2278
2148
  </summary>
2149
+ <returns>
2150
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
2151
+ </returns>
2152
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
2153
+ </param>
2279
2154
  </member>
2280
- <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.SectionExtensions">
2155
+ <member name="T:Microsoft.Practices.Unity.Configuration.ContainerElement">
2281
2156
  <summary>
2282
- Any schema extensions that are added.
2157
+ A configuration element class defining the set of registrations to be
2158
+ put into a container.
2283
2159
  </summary>
2284
2160
  </member>
2285
- <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Namespaces">
2161
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElement.Configure(Microsoft.Practices.Unity.IUnityContainer)">
2286
2162
  <summary>
2287
- Any namespaces added to the type search list.
2163
+ Original configuration API kept for backwards compatibility.
2288
2164
  </summary>
2165
+ <param name="container">Container to configure</param>
2289
2166
  </member>
2290
- <member name="P:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.Assemblies">
2167
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
2291
2168
  <summary>
2292
- Any assemblies added to the type search list.
2169
+ Apply the configuration information in this element to the
2170
+ given <paramref name="container"/>.
2293
2171
  </summary>
2172
+ <param name="container">Container to configure.</param>
2294
2173
  </member>
2295
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.ExtensionContext.AddAlias(System.String,System.Type)">
2174
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElement.OnDeserializeUnrecognizedElement(System.String,System.Xml.XmlReader)">
2296
2175
  <summary>
2297
- Add a new alias to the configuration section. This is useful
2298
- for those extensions that add commonly used types to configuration
2299
- so users don't have to alias them repeatedly.
2176
+ Gets a value indicating whether an unknown element is encountered during deserialization.
2300
2177
  </summary>
2301
- <param name="newAlias">The alias to use.</param>
2302
- <param name="aliasedType">Type the alias maps to.</param>
2178
+ <returns>
2179
+ true when an unknown element is encountered while deserializing; otherwise, false.
2180
+ </returns>
2181
+ <param name="elementName">The name of the unknown subelement.
2182
+ </param><param name="reader">The <see cref="T:System.Xml.XmlReader"/> being used for deserialization.
2183
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element identified by <paramref name="elementName"/> is locked.
2184
+ - or -
2185
+ One or more of the element's attributes is locked.
2186
+ - or -
2187
+ <paramref name="elementName"/> is unrecognized, or the element has an unrecognized attribute.
2188
+ - or -
2189
+ The element has a Boolean attribute with an invalid value.
2190
+ - or -
2191
+ An attempt was made to deserialize a property more than once.
2192
+ - or -
2193
+ An attempt was made to deserialize a property that is not a valid member of the element.
2194
+ - or -
2195
+ The element cannot contain a CDATA or text element.
2196
+ </exception>
2303
2197
  </member>
2304
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityConfigurationSection.ExtensionContext.AddElement(System.String,System.Type)">
2198
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElement.SerializeContent(System.Xml.XmlWriter)">
2305
2199
  <summary>
2306
- Add a new element to the configuration section schema.
2200
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
2307
2201
  </summary>
2308
- <param name="tag">Tag name in the XML.</param>
2309
- <param name="elementType">Type the tag maps to.</param>
2202
+ <remarks>The caller of this method has already written the start element tag before
2203
+ calling this method, so deriving classes only need to write the element content, not
2204
+ the start or end tags.</remarks>
2205
+ <param name="writer">Writer to send XML content to.</param>
2310
2206
  </member>
2311
- <member name="T:Microsoft.Practices.Unity.Configuration.ContainerElementCollection">
2207
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.Name">
2312
2208
  <summary>
2313
- Collection element for <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerElement"/>s.
2209
+ Name for this container configuration as given in the config file.
2314
2210
  </summary>
2315
2211
  </member>
2316
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.GetElement(System.Int32)">
2212
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.Registrations">
2317
2213
  <summary>
2318
- Plug point to get objects out of the collection.
2214
+ The type registrations in this container.
2319
2215
  </summary>
2320
- <param name="index">Index in the collection to retrieve the item from.</param>
2321
- <returns>Item at that index or null if not present.</returns>
2322
2216
  </member>
2323
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.GetElement(System.Object)">
2217
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.Instances">
2324
2218
  <summary>
2325
- Plug point to get objects out of the collection.
2219
+ Any instances to register in the container.
2326
2220
  </summary>
2327
- <param name="key">Key to look up the object by.</param>
2328
- <returns>Item with that key or null if not present.</returns>
2329
2221
  </member>
2330
- <member name="M:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
2222
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.Extensions">
2331
2223
  <summary>
2332
- Gets the element key for a specified configuration element when overridden in a derived class.
2224
+ Any extensions to add to the container.
2333
2225
  </summary>
2334
- <returns>
2335
- An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
2336
- </returns>
2337
- <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
2338
- </param>
2339
2226
  </member>
2340
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.Item(System.String)">
2227
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElement.ConfiguringElements">
2341
2228
  <summary>
2342
- Retrieve a stored <see cref="T:Microsoft.Practices.Unity.Configuration.ContainerElement"/> by name.
2229
+ Set of any extra configuration elements that were added by a
2230
+ section extension.
2343
2231
  </summary>
2344
- <param name="name">Name to look up.</param>
2345
- <returns>The stored container or null if not in the collection.</returns>
2232
+ <remarks>
2233
+ This is not marked as a configuration property because we don't want
2234
+ the actual property to show up as a nested element in the configuration.</remarks>
2346
2235
  </member>
2347
- <member name="P:Microsoft.Practices.Unity.Configuration.ContainerElementCollection.Default">
2236
+ <member name="T:Microsoft.Practices.Unity.Configuration.AliasElement">
2348
2237
  <summary>
2349
- Return the default container in the collection. The default is the one without a name.
2238
+ A configuration element storing information about a single type alias.
2350
2239
  </summary>
2351
2240
  </member>
2352
- <member name="T:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions">
2241
+ <member name="M:Microsoft.Practices.Unity.Configuration.AliasElement.#ctor">
2353
2242
  <summary>
2354
- Extensions to <see cref="T:Microsoft.Practices.Unity.IUnityContainer"/> to simplify
2355
- loading configuration into a container.
2243
+ Construct a new, uninitialized <see cref="T:Microsoft.Practices.Unity.Configuration.AliasElement"/>.
2356
2244
  </summary>
2357
2245
  </member>
2358
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,System.String)">
2246
+ <member name="M:Microsoft.Practices.Unity.Configuration.AliasElement.#ctor(System.String,System.Type)">
2359
2247
  <summary>
2360
- Apply configuration from the given section and named container
2361
- into the given container.
2248
+ Construct a new <see cref="T:Microsoft.Practices.Unity.Configuration.AliasElement"/> that is initialized
2249
+ to alias <paramref name="alias"/> to the target <paramref name="targetType"/>.
2362
2250
  </summary>
2363
- <param name="container">Unity container to configure.</param>
2364
- <param name="section">Configuration section with config information.</param>
2365
- <param name="containerName">Named container.</param>
2366
- <returns><paramref name="container"/>.</returns>
2251
+ <param name="alias">Alias to use.</param>
2252
+ <param name="targetType">Type that is aliased.</param>
2367
2253
  </member>
2368
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(Microsoft.Practices.Unity.IUnityContainer,System.String)">
2254
+ <member name="M:Microsoft.Practices.Unity.Configuration.AliasElement.SerializeContent(System.Xml.XmlWriter)">
2369
2255
  <summary>
2370
- Apply configuration from the default section (named "unity" pulled out of
2371
- ConfigurationManager) and the named container.
2256
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
2372
2257
  </summary>
2373
- <param name="container">Unity container to configure.</param>
2374
- <param name="containerName">Named container element in configuration.</param>
2375
- <returns><paramref name="container"/>.</returns>
2258
+ <remarks>The caller of this method has already written the start element tag before
2259
+ calling this method, so deriving classes only need to write the element content, not
2260
+ the start or end tags.</remarks>
2261
+ <param name="writer">Writer to send XML content to.</param>
2376
2262
  </member>
2377
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(Microsoft.Practices.Unity.IUnityContainer)">
2263
+ <member name="P:Microsoft.Practices.Unity.Configuration.AliasElement.Alias">
2378
2264
  <summary>
2379
- Apply configuration from the default section and unnamed container element.
2265
+ The alias used for this type.
2380
2266
  </summary>
2381
- <param name="container">Container to configure.</param>
2382
- <returns><paramref name="container"/>.</returns>
2383
2267
  </member>
2384
- <member name="M:Microsoft.Practices.Unity.Configuration.UnityContainerExtensions.LoadConfiguration(Microsoft.Practices.Unity.IUnityContainer,Microsoft.Practices.Unity.Configuration.UnityConfigurationSection)">
2268
+ <member name="P:Microsoft.Practices.Unity.Configuration.AliasElement.TypeName">
2385
2269
  <summary>
2386
- Apply configuration from the default container in the given section.
2270
+ The fully qualified name this alias refers to.
2387
2271
  </summary>
2388
- <param name="container">Unity container to configure.</param>
2389
- <param name="section">Configuration section.</param>
2390
- <returns><paramref name="container"/>.</returns>
2391
2272
  </member>
2392
2273
  <member name="T:Microsoft.Practices.Unity.Configuration.ValueElement">
2393
2274
  <summary>
@@ -2447,5 +2328,124 @@
2447
2328
 
2448
2329
  </summary>
2449
2330
  </member>
2331
+ <member name="T:Microsoft.Practices.Unity.Configuration.SectionExtensionElement">
2332
+ <summary>
2333
+ A configuration element used to specify which extensions to
2334
+ add to the configuration schema.
2335
+ </summary>
2336
+ </member>
2337
+ <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.DeserializeElement(System.Xml.XmlReader,System.Boolean)">
2338
+ <summary>
2339
+ Reads XML from the configuration file.
2340
+ </summary>
2341
+ <param name="reader">The <see cref="T:System.Xml.XmlReader"/> that reads from the configuration file.
2342
+ </param><param name="serializeCollectionKey">true to serialize only the collection key properties; otherwise, false.
2343
+ </param><exception cref="T:System.Configuration.ConfigurationErrorsException">The element to read is locked.
2344
+ - or -
2345
+ An attribute of the current node is not recognized.
2346
+ - or -
2347
+ The lock status of the current node cannot be determined.
2348
+ </exception>
2349
+ </member>
2350
+ <member name="M:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.SerializeContent(System.Xml.XmlWriter)">
2351
+ <summary>
2352
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
2353
+ </summary>
2354
+ <remarks>The caller of this method has already written the start element tag before
2355
+ calling this method, so deriving classes only need to write the element content, not
2356
+ the start or end tags.</remarks>
2357
+ <param name="writer">Writer to send XML content to.</param>
2358
+ </member>
2359
+ <member name="P:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.TypeName">
2360
+ <summary>
2361
+ Type of the section extender object that will provide new elements to the schema.
2362
+ </summary>
2363
+ </member>
2364
+ <member name="P:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.Prefix">
2365
+ <summary>
2366
+ Optional prefix that will be added to the element names added by this
2367
+ section extender. If left out, no prefix will be added.
2368
+ </summary>
2369
+ </member>
2370
+ <member name="P:Microsoft.Practices.Unity.Configuration.SectionExtensionElement.ExtensionObject">
2371
+ <summary>
2372
+ The extension object represented by this element.
2373
+ </summary>
2374
+ </member>
2375
+ <member name="T:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement">
2376
+ <summary>
2377
+ Configuration element representing an extension to add to a container.
2378
+ </summary>
2379
+ </member>
2380
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)">
2381
+ <summary>
2382
+ Add the extension specified in this element to the container.
2383
+ </summary>
2384
+ <param name="container">Container to configure.</param>
2385
+ </member>
2386
+ <member name="M:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement.SerializeContent(System.Xml.XmlWriter)">
2387
+ <summary>
2388
+ Write the contents of this element to the given <see cref="T:System.Xml.XmlWriter"/>.
2389
+ </summary>
2390
+ <remarks>The caller of this method has already written the start element tag before
2391
+ calling this method, so deriving classes only need to write the element content, not
2392
+ the start or end tags.</remarks>
2393
+ <param name="writer">Writer to send XML content to.</param>
2394
+ </member>
2395
+ <member name="P:Microsoft.Practices.Unity.Configuration.ContainerExtensionElement.TypeName">
2396
+ <summary>
2397
+ Type of the extension to add.
2398
+ </summary>
2399
+ </member>
2400
+ <member name="T:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeNameInfo">
2401
+ <summary>
2402
+ Class containing information about a type name.
2403
+ </summary>
2404
+ </member>
2405
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeNameInfo.Name">
2406
+ <summary>
2407
+ The base name of the class
2408
+ </summary>
2409
+ </member>
2410
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeNameInfo.Namespace">
2411
+ <summary>
2412
+ Namespace if any
2413
+ </summary>
2414
+ </member>
2415
+ <member name="P:Microsoft.Practices.Unity.Configuration.ConfigurationHelpers.TypeNameInfo.AssemblyName">
2416
+ <summary>
2417
+ Assembly name, if any
2418
+ </summary>
2419
+ </member>
2420
+ <member name="T:Microsoft.Practices.Unity.Configuration.NamespaceElementCollection">
2421
+ <summary>
2422
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.NamespaceElement"/>s in configuration.
2423
+ </summary>
2424
+ </member>
2425
+ <member name="M:Microsoft.Practices.Unity.Configuration.NamespaceElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
2426
+ <summary>
2427
+ Gets the element key for a specified configuration element when overridden in a derived class.
2428
+ </summary>
2429
+ <returns>
2430
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
2431
+ </returns>
2432
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
2433
+ </param>
2434
+ </member>
2435
+ <member name="T:Microsoft.Practices.Unity.Configuration.AssemblyElementCollection">
2436
+ <summary>
2437
+ A collection of <see cref="T:Microsoft.Practices.Unity.Configuration.AssemblyElement"/>s in configuration.
2438
+ </summary>
2439
+ </member>
2440
+ <member name="M:Microsoft.Practices.Unity.Configuration.AssemblyElementCollection.GetElementKey(System.Configuration.ConfigurationElement)">
2441
+ <summary>
2442
+ Gets the element key for a specified configuration element when overridden in a derived class.
2443
+ </summary>
2444
+ <returns>
2445
+ An <see cref="T:System.Object"/> that acts as the key for the specified <see cref="T:System.Configuration.ConfigurationElement"/>.
2446
+ </returns>
2447
+ <param name="element">The <see cref="T:System.Configuration.ConfigurationElement"/> to return the key for.
2448
+ </param>
2449
+ </member>
2450
2450
  </members>
2451
2451
  </doc>