Class MarketplaceService
- Namespace
- Dynamicweb.Marketplace
- Assembly
- Dynamicweb.Marketplace.dll
- Inheritance
-
Marketplace
Service
- Inherited Members
Fields
PresetSearch
Field Value
Methods
CompareVersions(string?, string?)
Parameters
Returns
GetAllAddins()
Returns
GetContextName(string, string)
Parameters
Returns
GetDependencies(string, string, string?)
Gets all the dependencies a package may have with their required version, possible installed version and if its compatible with the current installation or not.
public static IEnumerable<AddinInfo> GetDependencies(string package, string provider, string? version = null)
Parameters
package
stringThe package to find dependencies for
provider
stringThe provider to use
version
stringThe version of the dependency, if none are specified it will default to latest
Returns
GetDependency(string, string, string?)
Gets dependency information about the specified addin
public static ResolvedPackage? GetDependency(string package, string manager, string? version = null)
Parameters
Returns
- Resolved
Package resolvedPackage
Exceptions
- Validation
Exception Thrown if package is not valid for install
Install(string, string?, string)
Parameters
Install(string, string?, string, bool)
Looks for dependencies of the specified addin in and uninstalls those. Then uninstalls the specified addin before reinstalling all the dependencies.
Parameters
InstallInfo(string, string)
Gets information about the specified running addin
Parameters
Returns
- Install
Info installInfo
InstallViaManager(string, string?, string, bool)
Installs the specified addin without looking at potential dependency conflicts.
Parameters
IsAddinInstalled(string?, string?, string)
public static bool IsAddinInstalled(string? installedVersion, string? addinVersion, string addinProvider)
Parameters
Returns
Search(string)
Gets a list of all available Addins
Parameters
manager
string
Returns
- IEnumerable<Addin
Info > addins
Search(string?, int, int, string)
Searches for addins with specified name
Parameters
name
stringPartial name to search for
take
intMaximum number of addins to return
skip
intSkip this number before starting to return results
manager
string
Returns
- IEnumerable<Addin
Info > addins
SearchSpecific(string, string)
Gets information about a specific addin
Parameters
Returns
- Addin
Info addin