Partager via


DependencyContext Constructeur

Définition

Initialise une nouvelle instance de la classe 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))

Paramètres

target
TargetInfo

Informations sur le runtime cible.

compilationOptions
CompilationOptions

Options de compilation.

compileLibraries
IEnumerable<CompilationLibrary>

Bibliothèques de compilation.

runtimeLibraries
IEnumerable<RuntimeLibrary>

Bibliothèques runtime.

runtimeGraph
IEnumerable<RuntimeFallbacks>

Graphique des identificateurs d’exécution.

S’applique à