Show / Hide Table of Contents

Class KeyToReferenceMigration<TKey, TReference>

Migrates a key to reference which have to be resolved by the key using Eco.Core.Serialization.Migrations.KeyToReferenceMigration`2.referenceResolver.

Inheritance
System.Object
KeyToReferenceMigration<TKey, TReference>
Implements
IMigration
Namespace: Eco.Core.Serialization.Migrations
Assembly: Eco.Core.dll
Syntax
public class KeyToReferenceMigration<TKey, TReference> : Object, IMigration
Type Parameters
Name Description
TKey
TReference

Constructors

KeyToReferenceMigration(Func<TKey, TReference>)

Declaration
public KeyToReferenceMigration(Func<TKey, TReference> referenceResolver)
Parameters
Type Name Description
System.Func<TKey, TReference> referenceResolver

Methods

Initialize(MigrationManager)

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

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
☀
☾