navigation

DependencyProvider

Namespace: Microsoft.DotNet.DependencyManager
Parent: Microsoft.DotNet.DependencyManager

Provides DependencyManagement functions. Class is IDisposable


Name Description
Constructors
( .ctor )

Signature: nativeProbingRoots:NativeResolutionProbe -> DependencyProvider

Construct a new DependencyProvider

( .ctor )

Signature: (assemblyProbingPaths:AssemblyResolutionProbe * nativeProbingRoots:NativeResolutionProbe) -> DependencyProvider

Construct a new DependencyProvider

Instance Members
CreatePackageManagerUnknownError

Signature: (seq * string * string * ResolvingErrorReport) -> int * string

Returns a formatted error message for the host to present

GetRegisteredDependencyManagerHelpText

Signature: (seq * string * ResolvingErrorReport) -> string []

Returns a formatted help messages for registered dependencymanagers for the host to present

Resolve

Signature: (packageManager:IDependencyManagerProvider * scriptExt:string * packageManagerTextLines:seq * reportError:ResolvingErrorReport * executionTfm:string * executionRid:string * implicitIncludeDir:string * mainScriptName:string * fileName:string) -> IResolveDependenciesResult

Resolve reference for a list of package manager lines

TryFindDependencyManagerByKey

Signature: (compilerTools:seq * outputDir:string * reportError:ResolvingErrorReport * key:string) -> IDependencyManagerProvider

Fetch a dependencymanager that supports a specific key

TryFindDependencyManagerInPath

Signature: (compilerTools:seq * outputDir:string * reportError:ResolvingErrorReport * path:string) -> string * IDependencyManagerProvider

TryFindDependencyManagerInPath - given a #r "key:sometext" go and find a DependencyManager that satisfies the key