Show / Hide Table of Contents

Class ReferenceCollectionToDictionaryMigration

Used to migrate a collection of references into a dictionary, with ID as key ('null' entries are skipped).

Inheritance
System.Object
ReferenceCollectionToDictionaryMigration
Implements
IMigration
Namespace: Eco.Core.Serialization.Migrations
Assembly: Eco.Core.dll
Syntax
public class ReferenceCollectionToDictionaryMigration : Object, IMigration
Remarks

Useful when wanting to migrate a ControllerList without having to wait for registrar initialization.

Constructors

ReferenceCollectionToDictionaryMigration()

Declaration
public ReferenceCollectionToDictionaryMigration()

Properties

MigrationManager

Declaration
protected MigrationManager MigrationManager { get; }
Property Value
Type Description
MigrationManager

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