Show / Hide Table of Contents

Class CollectionEntriesMigration

Abstract collection migration (i.e. array or list).

Inheritance
System.Object
CollectionEntriesMigration
ArrayEntriesMigration
EnumerableEntriesMigration
Implements
IMigration
Namespace: Eco.Core.Serialization.Migrations
Assembly: Eco.Core.dll
Syntax
public abstract class CollectionEntriesMigration : Object, IMigration

Constructors

CollectionEntriesMigration(String, String, IMigration, Func<MigrationContext, Int32, Boolean>)

Declaration
protected CollectionEntriesMigration(string elementType, string targetElementType, IMigration entryMigration, Func<MigrationContext, int, bool> filter = null)
Parameters
Type Name Description
System.String elementType
System.String targetElementType
IMigration entryMigration
System.Func<MigrationContext, System.Int32, System.Boolean> filter

Properties

ElementSchemaType

Declaration
public string ElementSchemaType { get; }
Property Value
Type Description
System.String

EntryMigration

Declaration
public IMigration EntryMigration { get; }
Property Value
Type Description
IMigration

TargetElementSchemaType

Declaration
public string TargetElementSchemaType { get; }
Property Value
Type Description
System.String

TargetSchemaType

Declaration
public string TargetSchemaType { get; }
Property Value
Type Description
System.String

Methods

Initialize(MigrationManager)

Declaration
public void Initialize(MigrationManager migrationManager)
Parameters
Type Name Description
MigrationManager migrationManager

MakeSchemaType(String)

Declaration
protected abstract string MakeSchemaType(string elementSchemaType)
Parameters
Type Name Description
System.String elementSchemaType
Returns
Type Description
System.String

Migrate(MigrationContext)

Declaration
public void Migrate(MigrationContext context)
Parameters
Type Name Description
MigrationContext context

Implements

IMigration

Extension Methods

PropertyChanges.FirePropertyChanged(Object, String)
PropertyChanges.FirePropertyChanged(Object, String, Object, Object)
PropertyChanges.FirePropertyChanged(Object, MemberChangedBeforeAfterEventArgs)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾