updfate 20250919

This commit is contained in:
Stefan Hutter
2025-09-19 14:20:47 +02:00
parent 98dc8ed0cb
commit d81d620468
2488 changed files with 1833953 additions and 103283 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -0,0 +1,23 @@
The MIT License (MIT)
Copyright (c) .NET Foundation and Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,88 @@
## About
<!-- A description of the package and where one can find more documentation -->
`System.Composition.TypedParts` is part of the Managed Extensibility Framework (MEF) 2.0, a composition library for .NET that enables dependency injection through attributes or conventions.
Provides `ContainerConfiguration` and some extension methods for the Managed Extensibility Framework (MEF).
## Key Features
<!-- The key features of this package -->
* Provides container configuration.
## How to Use
<!-- A compelling example on how to use this package with code, as well as any specific guidelines for when to use the package -->
Register parts from an entire assembly.
```csharp
using System.Composition;
using System.Composition.Hosting;
using System.Reflection;
// Register all parts from the current assembly
var configuration = new ContainerConfiguration()
.WithAssembly(Assembly.GetExecutingAssembly());
using CompositionHost container = configuration.CreateContainer();
var handlers = container.GetExports<IHandler>();
foreach (var handler in handlers)
{
handler.Handle();
}
// HandlerA is handling.
// HandlerB is handling.
public interface IHandler
{
void Handle();
}
[Export(typeof(IHandler))]
public class HandlerA : IHandler
{
public void Handle() => Console.WriteLine("HandlerA is handling.");
}
[Export(typeof(IHandler))]
public class HandlerB : IHandler
{
public void Handle() => Console.WriteLine("HandlerB is handling.");
}
```
## Main Types
<!-- The main types provided in this library -->
The main types provided by this library are:
* `System.Composition.Hosting.ContainerConfiguration`
* `System.Composition.CompositionContextExtensions`
## Additional Documentation
<!-- Links to further documentation. Remove conceptual documentation if not available for the library. -->
* [Managed Extensibility Framework (MEF)](https://learn.microsoft.com/dotnet/framework/mef/)
## Related Packages
<!-- The related packages associated with this package -->
* [System.Composition](https://www.nuget.org/packages/System.Composition)
* [System.Composition.AttributedModel](https://www.nuget.org/packages/System.Composition.AttributedModel)
* [System.Composition.Convention](https://www.nuget.org/packages/System.Composition.Convention)
* [System.Composition.Hosting](https://www.nuget.org/packages/System.Composition.Hosting)
* [System.Composition.Runtime](https://www.nuget.org/packages/System.Composition.Runtime)
## Feedback & Contributing
<!-- How to provide feedback on this package and contribute to it -->
System.Composition.TypedParts is released as open source under the [MIT license](https://licenses.nuget.org/MIT).
Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/runtime).

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
<Project InitialTargets="NETStandardCompatError_System_Composition_TypedParts_net462">
<Target Name="NETStandardCompatError_System_Composition_TypedParts_net462"
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
<Warning Text="System.Composition.TypedParts 9.0.0 doesn't support $(TargetFramework) and has not been tested with it. Consider upgrading your TargetFramework to net462 or later. You may also set &lt;SuppressTfmSupportBuildWarnings&gt;true&lt;/SuppressTfmSupportBuildWarnings&gt; in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
</Target>
</Project>

View File

@@ -0,0 +1,6 @@
<Project InitialTargets="NETStandardCompatError_System_Composition_TypedParts_net8_0">
<Target Name="NETStandardCompatError_System_Composition_TypedParts_net8_0"
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
<Warning Text="System.Composition.TypedParts 9.0.0 doesn't support $(TargetFramework) and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set &lt;SuppressTfmSupportBuildWarnings&gt;true&lt;/SuppressTfmSupportBuildWarnings&gt; in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
</Target>
</Project>

View File

@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Composition.TypedParts</name>
</assembly>
<members>
<member name="T:System.Composition.CompositionContextExtensions">
<summary>Adds methods to the composition context that are specific to the typed parts model.</summary>
</member>
<member name="M:System.Composition.CompositionContextExtensions.SatisfyImports(System.Composition.CompositionContext,System.Object,System.Composition.Convention.AttributedModelProvider)">
<summary>Satisfies the imports of the specified object from the specified context, using the specified conventions.</summary>
<param name="compositionContext">The context to draw exports from.</param>
<param name="objectWithLooseImports">The object to satisfy imports on.</param>
<param name="conventions">Conventions to use when satisfying imports.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="compositionContext" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="objectWithLooseImports" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="conventions" /> is <see langword="null" />.</exception>
<exception cref="T:System.Composition.Hosting.CompositionFailedException">
<paramref name="objectWithLooseImports" /> has a missing dependency.</exception>
</member>
<member name="M:System.Composition.CompositionContextExtensions.SatisfyImports(System.Composition.CompositionContext,System.Object)">
<summary>Satisfies the imports of the specified object from the specified context.</summary>
<param name="compositionContext">The context to draw exports from.</param>
<param name="objectWithLooseImports">The object to satisfy imports on.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="compositionContext" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="objectWithLooseImports" /> is <see langword="null" />.</exception>
<exception cref="T:System.Composition.Hosting.CompositionFailedException">
<paramref name="objectWithLooseImports" /> has a missing dependency.</exception>
</member>
<member name="T:System.Composition.Hosting.ContainerConfiguration">
<summary>Configures and constructs a lightweight container.</summary>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.ContainerConfiguration" /> class.</summary>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.CreateContainer">
<summary>Creates the container.</summary>
<returns>The created container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly},System.Composition.Convention.AttributedModelProvider)">
<summary>Adds part types from the specified collection of assemblies to the container, using the specified conventions.</summary>
<param name="assemblies">The assemblies to add part types from.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly})">
<summary>Adds part types from the specified collection of assemblies to the container.</summary>
<param name="assemblies">The assemblies to add part types from.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssembly(System.Reflection.Assembly,System.Composition.Convention.AttributedModelProvider)">
<summary>Adds part types from the specified assembly to the container, using the specified conventions.</summary>
<param name="assembly">The assembly to add part types from.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssembly(System.Reflection.Assembly)">
<summary>Adds part types from the specified assembly to the container.</summary>
<param name="assembly">The assembly to add part types from.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithDefaultConventions(System.Composition.Convention.AttributedModelProvider)">
<summary>Specifies the default conventions to use for added parts.</summary>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport(System.Type,System.Object,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Add a single instance to the container.</summary>
<param name="contractType">The type of the contract of the instance.</param>
<param name="exportedInstance">The instance to add to the container.</param>
<param name="contractName">An optional name that distinguishes this contract from others with the same type.</param>
<param name="metadata">Optionally, a non-empty collection of named constraints that apply to the contract.</param>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport(System.Type,System.Object)">
<summary>Add a single instance to the container.</summary>
<param name="contractType">The type of the contract of the instance.</param>
<param name="exportedInstance">The instance to add to the container.</param>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport``1(``0,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Add a single instance to the container.</summary>
<param name="exportedInstance">The instance to add to the container.</param>
<param name="contractName">Optionally, a name that distinguishes this contract from others with the same type.</param>
<param name="metadata">Optionally, a non-empty collection of named constraints that apply to the contract.</param>
<typeparam name="TExport">The type of the contract of the instance.</typeparam>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport``1(``0)">
<summary>Add a single instance to the container.</summary>
<param name="exportedInstance">The instance to add to the container.</param>
<typeparam name="TExport">The type of the contract of the instance.</typeparam>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart(System.Type,System.Composition.Convention.AttributedModelProvider)">
<summary>Adds a specified part type to the container.</summary>
<param name="partType">The part type to add.</param>
<param name="conventions">The conventions to use for the part type.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart(System.Type)">
<summary>Adds a specified part type to the container.</summary>
<param name="partType">The part type to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart``1">
<summary>Adds the specified type to the container.</summary>
<typeparam name="TPart">The type to add.</typeparam>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart``1(System.Composition.Convention.AttributedModelProvider)">
<summary>Adds the specified type to the container using the specified conventions.</summary>
<param name="conventions">The conventions to use for the part type.</param>
<typeparam name="TPart">The type to add.</typeparam>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Collections.Generic.IEnumerable{System.Type},System.Composition.Convention.AttributedModelProvider)">
<summary>Adds the specified part types to the container using the specified conventions.</summary>
<param name="partTypes">A collection of part types to add.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Collections.Generic.IEnumerable{System.Type})">
<summary>Adds the specified part types to the container.</summary>
<param name="partTypes">A collection of part types to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Type[])">
<summary>Adds the specified array of part types to the container.</summary>
<param name="partTypes">An array of part types to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithProvider(System.Composition.Hosting.Core.ExportDescriptorProvider)">
<summary>Adds the specified provider to the container.</summary>
<param name="exportDescriptorProvider">The provider to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
</members>
</doc>

View File

@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Composition.TypedParts</name>
</assembly>
<members>
<member name="T:System.Composition.CompositionContextExtensions">
<summary>Adds methods to the composition context that are specific to the typed parts model.</summary>
</member>
<member name="M:System.Composition.CompositionContextExtensions.SatisfyImports(System.Composition.CompositionContext,System.Object,System.Composition.Convention.AttributedModelProvider)">
<summary>Satisfies the imports of the specified object from the specified context, using the specified conventions.</summary>
<param name="compositionContext">The context to draw exports from.</param>
<param name="objectWithLooseImports">The object to satisfy imports on.</param>
<param name="conventions">Conventions to use when satisfying imports.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="compositionContext" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="objectWithLooseImports" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="conventions" /> is <see langword="null" />.</exception>
<exception cref="T:System.Composition.Hosting.CompositionFailedException">
<paramref name="objectWithLooseImports" /> has a missing dependency.</exception>
</member>
<member name="M:System.Composition.CompositionContextExtensions.SatisfyImports(System.Composition.CompositionContext,System.Object)">
<summary>Satisfies the imports of the specified object from the specified context.</summary>
<param name="compositionContext">The context to draw exports from.</param>
<param name="objectWithLooseImports">The object to satisfy imports on.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="compositionContext" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="objectWithLooseImports" /> is <see langword="null" />.</exception>
<exception cref="T:System.Composition.Hosting.CompositionFailedException">
<paramref name="objectWithLooseImports" /> has a missing dependency.</exception>
</member>
<member name="T:System.Composition.Hosting.ContainerConfiguration">
<summary>Configures and constructs a lightweight container.</summary>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.ContainerConfiguration" /> class.</summary>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.CreateContainer">
<summary>Creates the container.</summary>
<returns>The created container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly},System.Composition.Convention.AttributedModelProvider)">
<summary>Adds part types from the specified collection of assemblies to the container, using the specified conventions.</summary>
<param name="assemblies">The assemblies to add part types from.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly})">
<summary>Adds part types from the specified collection of assemblies to the container.</summary>
<param name="assemblies">The assemblies to add part types from.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssembly(System.Reflection.Assembly,System.Composition.Convention.AttributedModelProvider)">
<summary>Adds part types from the specified assembly to the container, using the specified conventions.</summary>
<param name="assembly">The assembly to add part types from.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssembly(System.Reflection.Assembly)">
<summary>Adds part types from the specified assembly to the container.</summary>
<param name="assembly">The assembly to add part types from.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithDefaultConventions(System.Composition.Convention.AttributedModelProvider)">
<summary>Specifies the default conventions to use for added parts.</summary>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport(System.Type,System.Object,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Add a single instance to the container.</summary>
<param name="contractType">The type of the contract of the instance.</param>
<param name="exportedInstance">The instance to add to the container.</param>
<param name="contractName">An optional name that distinguishes this contract from others with the same type.</param>
<param name="metadata">Optionally, a non-empty collection of named constraints that apply to the contract.</param>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport(System.Type,System.Object)">
<summary>Add a single instance to the container.</summary>
<param name="contractType">The type of the contract of the instance.</param>
<param name="exportedInstance">The instance to add to the container.</param>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport``1(``0,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Add a single instance to the container.</summary>
<param name="exportedInstance">The instance to add to the container.</param>
<param name="contractName">Optionally, a name that distinguishes this contract from others with the same type.</param>
<param name="metadata">Optionally, a non-empty collection of named constraints that apply to the contract.</param>
<typeparam name="TExport">The type of the contract of the instance.</typeparam>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport``1(``0)">
<summary>Add a single instance to the container.</summary>
<param name="exportedInstance">The instance to add to the container.</param>
<typeparam name="TExport">The type of the contract of the instance.</typeparam>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart(System.Type,System.Composition.Convention.AttributedModelProvider)">
<summary>Adds a specified part type to the container.</summary>
<param name="partType">The part type to add.</param>
<param name="conventions">The conventions to use for the part type.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart(System.Type)">
<summary>Adds a specified part type to the container.</summary>
<param name="partType">The part type to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart``1">
<summary>Adds the specified type to the container.</summary>
<typeparam name="TPart">The type to add.</typeparam>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart``1(System.Composition.Convention.AttributedModelProvider)">
<summary>Adds the specified type to the container using the specified conventions.</summary>
<param name="conventions">The conventions to use for the part type.</param>
<typeparam name="TPart">The type to add.</typeparam>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Collections.Generic.IEnumerable{System.Type},System.Composition.Convention.AttributedModelProvider)">
<summary>Adds the specified part types to the container using the specified conventions.</summary>
<param name="partTypes">A collection of part types to add.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Collections.Generic.IEnumerable{System.Type})">
<summary>Adds the specified part types to the container.</summary>
<param name="partTypes">A collection of part types to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Type[])">
<summary>Adds the specified array of part types to the container.</summary>
<param name="partTypes">An array of part types to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithProvider(System.Composition.Hosting.Core.ExportDescriptorProvider)">
<summary>Adds the specified provider to the container.</summary>
<param name="exportDescriptorProvider">The provider to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
</members>
</doc>

View File

@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Composition.TypedParts</name>
</assembly>
<members>
<member name="T:System.Composition.CompositionContextExtensions">
<summary>Adds methods to the composition context that are specific to the typed parts model.</summary>
</member>
<member name="M:System.Composition.CompositionContextExtensions.SatisfyImports(System.Composition.CompositionContext,System.Object,System.Composition.Convention.AttributedModelProvider)">
<summary>Satisfies the imports of the specified object from the specified context, using the specified conventions.</summary>
<param name="compositionContext">The context to draw exports from.</param>
<param name="objectWithLooseImports">The object to satisfy imports on.</param>
<param name="conventions">Conventions to use when satisfying imports.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="compositionContext" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="objectWithLooseImports" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="conventions" /> is <see langword="null" />.</exception>
<exception cref="T:System.Composition.Hosting.CompositionFailedException">
<paramref name="objectWithLooseImports" /> has a missing dependency.</exception>
</member>
<member name="M:System.Composition.CompositionContextExtensions.SatisfyImports(System.Composition.CompositionContext,System.Object)">
<summary>Satisfies the imports of the specified object from the specified context.</summary>
<param name="compositionContext">The context to draw exports from.</param>
<param name="objectWithLooseImports">The object to satisfy imports on.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="compositionContext" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="objectWithLooseImports" /> is <see langword="null" />.</exception>
<exception cref="T:System.Composition.Hosting.CompositionFailedException">
<paramref name="objectWithLooseImports" /> has a missing dependency.</exception>
</member>
<member name="T:System.Composition.Hosting.ContainerConfiguration">
<summary>Configures and constructs a lightweight container.</summary>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.ContainerConfiguration" /> class.</summary>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.CreateContainer">
<summary>Creates the container.</summary>
<returns>The created container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly},System.Composition.Convention.AttributedModelProvider)">
<summary>Adds part types from the specified collection of assemblies to the container, using the specified conventions.</summary>
<param name="assemblies">The assemblies to add part types from.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly})">
<summary>Adds part types from the specified collection of assemblies to the container.</summary>
<param name="assemblies">The assemblies to add part types from.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssembly(System.Reflection.Assembly,System.Composition.Convention.AttributedModelProvider)">
<summary>Adds part types from the specified assembly to the container, using the specified conventions.</summary>
<param name="assembly">The assembly to add part types from.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssembly(System.Reflection.Assembly)">
<summary>Adds part types from the specified assembly to the container.</summary>
<param name="assembly">The assembly to add part types from.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithDefaultConventions(System.Composition.Convention.AttributedModelProvider)">
<summary>Specifies the default conventions to use for added parts.</summary>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport(System.Type,System.Object,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Add a single instance to the container.</summary>
<param name="contractType">The type of the contract of the instance.</param>
<param name="exportedInstance">The instance to add to the container.</param>
<param name="contractName">An optional name that distinguishes this contract from others with the same type.</param>
<param name="metadata">Optionally, a non-empty collection of named constraints that apply to the contract.</param>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport(System.Type,System.Object)">
<summary>Add a single instance to the container.</summary>
<param name="contractType">The type of the contract of the instance.</param>
<param name="exportedInstance">The instance to add to the container.</param>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport``1(``0,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Add a single instance to the container.</summary>
<param name="exportedInstance">The instance to add to the container.</param>
<param name="contractName">Optionally, a name that distinguishes this contract from others with the same type.</param>
<param name="metadata">Optionally, a non-empty collection of named constraints that apply to the contract.</param>
<typeparam name="TExport">The type of the contract of the instance.</typeparam>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport``1(``0)">
<summary>Add a single instance to the container.</summary>
<param name="exportedInstance">The instance to add to the container.</param>
<typeparam name="TExport">The type of the contract of the instance.</typeparam>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart(System.Type,System.Composition.Convention.AttributedModelProvider)">
<summary>Adds a specified part type to the container.</summary>
<param name="partType">The part type to add.</param>
<param name="conventions">The conventions to use for the part type.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart(System.Type)">
<summary>Adds a specified part type to the container.</summary>
<param name="partType">The part type to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart``1">
<summary>Adds the specified type to the container.</summary>
<typeparam name="TPart">The type to add.</typeparam>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart``1(System.Composition.Convention.AttributedModelProvider)">
<summary>Adds the specified type to the container using the specified conventions.</summary>
<param name="conventions">The conventions to use for the part type.</param>
<typeparam name="TPart">The type to add.</typeparam>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Collections.Generic.IEnumerable{System.Type},System.Composition.Convention.AttributedModelProvider)">
<summary>Adds the specified part types to the container using the specified conventions.</summary>
<param name="partTypes">A collection of part types to add.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Collections.Generic.IEnumerable{System.Type})">
<summary>Adds the specified part types to the container.</summary>
<param name="partTypes">A collection of part types to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Type[])">
<summary>Adds the specified array of part types to the container.</summary>
<param name="partTypes">An array of part types to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithProvider(System.Composition.Hosting.Core.ExportDescriptorProvider)">
<summary>Adds the specified provider to the container.</summary>
<param name="exportDescriptorProvider">The provider to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
</members>
</doc>

View File

@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Composition.TypedParts</name>
</assembly>
<members>
<member name="T:System.Composition.CompositionContextExtensions">
<summary>Adds methods to the composition context that are specific to the typed parts model.</summary>
</member>
<member name="M:System.Composition.CompositionContextExtensions.SatisfyImports(System.Composition.CompositionContext,System.Object,System.Composition.Convention.AttributedModelProvider)">
<summary>Satisfies the imports of the specified object from the specified context, using the specified conventions.</summary>
<param name="compositionContext">The context to draw exports from.</param>
<param name="objectWithLooseImports">The object to satisfy imports on.</param>
<param name="conventions">Conventions to use when satisfying imports.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="compositionContext" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="objectWithLooseImports" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="conventions" /> is <see langword="null" />.</exception>
<exception cref="T:System.Composition.Hosting.CompositionFailedException">
<paramref name="objectWithLooseImports" /> has a missing dependency.</exception>
</member>
<member name="M:System.Composition.CompositionContextExtensions.SatisfyImports(System.Composition.CompositionContext,System.Object)">
<summary>Satisfies the imports of the specified object from the specified context.</summary>
<param name="compositionContext">The context to draw exports from.</param>
<param name="objectWithLooseImports">The object to satisfy imports on.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="compositionContext" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="objectWithLooseImports" /> is <see langword="null" />.</exception>
<exception cref="T:System.Composition.Hosting.CompositionFailedException">
<paramref name="objectWithLooseImports" /> has a missing dependency.</exception>
</member>
<member name="T:System.Composition.Hosting.ContainerConfiguration">
<summary>Configures and constructs a lightweight container.</summary>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.ContainerConfiguration" /> class.</summary>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.CreateContainer">
<summary>Creates the container.</summary>
<returns>The created container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly},System.Composition.Convention.AttributedModelProvider)">
<summary>Adds part types from the specified collection of assemblies to the container, using the specified conventions.</summary>
<param name="assemblies">The assemblies to add part types from.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssemblies(System.Collections.Generic.IEnumerable{System.Reflection.Assembly})">
<summary>Adds part types from the specified collection of assemblies to the container.</summary>
<param name="assemblies">The assemblies to add part types from.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssembly(System.Reflection.Assembly,System.Composition.Convention.AttributedModelProvider)">
<summary>Adds part types from the specified assembly to the container, using the specified conventions.</summary>
<param name="assembly">The assembly to add part types from.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithAssembly(System.Reflection.Assembly)">
<summary>Adds part types from the specified assembly to the container.</summary>
<param name="assembly">The assembly to add part types from.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithDefaultConventions(System.Composition.Convention.AttributedModelProvider)">
<summary>Specifies the default conventions to use for added parts.</summary>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport(System.Type,System.Object,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Add a single instance to the container.</summary>
<param name="contractType">The type of the contract of the instance.</param>
<param name="exportedInstance">The instance to add to the container.</param>
<param name="contractName">An optional name that distinguishes this contract from others with the same type.</param>
<param name="metadata">Optionally, a non-empty collection of named constraints that apply to the contract.</param>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport(System.Type,System.Object)">
<summary>Add a single instance to the container.</summary>
<param name="contractType">The type of the contract of the instance.</param>
<param name="exportedInstance">The instance to add to the container.</param>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport``1(``0,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>Add a single instance to the container.</summary>
<param name="exportedInstance">The instance to add to the container.</param>
<param name="contractName">Optionally, a name that distinguishes this contract from others with the same type.</param>
<param name="metadata">Optionally, a non-empty collection of named constraints that apply to the contract.</param>
<typeparam name="TExport">The type of the contract of the instance.</typeparam>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithExport``1(``0)">
<summary>Add a single instance to the container.</summary>
<param name="exportedInstance">The instance to add to the container.</param>
<typeparam name="TExport">The type of the contract of the instance.</typeparam>
<returns>A configuration object allowing configuration to continue.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart(System.Type,System.Composition.Convention.AttributedModelProvider)">
<summary>Adds a specified part type to the container.</summary>
<param name="partType">The part type to add.</param>
<param name="conventions">The conventions to use for the part type.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart(System.Type)">
<summary>Adds a specified part type to the container.</summary>
<param name="partType">The part type to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart``1">
<summary>Adds the specified type to the container.</summary>
<typeparam name="TPart">The type to add.</typeparam>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithPart``1(System.Composition.Convention.AttributedModelProvider)">
<summary>Adds the specified type to the container using the specified conventions.</summary>
<param name="conventions">The conventions to use for the part type.</param>
<typeparam name="TPart">The type to add.</typeparam>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Collections.Generic.IEnumerable{System.Type},System.Composition.Convention.AttributedModelProvider)">
<summary>Adds the specified part types to the container using the specified conventions.</summary>
<param name="partTypes">A collection of part types to add.</param>
<param name="conventions">The conventions to use for part types.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Collections.Generic.IEnumerable{System.Type})">
<summary>Adds the specified part types to the container.</summary>
<param name="partTypes">A collection of part types to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithParts(System.Type[])">
<summary>Adds the specified array of part types to the container.</summary>
<param name="partTypes">An array of part types to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
<member name="M:System.Composition.Hosting.ContainerConfiguration.WithProvider(System.Composition.Hosting.Core.ExportDescriptorProvider)">
<summary>Adds the specified provider to the container.</summary>
<param name="exportDescriptorProvider">The provider to add.</param>
<returns>An object that can be used to further configure the container.</returns>
</member>
</members>
</doc>