updfate 20250919
This commit is contained in:
BIN
packages/System.Composition.Runtime.9.0.0/.signature.p7s
vendored
Normal file
BIN
packages/System.Composition.Runtime.9.0.0/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/System.Composition.Runtime.9.0.0/Icon.png
vendored
Normal file
BIN
packages/System.Composition.Runtime.9.0.0/Icon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
23
packages/System.Composition.Runtime.9.0.0/LICENSE.TXT
vendored
Normal file
23
packages/System.Composition.Runtime.9.0.0/LICENSE.TXT
vendored
Normal 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.
|
||||
87
packages/System.Composition.Runtime.9.0.0/PACKAGE.md
vendored
Normal file
87
packages/System.Composition.Runtime.9.0.0/PACKAGE.md
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
## About
|
||||
|
||||
<!-- A description of the package and where one can find more documentation -->
|
||||
|
||||
`System.Composition.Runtime` is part of the Managed Extensibility Framework (MEF) 2.0, a composition library for .NET that enables dependency injection through attributes or conventions.
|
||||
|
||||
This package enables the discovery and composition of parts in applications using MEF 2.0.
|
||||
It offers the runtime implementation needed for managing composable parts, resolving dependencies, and dynamically wiring components together.
|
||||
|
||||
## Key Features
|
||||
|
||||
<!-- The key features of this package -->
|
||||
|
||||
* Facilitates runtime discovery and composition of parts.
|
||||
|
||||
## 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 -->
|
||||
|
||||
Resolve dependencies on the fly and can be useful for dynamically loaded components or plugins.
|
||||
|
||||
```csharp
|
||||
using System.Composition;
|
||||
using System.Composition.Hosting;
|
||||
|
||||
var configuration = new ContainerConfiguration()
|
||||
.WithPart<Service>();
|
||||
|
||||
using CompositionHost container = configuration.CreateContainer();
|
||||
|
||||
var consumer = new Consumer(container);
|
||||
consumer.Execute();
|
||||
// Service is running.
|
||||
|
||||
public interface IService
|
||||
{
|
||||
void Run();
|
||||
}
|
||||
|
||||
[Export(typeof(IService))]
|
||||
public class Service : IService
|
||||
{
|
||||
public void Run() => Console.WriteLine("Service is running.");
|
||||
}
|
||||
|
||||
public class Consumer(CompositionContext context)
|
||||
{
|
||||
public void Execute()
|
||||
{
|
||||
// Use the context to resolve the service
|
||||
var service = context.GetExport<IService>();
|
||||
service.Run();
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Main Types
|
||||
|
||||
<!-- The main types provided in this library -->
|
||||
|
||||
The main type provided by this library is:
|
||||
|
||||
* `System.Composition.CompositionContext`
|
||||
|
||||
## Additional Documentation
|
||||
|
||||
<!-- Links to further documentation. Remove conceptual documentation if not available for the library. -->
|
||||
|
||||
* [API documentation](https://learn.microsoft.com/dotnet/api/system.composition.compositioncontext)
|
||||
* [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.TypedParts](https://www.nuget.org/packages/System.Composition.TypedParts)
|
||||
|
||||
## Feedback & Contributing
|
||||
|
||||
<!-- How to provide feedback on this package and contribute to it -->
|
||||
|
||||
System.Composition.Runtime 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).
|
||||
BIN
packages/System.Composition.Runtime.9.0.0/System.Composition.Runtime.9.0.0.nupkg
vendored
Normal file
BIN
packages/System.Composition.Runtime.9.0.0/System.Composition.Runtime.9.0.0.nupkg
vendored
Normal file
Binary file not shown.
1396
packages/System.Composition.Runtime.9.0.0/THIRD-PARTY-NOTICES.TXT
vendored
Normal file
1396
packages/System.Composition.Runtime.9.0.0/THIRD-PARTY-NOTICES.TXT
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="NETStandardCompatError_System_Composition_Runtime_net462">
|
||||
<Target Name="NETStandardCompatError_System_Composition_Runtime_net462"
|
||||
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
|
||||
<Warning Text="System.Composition.Runtime 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 <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
|
||||
</Target>
|
||||
</Project>
|
||||
0
packages/System.Composition.Runtime.9.0.0/buildTransitive/net462/_._
vendored
Normal file
0
packages/System.Composition.Runtime.9.0.0/buildTransitive/net462/_._
vendored
Normal file
0
packages/System.Composition.Runtime.9.0.0/buildTransitive/net8.0/_._
vendored
Normal file
0
packages/System.Composition.Runtime.9.0.0/buildTransitive/net8.0/_._
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="NETStandardCompatError_System_Composition_Runtime_net8_0">
|
||||
<Target Name="NETStandardCompatError_System_Composition_Runtime_net8_0"
|
||||
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
|
||||
<Warning Text="System.Composition.Runtime 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 <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
|
||||
</Target>
|
||||
</Project>
|
||||
BIN
packages/System.Composition.Runtime.9.0.0/lib/net462/System.Composition.Runtime.dll
vendored
Normal file
BIN
packages/System.Composition.Runtime.9.0.0/lib/net462/System.Composition.Runtime.dll
vendored
Normal file
Binary file not shown.
231
packages/System.Composition.Runtime.9.0.0/lib/net462/System.Composition.Runtime.xml
vendored
Normal file
231
packages/System.Composition.Runtime.9.0.0/lib/net462/System.Composition.Runtime.xml
vendored
Normal file
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Composition.Runtime</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Composition.CompositionContext">
|
||||
<summary>Provides methods to retrieve exports from the composition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.CompositionContext" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Composition.Hosting.Core.CompositionContract)">
|
||||
<summary>Retrieves the export that matches the specified contract.</summary>
|
||||
<param name="contract">The contract to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Type,System.String)">
|
||||
<summary>Retrieves the export that matches the specified name and type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="exportType" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Type)">
|
||||
<summary>Retrieves the export that matches the specified type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="exportType" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport``1">
|
||||
<summary>Retrieves the export that matches the specified generic type parameter.</summary>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <typeparamref name="TExport" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport``1(System.String)">
|
||||
<summary>Retrieves the export that matches the specified generic type parameter and contract name.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <typeparamref name="TExport" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports(System.Type,System.String)">
|
||||
<summary>Retrieves all exports that match the specified contract name and type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <paramref name="exportType" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports(System.Type)">
|
||||
<summary>Retrieves a collection of all exports that match the specified type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <paramref name="exportType" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports``1">
|
||||
<summary>Retrieves all exports that match the specified generic type parameter.</summary>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <typeparamref name="TExport" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports``1(System.String)">
|
||||
<summary>Retrieves all exports that match the specified generic type parameter and contract name.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <typeparamref name="TExport" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Composition.Hosting.Core.CompositionContract,System.Object@)">
|
||||
<summary>Returns the export that matches the specified contract, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="contract">The contract to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Type,System.Object@)">
|
||||
<summary>Returns the export that matches the specified type, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Type,System.String,System.Object@)">
|
||||
<summary>Returns the export that matches the specified contract name and type, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport``1(``0@)">
|
||||
<summary>Returns the export that matches the specified generic type parameter, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport``1(System.String,``0@)">
|
||||
<summary>Returns the export that matches the specified generic type parameter and contract name, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.Export`1">
|
||||
<summary>A reference that allows the graph of parts associated with an exported instance to be released.</summary>
|
||||
<typeparam name="T">The type of the instance.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.Export`1.#ctor(`0,System.Action)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Export`1" /> class.</summary>
|
||||
<param name="value">The exported instance.</param>
|
||||
<param name="disposeAction">An action that will dispose the exported instance.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Export`1.Dispose">
|
||||
<summary>Disposes the exported instance.</summary>
|
||||
</member>
|
||||
<member name="P:System.Composition.Export`1.Value">
|
||||
<summary>Gets the exported value.</summary>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.ExportFactory`1">
|
||||
<summary>A factory that creates new instances of a part that provides the specified export.</summary>
|
||||
<typeparam name="T">The type of the export.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`1.#ctor(System.Func{System.Tuple{`0,System.Action}})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.ExportFactory`1" /> class.</summary>
|
||||
<param name="exportCreator">A function that returns the exported value in <see cref="M:System.Tuple`2.Item1" /> and an <see cref="T:System.Action" /> that releases it in <see cref="M:System.Tuple`2.Item2" />.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="exportCreator" /> is <see langword="null" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`1.CreateExport">
|
||||
<summary>Creates an instance of the factory's export type.</summary>
|
||||
<returns>A valid instance of the factory's export type.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.ExportFactory`2">
|
||||
<summary>A factory that creates new instances of a part that provides the specified export, with attached metadata.</summary>
|
||||
<typeparam name="T">The type of the created part.</typeparam>
|
||||
<typeparam name="TMetadata">The metadata for the type of the created part.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`2.#ctor(System.Func{System.Tuple{`0,System.Action}},`1)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.ExportFactory`2" /> class.</summary>
|
||||
<param name="exportCreator">A function that returns the exported value in <see cref="M:System.Tuple`2.Item1" /> and an <see cref="T:System.Action" /> that releases it in <see cref="M:System.Tuple`2.Item2" />.</param>
|
||||
<param name="metadata">The metadata to attach to the created parts.</param>
|
||||
</member>
|
||||
<member name="P:System.Composition.ExportFactory`2.Metadata">
|
||||
<summary>Gets the metadata to be attached to the created parts.</summary>
|
||||
<returns>A metadata object that will be attached to the created parts.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.Hosting.CompositionFailedException">
|
||||
<summary>The exception that is thrown when composition problems occur.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor(System.String,System.Exception)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class with the specified message and inner exception.</summary>
|
||||
<param name="message">A message that contains information about the exception.</param>
|
||||
<param name="innerException">The inner exception to wrap in this exception.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class with the specified message.</summary>
|
||||
<param name="message">A message that contains information about the exception.</param>
|
||||
</member>
|
||||
<member name="T:System.Composition.Hosting.Core.CompositionContract">
|
||||
<summary>Represents an agreement between parts that allows the composition engine to match imports with exports.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract name, type, and metadata constraints.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
<param name="contractName">The contract name.</param>
|
||||
<param name="metadataConstraints">A collection of metadata constraints for the contract.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type,System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract name and type.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
<param name="contractName">The contract name.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract type.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.ChangeType(System.Type)">
|
||||
<summary>Creates a new contract that has the specified type but the same name and constraints as this object.</summary>
|
||||
<param name="newContractType">The new contract type.</param>
|
||||
<returns>The created contract.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.Equals(System.Object)">
|
||||
<summary>Determines whether the specified object is equal to this instance of <see cref="T:System.Composition.Hosting.Core.CompositionContract" />.</summary>
|
||||
<param name="obj">The object to compare with this object.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the specified object is equal to the current object; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.GetHashCode">
|
||||
<summary>Returns the hash code for this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</summary>
|
||||
<returns>The hash code for the current object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.ToString">
|
||||
<summary>Returns the string representation of this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</summary>
|
||||
<returns>The string representation of this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.TryUnwrapMetadataConstraint``1(System.String,``0@,System.Composition.Hosting.Core.CompositionContract@)">
|
||||
<summary>Gets a metadata constraint that has the specified type and name, if it exists.</summary>
|
||||
<param name="constraintName">The name of the metadata constraint.</param>
|
||||
<param name="constraintValue">When this method returns, contains the value of the constraint if it was found. This parameter is treated as uninitialized.</param>
|
||||
<param name="remainingContract">When this method returns, holds the contract with the constraint removed, if the constraint was found. This parameter is treated as uninitialized.</param>
|
||||
<typeparam name="T">The type of the metadata constraint value.</typeparam>
|
||||
<returns>
|
||||
<see langword="true" /> if the constrained metadata item was unwrapped and the value extracted; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.ContractName">
|
||||
<summary>Gets the name of the contract.</summary>
|
||||
<returns>The contract name.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.ContractType">
|
||||
<summary>Gets the contract type.</summary>
|
||||
<returns>The contract type.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.MetadataConstraints">
|
||||
<summary>Gets a collection of metadata constraints for the contract.</summary>
|
||||
<returns>A collection of metadata constraints.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/System.Composition.Runtime.9.0.0/lib/net8.0/System.Composition.Runtime.dll
vendored
Normal file
BIN
packages/System.Composition.Runtime.9.0.0/lib/net8.0/System.Composition.Runtime.dll
vendored
Normal file
Binary file not shown.
231
packages/System.Composition.Runtime.9.0.0/lib/net8.0/System.Composition.Runtime.xml
vendored
Normal file
231
packages/System.Composition.Runtime.9.0.0/lib/net8.0/System.Composition.Runtime.xml
vendored
Normal file
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Composition.Runtime</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Composition.CompositionContext">
|
||||
<summary>Provides methods to retrieve exports from the composition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.CompositionContext" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Composition.Hosting.Core.CompositionContract)">
|
||||
<summary>Retrieves the export that matches the specified contract.</summary>
|
||||
<param name="contract">The contract to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Type,System.String)">
|
||||
<summary>Retrieves the export that matches the specified name and type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="exportType" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Type)">
|
||||
<summary>Retrieves the export that matches the specified type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="exportType" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport``1">
|
||||
<summary>Retrieves the export that matches the specified generic type parameter.</summary>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <typeparamref name="TExport" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport``1(System.String)">
|
||||
<summary>Retrieves the export that matches the specified generic type parameter and contract name.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <typeparamref name="TExport" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports(System.Type,System.String)">
|
||||
<summary>Retrieves all exports that match the specified contract name and type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <paramref name="exportType" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports(System.Type)">
|
||||
<summary>Retrieves a collection of all exports that match the specified type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <paramref name="exportType" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports``1">
|
||||
<summary>Retrieves all exports that match the specified generic type parameter.</summary>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <typeparamref name="TExport" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports``1(System.String)">
|
||||
<summary>Retrieves all exports that match the specified generic type parameter and contract name.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <typeparamref name="TExport" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Composition.Hosting.Core.CompositionContract,System.Object@)">
|
||||
<summary>Returns the export that matches the specified contract, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="contract">The contract to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Type,System.Object@)">
|
||||
<summary>Returns the export that matches the specified type, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Type,System.String,System.Object@)">
|
||||
<summary>Returns the export that matches the specified contract name and type, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport``1(``0@)">
|
||||
<summary>Returns the export that matches the specified generic type parameter, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport``1(System.String,``0@)">
|
||||
<summary>Returns the export that matches the specified generic type parameter and contract name, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.Export`1">
|
||||
<summary>A reference that allows the graph of parts associated with an exported instance to be released.</summary>
|
||||
<typeparam name="T">The type of the instance.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.Export`1.#ctor(`0,System.Action)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Export`1" /> class.</summary>
|
||||
<param name="value">The exported instance.</param>
|
||||
<param name="disposeAction">An action that will dispose the exported instance.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Export`1.Dispose">
|
||||
<summary>Disposes the exported instance.</summary>
|
||||
</member>
|
||||
<member name="P:System.Composition.Export`1.Value">
|
||||
<summary>Gets the exported value.</summary>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.ExportFactory`1">
|
||||
<summary>A factory that creates new instances of a part that provides the specified export.</summary>
|
||||
<typeparam name="T">The type of the export.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`1.#ctor(System.Func{System.Tuple{`0,System.Action}})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.ExportFactory`1" /> class.</summary>
|
||||
<param name="exportCreator">A function that returns the exported value in <see cref="M:System.Tuple`2.Item1" /> and an <see cref="T:System.Action" /> that releases it in <see cref="M:System.Tuple`2.Item2" />.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="exportCreator" /> is <see langword="null" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`1.CreateExport">
|
||||
<summary>Creates an instance of the factory's export type.</summary>
|
||||
<returns>A valid instance of the factory's export type.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.ExportFactory`2">
|
||||
<summary>A factory that creates new instances of a part that provides the specified export, with attached metadata.</summary>
|
||||
<typeparam name="T">The type of the created part.</typeparam>
|
||||
<typeparam name="TMetadata">The metadata for the type of the created part.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`2.#ctor(System.Func{System.Tuple{`0,System.Action}},`1)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.ExportFactory`2" /> class.</summary>
|
||||
<param name="exportCreator">A function that returns the exported value in <see cref="M:System.Tuple`2.Item1" /> and an <see cref="T:System.Action" /> that releases it in <see cref="M:System.Tuple`2.Item2" />.</param>
|
||||
<param name="metadata">The metadata to attach to the created parts.</param>
|
||||
</member>
|
||||
<member name="P:System.Composition.ExportFactory`2.Metadata">
|
||||
<summary>Gets the metadata to be attached to the created parts.</summary>
|
||||
<returns>A metadata object that will be attached to the created parts.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.Hosting.CompositionFailedException">
|
||||
<summary>The exception that is thrown when composition problems occur.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor(System.String,System.Exception)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class with the specified message and inner exception.</summary>
|
||||
<param name="message">A message that contains information about the exception.</param>
|
||||
<param name="innerException">The inner exception to wrap in this exception.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class with the specified message.</summary>
|
||||
<param name="message">A message that contains information about the exception.</param>
|
||||
</member>
|
||||
<member name="T:System.Composition.Hosting.Core.CompositionContract">
|
||||
<summary>Represents an agreement between parts that allows the composition engine to match imports with exports.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract name, type, and metadata constraints.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
<param name="contractName">The contract name.</param>
|
||||
<param name="metadataConstraints">A collection of metadata constraints for the contract.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type,System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract name and type.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
<param name="contractName">The contract name.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract type.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.ChangeType(System.Type)">
|
||||
<summary>Creates a new contract that has the specified type but the same name and constraints as this object.</summary>
|
||||
<param name="newContractType">The new contract type.</param>
|
||||
<returns>The created contract.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.Equals(System.Object)">
|
||||
<summary>Determines whether the specified object is equal to this instance of <see cref="T:System.Composition.Hosting.Core.CompositionContract" />.</summary>
|
||||
<param name="obj">The object to compare with this object.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the specified object is equal to the current object; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.GetHashCode">
|
||||
<summary>Returns the hash code for this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</summary>
|
||||
<returns>The hash code for the current object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.ToString">
|
||||
<summary>Returns the string representation of this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</summary>
|
||||
<returns>The string representation of this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.TryUnwrapMetadataConstraint``1(System.String,``0@,System.Composition.Hosting.Core.CompositionContract@)">
|
||||
<summary>Gets a metadata constraint that has the specified type and name, if it exists.</summary>
|
||||
<param name="constraintName">The name of the metadata constraint.</param>
|
||||
<param name="constraintValue">When this method returns, contains the value of the constraint if it was found. This parameter is treated as uninitialized.</param>
|
||||
<param name="remainingContract">When this method returns, holds the contract with the constraint removed, if the constraint was found. This parameter is treated as uninitialized.</param>
|
||||
<typeparam name="T">The type of the metadata constraint value.</typeparam>
|
||||
<returns>
|
||||
<see langword="true" /> if the constrained metadata item was unwrapped and the value extracted; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.ContractName">
|
||||
<summary>Gets the name of the contract.</summary>
|
||||
<returns>The contract name.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.ContractType">
|
||||
<summary>Gets the contract type.</summary>
|
||||
<returns>The contract type.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.MetadataConstraints">
|
||||
<summary>Gets a collection of metadata constraints for the contract.</summary>
|
||||
<returns>A collection of metadata constraints.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/System.Composition.Runtime.9.0.0/lib/net9.0/System.Composition.Runtime.dll
vendored
Normal file
BIN
packages/System.Composition.Runtime.9.0.0/lib/net9.0/System.Composition.Runtime.dll
vendored
Normal file
Binary file not shown.
231
packages/System.Composition.Runtime.9.0.0/lib/net9.0/System.Composition.Runtime.xml
vendored
Normal file
231
packages/System.Composition.Runtime.9.0.0/lib/net9.0/System.Composition.Runtime.xml
vendored
Normal file
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Composition.Runtime</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Composition.CompositionContext">
|
||||
<summary>Provides methods to retrieve exports from the composition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.CompositionContext" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Composition.Hosting.Core.CompositionContract)">
|
||||
<summary>Retrieves the export that matches the specified contract.</summary>
|
||||
<param name="contract">The contract to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Type,System.String)">
|
||||
<summary>Retrieves the export that matches the specified name and type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="exportType" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Type)">
|
||||
<summary>Retrieves the export that matches the specified type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="exportType" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport``1">
|
||||
<summary>Retrieves the export that matches the specified generic type parameter.</summary>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <typeparamref name="TExport" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport``1(System.String)">
|
||||
<summary>Retrieves the export that matches the specified generic type parameter and contract name.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <typeparamref name="TExport" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports(System.Type,System.String)">
|
||||
<summary>Retrieves all exports that match the specified contract name and type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <paramref name="exportType" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports(System.Type)">
|
||||
<summary>Retrieves a collection of all exports that match the specified type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <paramref name="exportType" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports``1">
|
||||
<summary>Retrieves all exports that match the specified generic type parameter.</summary>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <typeparamref name="TExport" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports``1(System.String)">
|
||||
<summary>Retrieves all exports that match the specified generic type parameter and contract name.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <typeparamref name="TExport" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Composition.Hosting.Core.CompositionContract,System.Object@)">
|
||||
<summary>Returns the export that matches the specified contract, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="contract">The contract to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Type,System.Object@)">
|
||||
<summary>Returns the export that matches the specified type, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Type,System.String,System.Object@)">
|
||||
<summary>Returns the export that matches the specified contract name and type, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport``1(``0@)">
|
||||
<summary>Returns the export that matches the specified generic type parameter, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport``1(System.String,``0@)">
|
||||
<summary>Returns the export that matches the specified generic type parameter and contract name, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.Export`1">
|
||||
<summary>A reference that allows the graph of parts associated with an exported instance to be released.</summary>
|
||||
<typeparam name="T">The type of the instance.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.Export`1.#ctor(`0,System.Action)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Export`1" /> class.</summary>
|
||||
<param name="value">The exported instance.</param>
|
||||
<param name="disposeAction">An action that will dispose the exported instance.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Export`1.Dispose">
|
||||
<summary>Disposes the exported instance.</summary>
|
||||
</member>
|
||||
<member name="P:System.Composition.Export`1.Value">
|
||||
<summary>Gets the exported value.</summary>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.ExportFactory`1">
|
||||
<summary>A factory that creates new instances of a part that provides the specified export.</summary>
|
||||
<typeparam name="T">The type of the export.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`1.#ctor(System.Func{System.Tuple{`0,System.Action}})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.ExportFactory`1" /> class.</summary>
|
||||
<param name="exportCreator">A function that returns the exported value in <see cref="M:System.Tuple`2.Item1" /> and an <see cref="T:System.Action" /> that releases it in <see cref="M:System.Tuple`2.Item2" />.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="exportCreator" /> is <see langword="null" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`1.CreateExport">
|
||||
<summary>Creates an instance of the factory's export type.</summary>
|
||||
<returns>A valid instance of the factory's export type.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.ExportFactory`2">
|
||||
<summary>A factory that creates new instances of a part that provides the specified export, with attached metadata.</summary>
|
||||
<typeparam name="T">The type of the created part.</typeparam>
|
||||
<typeparam name="TMetadata">The metadata for the type of the created part.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`2.#ctor(System.Func{System.Tuple{`0,System.Action}},`1)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.ExportFactory`2" /> class.</summary>
|
||||
<param name="exportCreator">A function that returns the exported value in <see cref="M:System.Tuple`2.Item1" /> and an <see cref="T:System.Action" /> that releases it in <see cref="M:System.Tuple`2.Item2" />.</param>
|
||||
<param name="metadata">The metadata to attach to the created parts.</param>
|
||||
</member>
|
||||
<member name="P:System.Composition.ExportFactory`2.Metadata">
|
||||
<summary>Gets the metadata to be attached to the created parts.</summary>
|
||||
<returns>A metadata object that will be attached to the created parts.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.Hosting.CompositionFailedException">
|
||||
<summary>The exception that is thrown when composition problems occur.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor(System.String,System.Exception)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class with the specified message and inner exception.</summary>
|
||||
<param name="message">A message that contains information about the exception.</param>
|
||||
<param name="innerException">The inner exception to wrap in this exception.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class with the specified message.</summary>
|
||||
<param name="message">A message that contains information about the exception.</param>
|
||||
</member>
|
||||
<member name="T:System.Composition.Hosting.Core.CompositionContract">
|
||||
<summary>Represents an agreement between parts that allows the composition engine to match imports with exports.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract name, type, and metadata constraints.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
<param name="contractName">The contract name.</param>
|
||||
<param name="metadataConstraints">A collection of metadata constraints for the contract.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type,System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract name and type.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
<param name="contractName">The contract name.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract type.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.ChangeType(System.Type)">
|
||||
<summary>Creates a new contract that has the specified type but the same name and constraints as this object.</summary>
|
||||
<param name="newContractType">The new contract type.</param>
|
||||
<returns>The created contract.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.Equals(System.Object)">
|
||||
<summary>Determines whether the specified object is equal to this instance of <see cref="T:System.Composition.Hosting.Core.CompositionContract" />.</summary>
|
||||
<param name="obj">The object to compare with this object.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the specified object is equal to the current object; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.GetHashCode">
|
||||
<summary>Returns the hash code for this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</summary>
|
||||
<returns>The hash code for the current object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.ToString">
|
||||
<summary>Returns the string representation of this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</summary>
|
||||
<returns>The string representation of this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.TryUnwrapMetadataConstraint``1(System.String,``0@,System.Composition.Hosting.Core.CompositionContract@)">
|
||||
<summary>Gets a metadata constraint that has the specified type and name, if it exists.</summary>
|
||||
<param name="constraintName">The name of the metadata constraint.</param>
|
||||
<param name="constraintValue">When this method returns, contains the value of the constraint if it was found. This parameter is treated as uninitialized.</param>
|
||||
<param name="remainingContract">When this method returns, holds the contract with the constraint removed, if the constraint was found. This parameter is treated as uninitialized.</param>
|
||||
<typeparam name="T">The type of the metadata constraint value.</typeparam>
|
||||
<returns>
|
||||
<see langword="true" /> if the constrained metadata item was unwrapped and the value extracted; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.ContractName">
|
||||
<summary>Gets the name of the contract.</summary>
|
||||
<returns>The contract name.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.ContractType">
|
||||
<summary>Gets the contract type.</summary>
|
||||
<returns>The contract type.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.MetadataConstraints">
|
||||
<summary>Gets a collection of metadata constraints for the contract.</summary>
|
||||
<returns>A collection of metadata constraints.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/System.Composition.Runtime.9.0.0/lib/netstandard2.0/System.Composition.Runtime.dll
vendored
Normal file
BIN
packages/System.Composition.Runtime.9.0.0/lib/netstandard2.0/System.Composition.Runtime.dll
vendored
Normal file
Binary file not shown.
231
packages/System.Composition.Runtime.9.0.0/lib/netstandard2.0/System.Composition.Runtime.xml
vendored
Normal file
231
packages/System.Composition.Runtime.9.0.0/lib/netstandard2.0/System.Composition.Runtime.xml
vendored
Normal file
@@ -0,0 +1,231 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.Composition.Runtime</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Composition.CompositionContext">
|
||||
<summary>Provides methods to retrieve exports from the composition.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.CompositionContext" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Composition.Hosting.Core.CompositionContract)">
|
||||
<summary>Retrieves the export that matches the specified contract.</summary>
|
||||
<param name="contract">The contract to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Type,System.String)">
|
||||
<summary>Retrieves the export that matches the specified name and type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="exportType" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport(System.Type)">
|
||||
<summary>Retrieves the export that matches the specified type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="exportType" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport``1">
|
||||
<summary>Retrieves the export that matches the specified generic type parameter.</summary>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <typeparamref name="TExport" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExport``1(System.String)">
|
||||
<summary>Retrieves the export that matches the specified generic type parameter and contract name.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <typeparamref name="TExport" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports(System.Type,System.String)">
|
||||
<summary>Retrieves all exports that match the specified contract name and type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <paramref name="exportType" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports(System.Type)">
|
||||
<summary>Retrieves a collection of all exports that match the specified type.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <paramref name="exportType" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports``1">
|
||||
<summary>Retrieves all exports that match the specified generic type parameter.</summary>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <typeparamref name="TExport" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.GetExports``1(System.String)">
|
||||
<summary>Retrieves all exports that match the specified generic type parameter and contract name.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No exports were found for <typeparamref name="TExport" /> and <paramref name="contractName" />.</exception>
|
||||
<returns>A collection of exported values.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Composition.Hosting.Core.CompositionContract,System.Object@)">
|
||||
<summary>Returns the export that matches the specified contract, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="contract">The contract to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Type,System.Object@)">
|
||||
<summary>Returns the export that matches the specified type, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport(System.Type,System.String,System.Object@)">
|
||||
<summary>Returns the export that matches the specified contract name and type, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="exportType">The type to match.</param>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport``1(``0@)">
|
||||
<summary>Returns the export that matches the specified generic type parameter, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.CompositionContext.TryGetExport``1(System.String,``0@)">
|
||||
<summary>Returns the export that matches the specified generic type parameter and contract name, or returns <see langword="null" /> if no match is found.</summary>
|
||||
<param name="contractName">The name to match.</param>
|
||||
<param name="export">When this method returns, contains the matched export or <see langword="null" />.</param>
|
||||
<typeparam name="TExport">The type to match.</typeparam>
|
||||
<exception cref="T:System.Composition.Hosting.CompositionFailedException">No export was found for <paramref name="contract" />.</exception>
|
||||
<returns>
|
||||
<see langword="true" /> if an export was found; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.Export`1">
|
||||
<summary>A reference that allows the graph of parts associated with an exported instance to be released.</summary>
|
||||
<typeparam name="T">The type of the instance.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.Export`1.#ctor(`0,System.Action)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Export`1" /> class.</summary>
|
||||
<param name="value">The exported instance.</param>
|
||||
<param name="disposeAction">An action that will dispose the exported instance.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Export`1.Dispose">
|
||||
<summary>Disposes the exported instance.</summary>
|
||||
</member>
|
||||
<member name="P:System.Composition.Export`1.Value">
|
||||
<summary>Gets the exported value.</summary>
|
||||
<returns>The exported value.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.ExportFactory`1">
|
||||
<summary>A factory that creates new instances of a part that provides the specified export.</summary>
|
||||
<typeparam name="T">The type of the export.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`1.#ctor(System.Func{System.Tuple{`0,System.Action}})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.ExportFactory`1" /> class.</summary>
|
||||
<param name="exportCreator">A function that returns the exported value in <see cref="M:System.Tuple`2.Item1" /> and an <see cref="T:System.Action" /> that releases it in <see cref="M:System.Tuple`2.Item2" />.</param>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="exportCreator" /> is <see langword="null" />.</exception>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`1.CreateExport">
|
||||
<summary>Creates an instance of the factory's export type.</summary>
|
||||
<returns>A valid instance of the factory's export type.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.ExportFactory`2">
|
||||
<summary>A factory that creates new instances of a part that provides the specified export, with attached metadata.</summary>
|
||||
<typeparam name="T">The type of the created part.</typeparam>
|
||||
<typeparam name="TMetadata">The metadata for the type of the created part.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Composition.ExportFactory`2.#ctor(System.Func{System.Tuple{`0,System.Action}},`1)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.ExportFactory`2" /> class.</summary>
|
||||
<param name="exportCreator">A function that returns the exported value in <see cref="M:System.Tuple`2.Item1" /> and an <see cref="T:System.Action" /> that releases it in <see cref="M:System.Tuple`2.Item2" />.</param>
|
||||
<param name="metadata">The metadata to attach to the created parts.</param>
|
||||
</member>
|
||||
<member name="P:System.Composition.ExportFactory`2.Metadata">
|
||||
<summary>Gets the metadata to be attached to the created parts.</summary>
|
||||
<returns>A metadata object that will be attached to the created parts.</returns>
|
||||
</member>
|
||||
<member name="T:System.Composition.Hosting.CompositionFailedException">
|
||||
<summary>The exception that is thrown when composition problems occur.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor(System.String,System.Exception)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class with the specified message and inner exception.</summary>
|
||||
<param name="message">A message that contains information about the exception.</param>
|
||||
<param name="innerException">The inner exception to wrap in this exception.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.CompositionFailedException.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.CompositionFailedException" /> class with the specified message.</summary>
|
||||
<param name="message">A message that contains information about the exception.</param>
|
||||
</member>
|
||||
<member name="T:System.Composition.Hosting.Core.CompositionContract">
|
||||
<summary>Represents an agreement between parts that allows the composition engine to match imports with exports.</summary>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type,System.String,System.Collections.Generic.IDictionary{System.String,System.Object})">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract name, type, and metadata constraints.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
<param name="contractName">The contract name.</param>
|
||||
<param name="metadataConstraints">A collection of metadata constraints for the contract.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type,System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract name and type.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
<param name="contractName">The contract name.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.#ctor(System.Type)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> class with the specified contract type.</summary>
|
||||
<param name="contractType">The contract type.</param>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.ChangeType(System.Type)">
|
||||
<summary>Creates a new contract that has the specified type but the same name and constraints as this object.</summary>
|
||||
<param name="newContractType">The new contract type.</param>
|
||||
<returns>The created contract.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.Equals(System.Object)">
|
||||
<summary>Determines whether the specified object is equal to this instance of <see cref="T:System.Composition.Hosting.Core.CompositionContract" />.</summary>
|
||||
<param name="obj">The object to compare with this object.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the specified object is equal to the current object; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.GetHashCode">
|
||||
<summary>Returns the hash code for this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</summary>
|
||||
<returns>The hash code for the current object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.ToString">
|
||||
<summary>Returns the string representation of this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</summary>
|
||||
<returns>The string representation of this <see cref="T:System.Composition.Hosting.Core.CompositionContract" /> object.</returns>
|
||||
</member>
|
||||
<member name="M:System.Composition.Hosting.Core.CompositionContract.TryUnwrapMetadataConstraint``1(System.String,``0@,System.Composition.Hosting.Core.CompositionContract@)">
|
||||
<summary>Gets a metadata constraint that has the specified type and name, if it exists.</summary>
|
||||
<param name="constraintName">The name of the metadata constraint.</param>
|
||||
<param name="constraintValue">When this method returns, contains the value of the constraint if it was found. This parameter is treated as uninitialized.</param>
|
||||
<param name="remainingContract">When this method returns, holds the contract with the constraint removed, if the constraint was found. This parameter is treated as uninitialized.</param>
|
||||
<typeparam name="T">The type of the metadata constraint value.</typeparam>
|
||||
<returns>
|
||||
<see langword="true" /> if the constrained metadata item was unwrapped and the value extracted; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.ContractName">
|
||||
<summary>Gets the name of the contract.</summary>
|
||||
<returns>The contract name.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.ContractType">
|
||||
<summary>Gets the contract type.</summary>
|
||||
<returns>The contract type.</returns>
|
||||
</member>
|
||||
<member name="P:System.Composition.Hosting.Core.CompositionContract.MetadataConstraints">
|
||||
<summary>Gets a collection of metadata constraints for the contract.</summary>
|
||||
<returns>A collection of metadata constraints.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
0
packages/System.Composition.Runtime.9.0.0/useSharedDesignerContext.txt
vendored
Normal file
0
packages/System.Composition.Runtime.9.0.0/useSharedDesignerContext.txt
vendored
Normal file
Reference in New Issue
Block a user