Class MigrationStepRepository
Contains all changes to contenttypes that has been recorded with implementations of the MigrationStep class.
Inheritance
System.Object
MigrationStepRepository
Namespace: EPiServer.DataAbstraction.Migration
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class MigrationStepRepository : Object
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 |