DependencyProvider Type
Provides DependencyManagement functions. The class incrementally collects IDependencyManagerProvider, indexed by key, and queries them. These are found and instantiated with respect to the compilerTools and outputDir provided each time the TryFindDependencyManagerByKey and TryFindDependencyManagerInPath are executed, which are assumed to be invariant over the lifetime of the DependencyProvider.
Constructors
Constructor |
Description
|
Full Usage:
DependencyProvider(assemblyProbingPaths, nativeProbingRoots, useResultsCache)
Parameters:
AssemblyResolutionProbe
nativeProbingRoots : NativeResolutionProbe
useResultsCache : bool
Returns: DependencyProvider
|
Construct a new DependencyProvider with managed and native resolution and specify caching
|
Full Usage:
DependencyProvider(assemblyProbingPaths, nativeProbingRoots)
Parameters:
AssemblyResolutionProbe
nativeProbingRoots : NativeResolutionProbe
Returns: DependencyProvider
|
Construct a new DependencyProvider with managed and native resolution
|
Full Usage:
DependencyProvider(nativeProbingRoots, useResultsCache)
Parameters:
NativeResolutionProbe
useResultsCache : bool
Returns: DependencyProvider
|
Construct a new DependencyProvider with only native resolution and specify caching
|
Full Usage:
DependencyProvider(nativeProbingRoots)
Parameters:
NativeResolutionProbe
Returns: DependencyProvider
|
Construct a new DependencyProvider with only native resolution
|
|
Construct a new DependencyProvider with no dynamic load handlers (only for compilation/analysis)
|
Instance members
Instance member |
Description
|
Full Usage:
this.ClearResultsCache
Parameters:
string seq
arg1 : string
arg2 : ResolvingErrorReport
|
Clear the DependencyManager results caches
|
Full Usage:
this.CreatePackageManagerUnknownError
Parameters:
string seq
arg1 : string
arg2 : string
arg3 : ResolvingErrorReport
Returns: int * string
|
Returns a formatted error message for the host to present
|
Full Usage:
this.GetRegisteredDependencyManagerHelpText
Parameters:
string seq
arg1 : string
arg2 : ResolvingErrorReport
Returns: string[]
|
Returns a formatted help messages for registered dependencymanagers for the host to present
|
Full Usage:
this.Resolve
Parameters:
IDependencyManagerProvider
scriptExt : string
packageManagerTextLines : (string * string) seq
reportError : ResolvingErrorReport
executionTfm : string
?executionRid : string
?implicitIncludeDir : string
?mainScriptName : string
?fileName : string
?timeout : int
Returns: IResolveDependenciesResult
|
Resolve reference for a list of package manager lines
|
Full Usage:
this.TryFindDependencyManagerByKey
Parameters:
string seq
outputDir : string
reportError : ResolvingErrorReport
key : string
Returns: IDependencyManagerProvider MaybeNull
|
Fetch a dependencymanager that supports a specific key
|
Full Usage:
this.TryFindDependencyManagerInPath
Parameters:
string seq
outputDir : string
reportError : ResolvingErrorReport
path : string
Returns: string MaybeNull * IDependencyManagerProvider MaybeNull
|
TryFindDependencyManagerInPath - given a #r "key:sometext" go and find a DependencyManager that satisfies the key
|