DependencyContextLoader
DependencyContextLoader()
Default
Load(Assembly)
net10.0
namespace Microsoft.Extensions.DependencyModel
{
public class DependencyContextLoader
{
[RequiresAssemblyFiles("DependencyContext for an assembly from a application published as single-file is not supported. The method will return null. Make sure the calling code can handle this case.")]
public DependencyContext? Load(Assembly! assembly);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 8.09.010.0 |
| .NET Framework | 4.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Assembly | Microsoft.Extensions.DependencyModel , Version=10.0.0.1, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.Extensions.DependencyModel (10.0.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API