Megosztás a következőn keresztül:


DependencyContext Constructor

Definition

Initializes a new instance of the DependencyContext class.

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

Parameters

target
TargetInfo

Target runtime information.

compilationOptions
CompilationOptions

Compilation options.

compileLibraries
IEnumerable<CompilationLibrary>

Compilation libraries.

runtimeLibraries
IEnumerable<RuntimeLibrary>

Runtime libraries.

runtimeGraph
IEnumerable<RuntimeFallbacks>

Runtime identifiers graph.

Applies to