278 lines
17 KiB
XML
278 lines
17 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Type Name="ImportDefinition" FullName="System.ComponentModel.Composition.Primitives.ImportDefinition">
|
||
|
<TypeSignature Language="C#" Value="public class ImportDefinition" />
|
||
|
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ImportDefinition extends System.Object" />
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyName>System.ComponentModel.Composition</AssemblyName>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Base>
|
||
|
<BaseTypeName>System.Object</BaseTypeName>
|
||
|
</Base>
|
||
|
<Interfaces />
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Represents an import that is required by a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> object.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<Members>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="protected ImportDefinition ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Derived types that call this constructor must override the <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Constraint" /> property, and optionally, the <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Cardinality" />, <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.IsPrerequisite" /> and <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.IsRecomposable" /> properties.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition" /> class.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public ImportDefinition (System.Linq.Expressions.Expression<Func<System.ComponentModel.Composition.Primitives.ExportDefinition,bool>> constraint, string contractName, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Linq.Expressions.Expression`1<class System.Func`2<class System.ComponentModel.Composition.Primitives.ExportDefinition, bool>> constraint, string contractName, valuetype System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite) cil managed" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Parameters>
|
||
|
<Parameter Name="constraint" Type="System.Linq.Expressions.Expression<System.Func<System.ComponentModel.Composition.Primitives.ExportDefinition,System.Boolean>>" />
|
||
|
<Parameter Name="contractName" Type="System.String" />
|
||
|
<Parameter Name="cardinality" Type="System.ComponentModel.Composition.Primitives.ImportCardinality" />
|
||
|
<Parameter Name="isRecomposable" Type="System.Boolean" />
|
||
|
<Parameter Name="isPrerequisite" Type="System.Boolean" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition" /> class with the specified constraint, contract name, and cardinality, and indicates whether the import definition is recomposable or a prerequisite.</para>
|
||
|
</summary>
|
||
|
<param name="constraint">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An expression that contains a <see cref="T:System.Func`2" /> object that defines the conditions an <see cref="T:System.ComponentModel.Composition.Primitives.Export" /> must match to satisfy the import definition.</param>
|
||
|
<param name="contractName">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The contract name.</param>
|
||
|
<param name="cardinality">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the enumeration values that indicates the cardinality of the <see cref="T:System.ComponentModel.Composition.Primitives.Export" /> objects required by the import definition.</param>
|
||
|
<param name="isRecomposable">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />true to specify that the import definition can be satisfied multiple times throughout the lifetime of a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> object; otherwise, false.</param>
|
||
|
<param name="isPrerequisite">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />true to specify that the import definition must be satisfied before a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> can start producing exported objects; otherwise, false.</param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public ImportDefinition (System.Linq.Expressions.Expression<Func<System.ComponentModel.Composition.Primitives.ExportDefinition,bool>> constraint, string contractName, System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite, System.Collections.Generic.IDictionary<string,object> metadata);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Linq.Expressions.Expression`1<class System.Func`2<class System.ComponentModel.Composition.Primitives.ExportDefinition, bool>> constraint, string contractName, valuetype System.ComponentModel.Composition.Primitives.ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite, class System.Collections.Generic.IDictionary`2<string, object> metadata) cil managed" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<Parameters>
|
||
|
<Parameter Name="constraint" Type="System.Linq.Expressions.Expression<System.Func<System.ComponentModel.Composition.Primitives.ExportDefinition,System.Boolean>>" />
|
||
|
<Parameter Name="contractName" Type="System.String" />
|
||
|
<Parameter Name="cardinality" Type="System.ComponentModel.Composition.Primitives.ImportCardinality" />
|
||
|
<Parameter Name="isRecomposable" Type="System.Boolean" />
|
||
|
<Parameter Name="isPrerequisite" Type="System.Boolean" />
|
||
|
<Parameter Name="metadata" Type="System.Collections.Generic.IDictionary<System.String,System.Object>" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition" /> class with the specified constraint, contract name, cardinality, and metadata, and indicates whether the import definition is recomposable or a prerequisite.</para>
|
||
|
</summary>
|
||
|
<param name="constraint">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />An expression that contains a <see cref="T:System.Func`2" /> object that defines the conditions an <see cref="T:System.ComponentModel.Composition.Primitives.Export" /> must match to satisfy the import definition.</param>
|
||
|
<param name="contractName">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The contract name.</param>
|
||
|
<param name="cardinality">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />One of the enumeration values that indicates the cardinality of the <see cref="T:System.ComponentModel.Composition.Primitives.Export" /> objects required by the import definition.</param>
|
||
|
<param name="isRecomposable">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />true to specify that the import definition can be satisfied multiple times throughout the lifetime of a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> object; otherwise, false.</param>
|
||
|
<param name="isPrerequisite">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />true to specify that the import definition must be satisfied before a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> can start producing exported objects; otherwise, false.</param>
|
||
|
<param name="metadata">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The metadata associated with the import.</param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Cardinality">
|
||
|
<MemberSignature Language="C#" Value="public virtual System.ComponentModel.Composition.Primitives.ImportCardinality Cardinality { get; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.ComponentModel.Composition.Primitives.ImportCardinality Cardinality" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.ComponentModel.Composition.Primitives.ImportCardinality</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the cardinality of the exports required by the import definition.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Constraint">
|
||
|
<MemberSignature Language="C#" Value="public virtual System.Linq.Expressions.Expression<Func<System.ComponentModel.Composition.Primitives.ExportDefinition,bool>> Constraint { get; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance class System.Linq.Expressions.Expression`1<class System.Func`2<class System.ComponentModel.Composition.Primitives.ExportDefinition, bool>> Constraint" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Linq.Expressions.Expression<System.Func<System.ComponentModel.Composition.Primitives.ExportDefinition,System.Boolean>></ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Overrides of this property should never return null.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets an expression that defines conditions that the import must satisfy to match the import definition.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="ContractName">
|
||
|
<MemberSignature Language="C#" Value="public virtual string ContractName { get; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance string ContractName" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.String</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the name of the contract.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="IsConstraintSatisfiedBy">
|
||
|
<MemberSignature Language="C#" Value="public virtual bool IsConstraintSatisfiedBy (System.ComponentModel.Composition.Primitives.ExportDefinition exportDefinition);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool IsConstraintSatisfiedBy(class System.ComponentModel.Composition.Primitives.ExportDefinition exportDefinition) cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Boolean</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="exportDefinition" Type="System.ComponentModel.Composition.Primitives.ExportDefinition" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets a value that indicates whether the export represented by the specified definition satisfies the constraints of this import definition.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>true if the constraints are satisfied; otherwise, false.</para>
|
||
|
</returns>
|
||
|
<param name="exportDefinition">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The export definition to test.</param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="IsPrerequisite">
|
||
|
<MemberSignature Language="C#" Value="public virtual bool IsPrerequisite { get; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance bool IsPrerequisite" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Boolean</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets a value that indicates whether the import definition must be satisfied before a part can start producing exported objects.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="IsRecomposable">
|
||
|
<MemberSignature Language="C#" Value="public virtual bool IsRecomposable { get; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance bool IsRecomposable" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Boolean</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets a value that indicates whether the import definition can be satisfied multiple times.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Metadata">
|
||
|
<MemberSignature Language="C#" Value="public virtual System.Collections.Generic.IDictionary<string,object> Metadata { get; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IDictionary`2<string, object> Metadata" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Collections.Generic.IDictionary<System.String,System.Object></ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Docs>
|
||
|
<value>To be added.</value>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>This property should never return null. Imports with no metadata should return an empty <see cref="T:System.Collections.Generic.IDictionary`2" /> collection.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Gets the metadata associated with this import.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="ToString">
|
||
|
<MemberSignature Language="C#" Value="public override string ToString ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.String</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Returns a string representation of the import definition.</para>
|
||
|
</summary>
|
||
|
<returns>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>A string representation of the import definition.</para>
|
||
|
</returns>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
</Members>
|
||
|
</Type>
|