Class PendingPackageMigrations
Represents a collection of package migrations that are pending and need to be applied.
Inheritance
object
Namespace: Umbraco.Cms.Core.Packaging
Assembly: Umbraco.Infrastructure.dll
Syntax
public class PendingPackageMigrations
Constructors
View SourcePendingPackageMigrations(ILogger<PendingPackageMigrations>, PackageMigrationPlanCollection)
Initializes a new instance of the PendingPackageMigrations class with the specified logger and package migration plans.
Declaration
public PendingPackageMigrations(ILogger<PendingPackageMigrations> logger, PackageMigrationPlanCollection packageMigrationPlans)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger<PendingPackageMigrations> | logger | An Microsoft.Extensions.Logging.ILogger<TCategoryName> instance used for logging. |
| PackageMigrationPlanCollection | packageMigrationPlans | A PackageMigrationPlanCollection containing the migration plans for packages. |
Methods
View SourceGetPendingPackageMigrations(IReadOnlyDictionary<string, string?>?)
Returns what package migration names are pending
Declaration
public IReadOnlyList<string> GetPendingPackageMigrations(IReadOnlyDictionary<string, string?>? keyValues)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyDictionary<string, string> | keyValues | These are the key/value pairs from the keyvalue storage of migration names and their final values |
Returns
| Type | Description |
|---|---|
| IReadOnlyList<string> |