1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="ImportManyAttribute" FullName="System.ComponentModel.Composition.ImportManyAttribute">
3 <TypeSignature Language="C#" Value="public class ImportManyAttribute : Attribute, System.ComponentModel.Composition.IAttributedImport" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ImportManyAttribute extends System.Attribute implements class System.ComponentModel.Composition.IAttributedImport" />
6 <AssemblyName>System.ComponentModel.Composition</AssemblyName>
7 <AssemblyVersion>4.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.Attribute</BaseTypeName>
14 <InterfaceName>System.ComponentModel.Composition.IAttributedImport</InterfaceName>
19 <AttributeName>System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)</AttributeName>
23 <remarks>To be added.</remarks>
25 <attribution license="cc4" from="Microsoft" modified="false" />
26 <para>Specifies that a property, field, or parameter should be populated with all matching exports by the <see cref="T:System.ComponentModel.Composition.Hosting.CompositionContainer" /> object.</para>
30 <Member MemberName=".ctor">
31 <MemberSignature Language="C#" Value="public ImportManyAttribute ();" />
32 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
33 <MemberType>Constructor</MemberType>
35 <AssemblyVersion>4.0.0.0</AssemblyVersion>
40 <attribution license="cc4" from="Microsoft" modified="false" />
41 <para>The default contract name is the result of calling the <see cref="M:System.ComponentModel.Composition.AttributedModelServices.GetContractName(System.Type)" /> method on the type of the property, field, or parameter that is marked with this attribute.</para>
42 <para>The contract name is compared by using the <see cref="P:System.StringComparer.Ordinal" /> property to perform a case-sensitive, non-linguistic comparison.</para>
45 <attribution license="cc4" from="Microsoft" modified="false" />
46 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.ImportManyAttribute" /> class, importing the set of exports with the default contract name.</para>
50 <Member MemberName=".ctor">
51 <MemberSignature Language="C#" Value="public ImportManyAttribute (string contractName);" />
52 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string contractName) cil managed" />
53 <MemberType>Constructor</MemberType>
55 <AssemblyVersion>4.0.0.0</AssemblyVersion>
58 <Parameter Name="contractName" Type="System.String" />
62 <attribution license="cc4" from="Microsoft" modified="false" />
63 <para>The default contract name is the result of calling the <see cref="M:System.ComponentModel.Composition.AttributedModelServices.GetContractName(System.Type)" /> method on the property, field, or parameter type that is marked with this attribute.</para>
64 <para>The contract name is compared by using the <see cref="P:System.StringComparer.Ordinal" /> property to perform a case-sensitive, non-linguistic comparison.</para>
67 <attribution license="cc4" from="Microsoft" modified="false" />
68 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.ImportManyAttribute" /> class, importing the set of exports with the specified contract name.</para>
70 <param name="contractName">
71 <attribution license="cc4" from="Microsoft" modified="false" />The contract name of the exports to import, or null or an empty string ("") to use the default contract name.</param>
74 <Member MemberName=".ctor">
75 <MemberSignature Language="C#" Value="public ImportManyAttribute (Type contractType);" />
76 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Type contractType) cil managed" />
77 <MemberType>Constructor</MemberType>
79 <AssemblyVersion>4.0.0.0</AssemblyVersion>
82 <Parameter Name="contractType" Type="System.Type" />
86 <attribution license="cc4" from="Microsoft" modified="false" />
87 <para>The contract name is the result of calling the <see cref="M:System.ComponentModel.Composition.AttributedModelServices.GetContractName(System.Type)" /> method on <paramref name="contractType" />.</para>
88 <para>The default contract name is the result of calling the <see cref="M:System.ComponentModel.Composition.AttributedModelServices.GetContractName(System.Type)" /> method on the property, field, or parameter type that is marked with this attribute.</para>
89 <para>The contract name is compared by using the <see cref="P:System.StringComparer.Ordinal" /> property to perform a case-sensitive, non-linguistic comparison.</para>
92 <attribution license="cc4" from="Microsoft" modified="false" />
93 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.ImportManyAttribute" /> class, importing the set of exports with the contract name derived from the specified type.</para>
95 <param name="contractType">
96 <attribution license="cc4" from="Microsoft" modified="false" />The type to derive the contract name of the exports to import, or null to use the default contract name.</param>
99 <Member MemberName=".ctor">
100 <MemberSignature Language="C#" Value="public ImportManyAttribute (string contractName, Type contractType);" />
101 <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string contractName, class System.Type contractType) cil managed" />
102 <MemberType>Constructor</MemberType>
104 <AssemblyVersion>4.0.0.0</AssemblyVersion>
107 <Parameter Name="contractName" Type="System.String" />
108 <Parameter Name="contractType" Type="System.Type" />
111 <remarks>To be added.</remarks>
113 <attribution license="cc4" from="Microsoft" modified="false" />
114 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.ImportManyAttribute" /> class, importing the set of exports with the specified contract name and contract type.</para>
116 <param name="contractName">
117 <attribution license="cc4" from="Microsoft" modified="false" />The contract name of the exports to import, or null or an empty string ("") to use the default contract name.</param>
118 <param name="contractType">
119 <attribution license="cc4" from="Microsoft" modified="false" />The type of the export to import.</param>
122 <Member MemberName="AllowRecomposition">
123 <MemberSignature Language="C#" Value="public bool AllowRecomposition { get; set; }" />
124 <MemberSignature Language="ILAsm" Value=".property instance bool AllowRecomposition" />
125 <MemberType>Property</MemberType>
127 <AssemblyVersion>4.0.0.0</AssemblyVersion>
130 <ReturnType>System.Boolean</ReturnType>
133 <value>To be added.</value>
134 <remarks>To be added.</remarks>
136 <attribution license="cc4" from="Microsoft" modified="false" />
137 <para>Gets or sets a value indicating whether the decorated property or field will be recomposed when exports that provide the matching contract change.</para>
141 <Member MemberName="ContractName">
142 <MemberSignature Language="C#" Value="public string ContractName { get; }" />
143 <MemberSignature Language="ILAsm" Value=".property instance string ContractName" />
144 <MemberType>Property</MemberType>
146 <AssemblyVersion>4.0.0.0</AssemblyVersion>
149 <ReturnType>System.String</ReturnType>
152 <value>To be added.</value>
153 <remarks>To be added.</remarks>
155 <attribution license="cc4" from="Microsoft" modified="false" />
156 <para>Gets the contract name of the exports to import.</para>
160 <Member MemberName="ContractType">
161 <MemberSignature Language="C#" Value="public Type ContractType { get; }" />
162 <MemberSignature Language="ILAsm" Value=".property instance class System.Type ContractType" />
163 <MemberType>Property</MemberType>
165 <AssemblyVersion>4.0.0.0</AssemblyVersion>
168 <ReturnType>System.Type</ReturnType>
171 <value>To be added.</value>
172 <remarks>To be added.</remarks>
174 <attribution license="cc4" from="Microsoft" modified="false" />
175 <para>Gets the contract type of the export to import.</para>
179 <Member MemberName="RequiredCreationPolicy">
180 <MemberSignature Language="C#" Value="public System.ComponentModel.Composition.CreationPolicy RequiredCreationPolicy { get; set; }" />
181 <MemberSignature Language="ILAsm" Value=".property instance valuetype System.ComponentModel.Composition.CreationPolicy RequiredCreationPolicy" />
182 <MemberType>Property</MemberType>
184 <AssemblyVersion>4.0.0.0</AssemblyVersion>
187 <ReturnType>System.ComponentModel.Composition.CreationPolicy</ReturnType>
190 <value>To be added.</value>
191 <remarks>To be added.</remarks>
193 <attribution license="cc4" from="Microsoft" modified="false" />
194 <para>Gets or sets a value that indicates that the importer requires a specific <see cref="T:System.ComponentModel.Composition.CreationPolicy" /> for the exports used to satisfy this import. </para>
198 <Member MemberName="Source">
199 <MemberSignature Language="C#" Value="public System.ComponentModel.Composition.ImportSource Source { get; set; }" />
200 <MemberSignature Language="ILAsm" Value=".property instance valuetype System.ComponentModel.Composition.ImportSource Source" />
201 <MemberType>Property</MemberType>
203 <AssemblyVersion>4.0.0.0</AssemblyVersion>
206 <ReturnType>System.ComponentModel.Composition.ImportSource</ReturnType>
209 <value>To be added.</value>
210 <remarks>To be added.</remarks>
212 <attribution license="cc4" from="Microsoft" modified="false" />
213 <para>Gets or sets a value that specifies the scopes from which this import may be satisfied.</para>
217 <Member MemberName="System.ComponentModel.Composition.IAttributedImport.Cardinality">
218 <MemberSignature Language="C#" Value="System.ComponentModel.Composition.Primitives.ImportCardinality System.ComponentModel.Composition.IAttributedImport.Cardinality { get; }" />
219 <MemberSignature Language="ILAsm" Value=".property instance valuetype System.ComponentModel.Composition.Primitives.ImportCardinality System.ComponentModel.Composition.IAttributedImport.Cardinality" />
220 <MemberType>Property</MemberType>
222 <AssemblyVersion>4.0.0.0</AssemblyVersion>
225 <ReturnType>System.ComponentModel.Composition.Primitives.ImportCardinality</ReturnType>
228 <summary>To be added.</summary>
229 <value>To be added.</value>
230 <remarks>To be added.</remarks>