Class MigrationStepRepository
Contains all changes to contenttypes that has been recorded with implementations of the MigrationStep class.
Inheritance
System.Object
MigrationStepRepository
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Migration
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration(FactoryMember = "Create", Lifecycle = ServiceInstanceScope.Singleton)]
public class MigrationStepRepository
Constructors
MigrationStepRepository(ITypeScannerLookup)
Initializes a new instance of the MigrationStepRepository class.
Declaration
public MigrationStepRepository(ITypeScannerLookup typeScannerLookup)
Parameters
Type | Name | Description |
---|---|---|
ITypeScannerLookup | typeScannerLookup | The type scanner lookup. |
Properties
Changes
Gets all changes from all concrete classes inheriting from MigrationStep.
Declaration
public virtual IEnumerable<ContentTypeChange> Changes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ContentTypeChange> |
Methods
Create(ITypeScannerLookup)
Creates the global instance of the MigrationStepRepository class.
Declaration
public static MigrationStepRepository Create(ITypeScannerLookup typeScannerLookup)
Parameters
Type | Name | Description |
---|---|---|
ITypeScannerLookup | typeScannerLookup |
Returns
Type | Description |
---|---|
MigrationStepRepository |