DependencyContextExtensions.GetDefaultAssemblyNames 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetDefaultAssemblyNames(DependencyContext) | |
| GetDefaultAssemblyNames(RuntimeLibrary, DependencyContext) |
GetDefaultAssemblyNames(DependencyContext)
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<System::Reflection::AssemblyName ^> ^ GetDefaultAssemblyNames(Microsoft::Extensions::DependencyModel::DependencyContext ^ self);
public static System.Collections.Generic.IEnumerable<System.Reflection.AssemblyName> GetDefaultAssemblyNames(this Microsoft.Extensions.DependencyModel.DependencyContext self);
static member GetDefaultAssemblyNames : Microsoft.Extensions.DependencyModel.DependencyContext -> seq<System.Reflection.AssemblyName>
<Extension()>
Public Function GetDefaultAssemblyNames (self As DependencyContext) As IEnumerable(Of AssemblyName)
參數
- self
- DependencyContext
傳回
適用於
GetDefaultAssemblyNames(RuntimeLibrary, DependencyContext)
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<System::Reflection::AssemblyName ^> ^ GetDefaultAssemblyNames(Microsoft::Extensions::DependencyModel::RuntimeLibrary ^ self, Microsoft::Extensions::DependencyModel::DependencyContext ^ context);
public static System.Collections.Generic.IEnumerable<System.Reflection.AssemblyName> GetDefaultAssemblyNames(this Microsoft.Extensions.DependencyModel.RuntimeLibrary self, Microsoft.Extensions.DependencyModel.DependencyContext context);
static member GetDefaultAssemblyNames : Microsoft.Extensions.DependencyModel.RuntimeLibrary * Microsoft.Extensions.DependencyModel.DependencyContext -> seq<System.Reflection.AssemblyName>
<Extension()>
Public Function GetDefaultAssemblyNames (self As RuntimeLibrary, context As DependencyContext) As IEnumerable(Of AssemblyName)
參數
- self
- RuntimeLibrary
- context
- DependencyContext