Поделиться через


DependencyContext Конструктор

Определение

Инициализирует новый экземпляр класса DependencyContext.

public:
 DependencyContext(Microsoft::Extensions::DependencyModel::TargetInfo ^ target, Microsoft::Extensions::DependencyModel::CompilationOptions ^ compilationOptions, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::CompilationLibrary ^> ^ compileLibraries, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::RuntimeLibrary ^> ^ runtimeLibraries, System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::RuntimeFallbacks ^> ^ runtimeGraph);
public DependencyContext (Microsoft.Extensions.DependencyModel.TargetInfo target, Microsoft.Extensions.DependencyModel.CompilationOptions compilationOptions, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.CompilationLibrary> compileLibraries, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.RuntimeLibrary> runtimeLibraries, System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.RuntimeFallbacks> runtimeGraph);
new Microsoft.Extensions.DependencyModel.DependencyContext : Microsoft.Extensions.DependencyModel.TargetInfo * Microsoft.Extensions.DependencyModel.CompilationOptions * seq<Microsoft.Extensions.DependencyModel.CompilationLibrary> * seq<Microsoft.Extensions.DependencyModel.RuntimeLibrary> * seq<Microsoft.Extensions.DependencyModel.RuntimeFallbacks> -> Microsoft.Extensions.DependencyModel.DependencyContext
Public Sub New (target As TargetInfo, compilationOptions As CompilationOptions, compileLibraries As IEnumerable(Of CompilationLibrary), runtimeLibraries As IEnumerable(Of RuntimeLibrary), runtimeGraph As IEnumerable(Of RuntimeFallbacks))

Параметры

target
TargetInfo

Сведения о целевой среде выполнения.

compilationOptions
CompilationOptions

Параметры компиляции.

compileLibraries
IEnumerable<CompilationLibrary>

Библиотеки компиляции.

runtimeLibraries
IEnumerable<RuntimeLibrary>

Библиотеки среды выполнения.

runtimeGraph
IEnumerable<RuntimeFallbacks>

Граф идентификаторов среды выполнения.

Применяется к