updfate 20250919
This commit is contained in:
BIN
packages/System.Composition.9.0.0/.signature.p7s
vendored
Normal file
BIN
packages/System.Composition.9.0.0/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/System.Composition.9.0.0/Icon.png
vendored
Normal file
BIN
packages/System.Composition.9.0.0/Icon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
23
packages/System.Composition.9.0.0/LICENSE.TXT
vendored
Normal file
23
packages/System.Composition.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.
|
||||
77
packages/System.Composition.9.0.0/PACKAGE.md
vendored
Normal file
77
packages/System.Composition.9.0.0/PACKAGE.md
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
## About
|
||||
|
||||
<!-- A description of the package and where one can find more documentation -->
|
||||
|
||||
Provides the Managed Extensibility Framework (MEF) 2.0, a lightweight, attribute-driven Dependency Injection (DI) container.
|
||||
|
||||
MEF simplifies the composition of applications by allowing components to be loosely coupled and dynamically discovered.
|
||||
This package supports the development of modular and maintainable applications by enabling parts to be composed at runtime.
|
||||
|
||||
## Key Features
|
||||
|
||||
<!-- The key features of this package -->
|
||||
|
||||
* Components are discovered and composed using attributes.
|
||||
* Provides dependency injection capabilities for loosely coupled modules.
|
||||
|
||||
## 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 -->
|
||||
|
||||
Running code from a discovered component.
|
||||
|
||||
```csharp
|
||||
using System.Composition;
|
||||
using System.Composition.Hosting;
|
||||
|
||||
var configuration = new ContainerConfiguration().WithPart<Service>();
|
||||
|
||||
using var container = configuration.CreateContainer();
|
||||
|
||||
var service = container.GetExport<Service>();
|
||||
service.Execute();
|
||||
// Output: Service is running!
|
||||
|
||||
[Export]
|
||||
public class Service
|
||||
{
|
||||
public void Execute() => Console.WriteLine("Service is running!");
|
||||
}
|
||||
```
|
||||
|
||||
## Main Types
|
||||
|
||||
<!-- The main types provided in this library -->
|
||||
|
||||
The main types provided by this library are:
|
||||
|
||||
* `System.Composition.ExportAttribute`
|
||||
* `System.Composition.ImportAttribute`
|
||||
* `System.Composition.Convention.ConventionBuilder`
|
||||
* `System.Composition.Hosting.CompositionHost`
|
||||
* `System.Composition.CompositionContext`
|
||||
* `System.Composition.CompositionContextExtensions`
|
||||
|
||||
## 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)
|
||||
* [Managed Extensibility Framework (MEF)](https://learn.microsoft.com/dotnet/framework/mef/)
|
||||
|
||||
## Related Packages
|
||||
|
||||
<!-- The related packages associated with this package -->
|
||||
|
||||
* [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)
|
||||
* [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 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.9.0.0/System.Composition.9.0.0.nupkg
vendored
Normal file
BIN
packages/System.Composition.9.0.0/System.Composition.9.0.0.nupkg
vendored
Normal file
Binary file not shown.
1396
packages/System.Composition.9.0.0/THIRD-PARTY-NOTICES.TXT
vendored
Normal file
1396
packages/System.Composition.9.0.0/THIRD-PARTY-NOTICES.TXT
vendored
Normal file
File diff suppressed because it is too large
Load Diff
6
packages/System.Composition.9.0.0/buildTransitive/net461/System.Composition.targets
vendored
Normal file
6
packages/System.Composition.9.0.0/buildTransitive/net461/System.Composition.targets
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="NETStandardCompatError_System_Composition_net462">
|
||||
<Target Name="NETStandardCompatError_System_Composition_net462"
|
||||
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
|
||||
<Warning Text="System.Composition 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.9.0.0/buildTransitive/net462/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/buildTransitive/net462/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/buildTransitive/net8.0/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/buildTransitive/net8.0/_._
vendored
Normal file
6
packages/System.Composition.9.0.0/buildTransitive/netcoreapp2.0/System.Composition.targets
vendored
Normal file
6
packages/System.Composition.9.0.0/buildTransitive/netcoreapp2.0/System.Composition.targets
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project InitialTargets="NETStandardCompatError_System_Composition_net8_0">
|
||||
<Target Name="NETStandardCompatError_System_Composition_net8_0"
|
||||
Condition="'$(SuppressTfmSupportBuildWarnings)' == ''">
|
||||
<Warning Text="System.Composition 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>
|
||||
0
packages/System.Composition.9.0.0/lib/net461/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/lib/net461/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/lib/netcoreapp2.0/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/lib/netcoreapp2.0/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/lib/netstandard2.0/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/lib/netstandard2.0/_._
vendored
Normal file
0
packages/System.Composition.9.0.0/useSharedDesignerContext.txt
vendored
Normal file
0
packages/System.Composition.9.0.0/useSharedDesignerContext.txt
vendored
Normal file
Reference in New Issue
Block a user