1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="TypeCatalog" FullName="System.ComponentModel.Composition.Hosting.TypeCatalog">
3 <TypeSignature Language="C#" Value="public class TypeCatalog : System.ComponentModel.Composition.Primitives.ComposablePartCatalog, System.ComponentModel.Composition.Primitives.ICompositionElement" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit TypeCatalog extends System.ComponentModel.Composition.Primitives.ComposablePartCatalog implements class System.ComponentModel.Composition.Primitives.ICompositionElement" />
6 <AssemblyName>System.ComponentModel.Composition</AssemblyName>
7 <AssemblyVersion>4.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.ComponentModel.Composition.Primitives.ComposablePartCatalog</BaseTypeName>
14 <InterfaceName>System.ComponentModel.Composition.Primitives.ICompositionElement</InterfaceName>
19 <AttributeName>System.Diagnostics.DebuggerTypeProxy(typeof(System.ComponentModel.Composition.Primitives.ComposablePartCatalogDebuggerProxy))</AttributeName>
24 <attribution license="cc4" from="Microsoft" modified="false" />
25 <para>This class is thread safe.</para>
28 <attribution license="cc4" from="Microsoft" modified="false" />
29 <para>Discovers attributed parts from a collection of types.</para>
33 <Member MemberName=".ctor">
34 <MemberSignature Language="C#" Value="public TypeCatalog (System.Collections.Generic.IEnumerable<Type> types);" />
35 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.Generic.IEnumerable`1<class System.Type> types) cil managed" />
36 <MemberType>Constructor</MemberType>
38 <AssemblyVersion>4.0.0.0</AssemblyVersion>
41 <Parameter Name="types" Type="System.Collections.Generic.IEnumerable<System.Type>" />
44 <remarks>To be added.</remarks>
46 <attribution license="cc4" from="Microsoft" modified="false" />
47 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> class with the specified types.</para>
50 <attribution license="cc4" from="Microsoft" modified="false" />A collection of attributed <see cref="T:System.Type" /> objects to add to the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> object.</param>
53 <Member MemberName=".ctor">
54 <MemberSignature Language="C#" Value="public TypeCatalog (Type[] types);" />
55 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Type[] types) cil managed" />
56 <MemberType>Constructor</MemberType>
58 <AssemblyVersion>4.0.0.0</AssemblyVersion>
61 <Parameter Name="types" Type="System.Type[]">
64 <AttributeName>System.ParamArray</AttributeName>
70 <remarks>To be added.</remarks>
72 <attribution license="cc4" from="Microsoft" modified="false" />
73 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> class with the specified types.</para>
76 <attribution license="cc4" from="Microsoft" modified="false" />An array of attributed <see cref="T:System.Type" /> objects to add to the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> object.</param>
79 <Member MemberName=".ctor">
80 <MemberSignature Language="C#" Value="public TypeCatalog (System.Collections.Generic.IEnumerable<Type> types, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin);" />
81 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.Generic.IEnumerable`1<class System.Type> types, class System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) cil managed" />
82 <MemberType>Constructor</MemberType>
84 <AssemblyVersion>4.0.0.0</AssemblyVersion>
87 <Parameter Name="types" Type="System.Collections.Generic.IEnumerable<System.Type>" />
88 <Parameter Name="definitionOrigin" Type="System.ComponentModel.Composition.Primitives.ICompositionElement" />
91 <remarks>To be added.</remarks>
93 <attribution license="cc4" from="Microsoft" modified="false" />
94 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> class with the specified types and source for parts.</para>
97 <attribution license="cc4" from="Microsoft" modified="false" />A collection of attributed <see cref="T:System.Type" /> objects to add to the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> object.</param>
98 <param name="definitionOrigin">
99 <attribution license="cc4" from="Microsoft" modified="false" />An element used by diagnostics to identify the source for parts.</param>
102 <Member MemberName=".ctor">
103 <MemberSignature Language="C#" Value="public TypeCatalog (System.Collections.Generic.IEnumerable<Type> types, System.Reflection.ReflectionContext reflectionContext);" />
104 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.Generic.IEnumerable`1<class System.Type> types, class System.Reflection.ReflectionContext reflectionContext) cil managed" />
105 <MemberType>Constructor</MemberType>
107 <AssemblyVersion>4.0.0.0</AssemblyVersion>
110 <Parameter Name="types" Type="System.Collections.Generic.IEnumerable<System.Type>" />
111 <Parameter Name="reflectionContext" Type="System.Reflection.ReflectionContext" />
114 <remarks>To be added.</remarks>
116 <attribution license="cc4" from="Microsoft" modified="false" />
117 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> class with the specified types in the specified reflection context.</para>
120 <attribution license="cc4" from="Microsoft" modified="false" />A collection of attributed <see cref="T:System.Type" /> objects to add to the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> object.</param>
121 <param name="reflectionContext">
122 <attribution license="cc4" from="Microsoft" modified="false" />The context used to interpret the types.</param>
125 <Member MemberName=".ctor">
126 <MemberSignature Language="C#" Value="public TypeCatalog (System.Collections.Generic.IEnumerable<Type> types, System.Reflection.ReflectionContext reflectionContext, System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin);" />
127 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Collections.Generic.IEnumerable`1<class System.Type> types, class System.Reflection.ReflectionContext reflectionContext, class System.ComponentModel.Composition.Primitives.ICompositionElement definitionOrigin) cil managed" />
128 <MemberType>Constructor</MemberType>
130 <AssemblyVersion>4.0.0.0</AssemblyVersion>
133 <Parameter Name="types" Type="System.Collections.Generic.IEnumerable<System.Type>" />
134 <Parameter Name="reflectionContext" Type="System.Reflection.ReflectionContext" />
135 <Parameter Name="definitionOrigin" Type="System.ComponentModel.Composition.Primitives.ICompositionElement" />
138 <remarks>To be added.</remarks>
140 <attribution license="cc4" from="Microsoft" modified="false" />
141 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> class with the specified types in the specified reflection context and source for parts.</para>
144 <attribution license="cc4" from="Microsoft" modified="false" />A collection of attributed <see cref="T:System.Type" /> objects to add to the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> object.</param>
145 <param name="reflectionContext">
146 <attribution license="cc4" from="Microsoft" modified="false" />The context used to interpret the types.</param>
147 <param name="definitionOrigin">
148 <attribution license="cc4" from="Microsoft" modified="false" />An element used by diagnostics to identify the source for parts.</param>
151 <Member MemberName="Dispose">
152 <MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
153 <MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
154 <MemberType>Method</MemberType>
156 <AssemblyVersion>4.0.0.0</AssemblyVersion>
159 <ReturnType>System.Void</ReturnType>
162 <Parameter Name="disposing" Type="System.Boolean" />
165 <remarks>To be added.</remarks>
167 <attribution license="cc4" from="Microsoft" modified="false" />
168 <para>Releases the unmanaged resources used by the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> and optionally releases the managed resources. </para>
170 <param name="disposing">
171 <attribution license="cc4" from="Microsoft" modified="false" />true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
174 <Member MemberName="GetEnumerator">
175 <MemberSignature Language="C#" Value="public override System.Collections.Generic.IEnumerator<System.ComponentModel.Composition.Primitives.ComposablePartDefinition> GetEnumerator ();" />
176 <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.Collections.Generic.IEnumerator`1<class System.ComponentModel.Composition.Primitives.ComposablePartDefinition> GetEnumerator() cil managed" />
177 <MemberType>Method</MemberType>
179 <AssemblyVersion>4.0.0.0</AssemblyVersion>
182 <ReturnType>System.Collections.Generic.IEnumerator<System.ComponentModel.Composition.Primitives.ComposablePartDefinition></ReturnType>
186 <remarks>To be added.</remarks>
188 <attribution license="cc4" from="Microsoft" modified="false" />
189 <para>Returns an enumerator that iterates through the catalog.</para>
192 <attribution license="cc4" from="Microsoft" modified="false" />
193 <para>An enumerator that can be used to iterate through the catalog.</para>
197 <Member MemberName="System.ComponentModel.Composition.Primitives.ICompositionElement.DisplayName">
198 <MemberSignature Language="C#" Value="string System.ComponentModel.Composition.Primitives.ICompositionElement.DisplayName { get; }" />
199 <MemberSignature Language="ILAsm" Value=".property instance string System.ComponentModel.Composition.Primitives.ICompositionElement.DisplayName" />
200 <MemberType>Property</MemberType>
202 <AssemblyVersion>4.0.0.0</AssemblyVersion>
205 <ReturnType>System.String</ReturnType>
208 <value>To be added.</value>
210 <attribution license="cc4" from="Microsoft" modified="false" />
211 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> instance is cast to an <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement" /> interface.</para>
214 <attribution license="cc4" from="Microsoft" modified="false" />
215 <para>Gets the display name of the type catalog.</para>
219 <Member MemberName="System.ComponentModel.Composition.Primitives.ICompositionElement.Origin">
220 <MemberSignature Language="C#" Value="System.ComponentModel.Composition.Primitives.ICompositionElement System.ComponentModel.Composition.Primitives.ICompositionElement.Origin { get; }" />
221 <MemberSignature Language="ILAsm" Value=".property instance class System.ComponentModel.Composition.Primitives.ICompositionElement System.ComponentModel.Composition.Primitives.ICompositionElement.Origin" />
222 <MemberType>Property</MemberType>
224 <AssemblyVersion>4.0.0.0</AssemblyVersion>
227 <ReturnType>System.ComponentModel.Composition.Primitives.ICompositionElement</ReturnType>
230 <value>To be added.</value>
232 <attribution license="cc4" from="Microsoft" modified="false" />
233 <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.ComponentModel.Composition.Hosting.TypeCatalog" /> instance is cast to an <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement" /> interface.</para>
236 <attribution license="cc4" from="Microsoft" modified="false" />
237 <para>Gets the composition element from which the type catalog originated.</para>
241 <Member MemberName="ToString">
242 <MemberSignature Language="C#" Value="public override string ToString ();" />
243 <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
244 <MemberType>Method</MemberType>
246 <AssemblyVersion>4.0.0.0</AssemblyVersion>
249 <ReturnType>System.String</ReturnType>
253 <remarks>To be added.</remarks>
255 <attribution license="cc4" from="Microsoft" modified="false" />
256 <para>Returns a string representation of the type catalog.</para>
259 <attribution license="cc4" from="Microsoft" modified="false" />
260 <para>A string representation of the type catalog.</para>