Freigeben über


DependencyContext Konstruktor

Definition

Initialisiert eine neue Instanz der DependencyContext-Klasse.

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))

Parameter

target
TargetInfo

Ziellaufzeitinformationen.

compilationOptions
CompilationOptions

Kompilierungsoptionen.

compileLibraries
IEnumerable<CompilationLibrary>

Kompilierungsbibliotheken.

runtimeLibraries
IEnumerable<RuntimeLibrary>

Laufzeitbibliotheken.

runtimeGraph
IEnumerable<RuntimeFallbacks>

Laufzeitbezeichnerdiagramm.

Gilt für: