You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
573 B
20 lines
573 B
using System;
|
|
|
|
namespace NzbDrone.Core.Datastore.Migration.Framework
|
|
{
|
|
public class MigrationContext
|
|
{
|
|
public static MigrationContext Current { get; set; }
|
|
|
|
public MigrationType MigrationType { get; private set; }
|
|
public long? DesiredVersion { get; set; }
|
|
public Action<NzbDroneMigrationBase> BeforeMigration { get; set; }
|
|
|
|
public MigrationContext(MigrationType migrationType, long? desiredVersion = null)
|
|
{
|
|
MigrationType = migrationType;
|
|
DesiredVersion = desiredVersion;
|
|
}
|
|
}
|
|
}
|