Show / Hide Table of Contents

Class ValueToClassMigration

Migrates value to class with one of it's field filled with the value. Useful when required migration from value to class wrapping the value and extending it with additional info.

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

Constructors

ValueToClassMigration(String, String)

Creates new ValueToClassMigration which converts a value to class with schemaType and saves value to fieldName with same schema type as the value.

Declaration
public ValueToClassMigration(string schemaType, string fieldName)
Parameters
Type Name Description
System.String schemaType
System.String fieldName

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