Class NuGetAddinProvider
- Namespace
- Dynamicweb.Marketplace.Providers
- Assembly
- Dynamicweb.Marketplace.dll
public class NuGetAddinProvider : AddinProvider, IDisposable
- Inheritance
-
NuGetAddinProvider
- Implements
- Inherited Members
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
Download(string)
public Task Download(string id)
Parameters
idstring
Returns
Download(string, NuGetVersion, ConcurrentDictionary<string, object?>)
public Task Download(string id, NuGetVersion version, ConcurrentDictionary<string, object?> downloaded)
Parameters
idstringversionNuGetVersiondownloadedConcurrentDictionary<string, object>
Returns
Download(string, NuGetVersion, ConcurrentDictionary<string, object?>, string)
public Task Download(string id, NuGetVersion version, ConcurrentDictionary<string, object?> downloaded, string saveLocation)
Parameters
idstringversionNuGetVersiondownloadedConcurrentDictionary<string, object>saveLocationstring
Returns
Install(string, NuGetVersion?)
public override Task Install(string packageId, NuGetVersion? version = null)
Parameters
packageIdstringversionNuGetVersion
Returns
Install(string, NuGetVersion?, bool)
public override Task Install(string package, NuGetVersion? version = null, bool queue = false)
Parameters
Returns
ReInstallAddInDependencies(IEnumerable<string>?)
public static ApplicationResponse ReInstallAddInDependencies(IEnumerable<string>? dependencies)
Parameters
dependenciesIEnumerable<string>
Returns
Resolve(string, NuGetVersion?)
public override Task<ResolvedPackage?> Resolve(string id, NuGetVersion? version)
Parameters
idstringversionNuGetVersion
Returns
Search(string?, int, int)
public override Task<IEnumerable<AddinInfo>> Search(string? searchTerm = null, int take = 1000, int skip = 0)
Parameters
Returns
UninstallAddInDependencies(string)
public static ApplicationResponse UninstallAddInDependencies(string package)
Parameters
packagestring
Returns
Validate(string, NuGetVersion?)
Tests the package for compatibility with the running application.
public override Task<ResolvedPackage?> Validate(string id, NuGetVersion? version)
Parameters
idstringName of package
versionNuGetVersionOptional version of package
Returns
- Task<ResolvedPackage>
resolvedPackage