1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="ComposablePartDefinition" FullName="System.ComponentModel.Composition.Primitives.ComposablePartDefinition">
3 <TypeSignature Language="C#" Value="public abstract class ComposablePartDefinition" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit ComposablePartDefinition extends System.Object" />
6 <AssemblyName>System.ComponentModel.Composition</AssemblyName>
7 <AssemblyVersion>4.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.Object</BaseTypeName>
14 <remarks>To be added.</remarks>
16 <attribution license="cc4" from="Microsoft" modified="false" />
17 <para>Defines an abstract base class for composable part definitions, which describe and enable the creation of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> objects.</para>
21 <Member MemberName=".ctor">
22 <MemberSignature Language="C#" Value="protected ComposablePartDefinition ();" />
23 <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
24 <MemberType>Constructor</MemberType>
26 <AssemblyVersion>4.0.0.0</AssemblyVersion>
30 <remarks>To be added.</remarks>
32 <attribution license="cc4" from="Microsoft" modified="false" />
33 <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition" /> class.</para>
37 <Member MemberName="CreatePart">
38 <MemberSignature Language="C#" Value="public abstract System.ComponentModel.Composition.Primitives.ComposablePart CreatePart ();" />
39 <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.ComponentModel.Composition.Primitives.ComposablePart CreatePart() cil managed" />
40 <MemberType>Method</MemberType>
42 <AssemblyVersion>4.0.0.0</AssemblyVersion>
45 <ReturnType>System.ComponentModel.Composition.Primitives.ComposablePart</ReturnType>
50 <attribution license="cc4" from="Microsoft" modified="false" />
51 <para>Derived types that override this method should return a new instance of a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> object every time that the method is invoked and should never return null.</para>
54 <attribution license="cc4" from="Microsoft" modified="false" />
55 <para>Creates a new instance of a part that the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition" /> describes.</para>
58 <attribution license="cc4" from="Microsoft" modified="false" />
59 <para>The created part.</para>
63 <Member MemberName="ExportDefinitions">
64 <MemberSignature Language="C#" Value="public abstract System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition> ExportDefinitions { get; }" />
65 <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IEnumerable`1<class System.ComponentModel.Composition.Primitives.ExportDefinition> ExportDefinitions" />
66 <MemberType>Property</MemberType>
68 <AssemblyVersion>4.0.0.0</AssemblyVersion>
71 <ReturnType>System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ExportDefinition></ReturnType>
74 <value>To be added.</value>
76 <attribution license="cc4" from="Microsoft" modified="false" />
77 <para>Overrides of this property should never return null. If the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> objects created by the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition" /> do not provide exported objects, return an empty <see cref="T:System.Collections.Generic.IEnumerable`1" /> collection instead.</para>
80 <attribution license="cc4" from="Microsoft" modified="false" />
81 <para>Gets a collection of <see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition" /> objects that describe the objects exported by the part defined by this <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition" /> object.</para>
85 <Member MemberName="ImportDefinitions">
86 <MemberSignature Language="C#" Value="public abstract System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ImportDefinition> ImportDefinitions { get; }" />
87 <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IEnumerable`1<class System.ComponentModel.Composition.Primitives.ImportDefinition> ImportDefinitions" />
88 <MemberType>Property</MemberType>
90 <AssemblyVersion>4.0.0.0</AssemblyVersion>
93 <ReturnType>System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.ImportDefinition></ReturnType>
96 <value>To be added.</value>
98 <attribution license="cc4" from="Microsoft" modified="false" />
99 <para>Overrides of this property should never return null. If the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart" /> objects created by the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition" /> do not have imports, return an empty <see cref="T:System.Collections.Generic.IEnumerable`1" /> collection instead.</para>
102 <attribution license="cc4" from="Microsoft" modified="false" />
103 <para>Gets a collection of <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition" /> objects that describe the imports required by the part defined by this <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition" /> object.</para>
107 <Member MemberName="Metadata">
108 <MemberSignature Language="C#" Value="public virtual System.Collections.Generic.IDictionary<string,object> Metadata { get; }" />
109 <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.Generic.IDictionary`2<string, object> Metadata" />
110 <MemberType>Property</MemberType>
112 <AssemblyVersion>4.0.0.0</AssemblyVersion>
115 <ReturnType>System.Collections.Generic.IDictionary<System.String,System.Object></ReturnType>
118 <value>To be added.</value>
120 <attribution license="cc4" from="Microsoft" modified="false" />
121 <para>Overrides of this property should return a read-only <see cref="T:System.Collections.Generic.IDictionary`2" /> object with a case-sensitive, non-linguistic comparer, such as <see cref="P:System.StringComparer.Ordinal" />, and should never return null. If the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition" /> does not contain metadata, return an empty <see cref="T:System.Collections.Generic.IDictionary`2" /> object instead.</para>
124 <attribution license="cc4" from="Microsoft" modified="false" />
125 <para>Gets a collection of the metadata for this <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition" /> object.</para>