C# Class Bamboo.Prevalence.VersionMigration.MigrationPlan

Models a plan for migrating a serialized object graph to a new version.
Exibir arquivo Open project: bamboo/Bamboo.Prevalence Class Usage Examples

Public Methods

Method Description
GetTypeMapping ( Type type ) : TypeMapping
IsTypeMappingAvailable ( Type type ) : bool
Load ( string filename ) : MigrationPlan
MigrationPlan ( ) : System
MigrationPlan ( XmlElement planElement ) : System

Private Methods

Method Description
Deserialize ( MigrationContext context ) : object
Load ( XmlElement planElement ) : void
LoadCulture ( XmlElement element ) : void
LoadScripts ( XmlElement planElement ) : void
LoadTypeMapping ( XmlElement item ) : void
LoadTypeMappings ( XmlElement planElement ) : void
SetUpScripts ( MigrationContext context ) : void

Method Details

GetTypeMapping() public method

public GetTypeMapping ( Type type ) : TypeMapping
type System.Type
return TypeMapping

IsTypeMappingAvailable() public method

public IsTypeMappingAvailable ( Type type ) : bool
type System.Type
return bool

Load() public static method

public static Load ( string filename ) : MigrationPlan
filename string
return MigrationPlan

MigrationPlan() public method

public MigrationPlan ( ) : System
return System

MigrationPlan() public method

public MigrationPlan ( XmlElement planElement ) : System
planElement System.Xml.XmlElement
return System