Implement MachineKey.Protect and MachineKey.Unprotect
[mono.git] / mcs / class / System.ComponentModel.Composition / Documentation / en / System.ComponentModel.Composition / ImportManyAttribute.xml
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" />
5   <AssemblyInfo>
6     <AssemblyName>System.ComponentModel.Composition</AssemblyName>
7     <AssemblyVersion>4.0.0.0</AssemblyVersion>
8   </AssemblyInfo>
9   <Base>
10     <BaseTypeName>System.Attribute</BaseTypeName>
11   </Base>
12   <Interfaces>
13     <Interface>
14       <InterfaceName>System.ComponentModel.Composition.IAttributedImport</InterfaceName>
15     </Interface>
16   </Interfaces>
17   <Attributes>
18     <Attribute>
19       <AttributeName>System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)</AttributeName>
20     </Attribute>
21   </Attributes>
22   <Docs>
23     <remarks>To be added.</remarks>
24     <summary>
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>
27     </summary>
28   </Docs>
29   <Members>
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>
34       <AssemblyInfo>
35         <AssemblyVersion>4.0.0.0</AssemblyVersion>
36       </AssemblyInfo>
37       <Parameters />
38       <Docs>
39         <remarks>
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>
43         </remarks>
44         <summary>
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>
47         </summary>
48       </Docs>
49     </Member>
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>
54       <AssemblyInfo>
55         <AssemblyVersion>4.0.0.0</AssemblyVersion>
56       </AssemblyInfo>
57       <Parameters>
58         <Parameter Name="contractName" Type="System.String" />
59       </Parameters>
60       <Docs>
61         <remarks>
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>
65         </remarks>
66         <summary>
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>
69         </summary>
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>
72       </Docs>
73     </Member>
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>
78       <AssemblyInfo>
79         <AssemblyVersion>4.0.0.0</AssemblyVersion>
80       </AssemblyInfo>
81       <Parameters>
82         <Parameter Name="contractType" Type="System.Type" />
83       </Parameters>
84       <Docs>
85         <remarks>
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>
90         </remarks>
91         <summary>
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>
94         </summary>
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>
97       </Docs>
98     </Member>
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>
103       <AssemblyInfo>
104         <AssemblyVersion>4.0.0.0</AssemblyVersion>
105       </AssemblyInfo>
106       <Parameters>
107         <Parameter Name="contractName" Type="System.String" />
108         <Parameter Name="contractType" Type="System.Type" />
109       </Parameters>
110       <Docs>
111         <remarks>To be added.</remarks>
112         <summary>
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>
115         </summary>
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>
120       </Docs>
121     </Member>
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>
126       <AssemblyInfo>
127         <AssemblyVersion>4.0.0.0</AssemblyVersion>
128       </AssemblyInfo>
129       <ReturnValue>
130         <ReturnType>System.Boolean</ReturnType>
131       </ReturnValue>
132       <Docs>
133         <value>To be added.</value>
134         <remarks>To be added.</remarks>
135         <summary>
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>
138         </summary>
139       </Docs>
140     </Member>
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>
145       <AssemblyInfo>
146         <AssemblyVersion>4.0.0.0</AssemblyVersion>
147       </AssemblyInfo>
148       <ReturnValue>
149         <ReturnType>System.String</ReturnType>
150       </ReturnValue>
151       <Docs>
152         <value>To be added.</value>
153         <remarks>To be added.</remarks>
154         <summary>
155           <attribution license="cc4" from="Microsoft" modified="false" />
156           <para>Gets the contract name of the exports to import.</para>
157         </summary>
158       </Docs>
159     </Member>
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>
164       <AssemblyInfo>
165         <AssemblyVersion>4.0.0.0</AssemblyVersion>
166       </AssemblyInfo>
167       <ReturnValue>
168         <ReturnType>System.Type</ReturnType>
169       </ReturnValue>
170       <Docs>
171         <value>To be added.</value>
172         <remarks>To be added.</remarks>
173         <summary>
174           <attribution license="cc4" from="Microsoft" modified="false" />
175           <para>Gets the contract type of the export to import.</para>
176         </summary>
177       </Docs>
178     </Member>
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>
183       <AssemblyInfo>
184         <AssemblyVersion>4.0.0.0</AssemblyVersion>
185       </AssemblyInfo>
186       <ReturnValue>
187         <ReturnType>System.ComponentModel.Composition.CreationPolicy</ReturnType>
188       </ReturnValue>
189       <Docs>
190         <value>To be added.</value>
191         <remarks>To be added.</remarks>
192         <summary>
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>
195         </summary>
196       </Docs>
197     </Member>
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>
202       <AssemblyInfo>
203         <AssemblyVersion>4.0.0.0</AssemblyVersion>
204       </AssemblyInfo>
205       <ReturnValue>
206         <ReturnType>System.ComponentModel.Composition.ImportSource</ReturnType>
207       </ReturnValue>
208       <Docs>
209         <value>To be added.</value>
210         <remarks>To be added.</remarks>
211         <summary>
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>
214         </summary>
215       </Docs>
216     </Member>
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>
221       <AssemblyInfo>
222         <AssemblyVersion>4.0.0.0</AssemblyVersion>
223       </AssemblyInfo>
224       <ReturnValue>
225         <ReturnType>System.ComponentModel.Composition.Primitives.ImportCardinality</ReturnType>
226       </ReturnValue>
227       <Docs>
228         <summary>To be added.</summary>
229         <value>To be added.</value>
230         <remarks>To be added.</remarks>
231       </Docs>
232     </Member>
233   </Members>
234 </Type>