C# Class Rhetos.Deployment.DataMigrationScriptsFromDisk

Inheritance: IDataMigrationScriptsProvider
Exibir arquivo Open project: Rhetos/Rhetos

Protected Properties

Property Type Description
ScriptIdRegex System.Text.RegularExpressions.Regex
_installedPackages IInstalledPackages

Public Methods

Method Description
DataMigrationScriptsFromDisk ( IInstalledPackages installedPackages ) : System
Load ( ) : List

The scripts are sorted by the intended execution order, respecting package dependencies and natural sort order by path.

Protected Methods

Method Description
GetFullPathLength ( string dataMigrationScriptsFolder ) : int
ParseScriptTag ( string scriptContent, string file ) : string

Method Details

DataMigrationScriptsFromDisk() public method

public DataMigrationScriptsFromDisk ( IInstalledPackages installedPackages ) : System
installedPackages IInstalledPackages
return System

GetFullPathLength() protected static method

protected static GetFullPathLength ( string dataMigrationScriptsFolder ) : int
dataMigrationScriptsFolder string
return int

Load() public method

The scripts are sorted by the intended execution order, respecting package dependencies and natural sort order by path.
public Load ( ) : List
return List

ParseScriptTag() protected static method

protected static ParseScriptTag ( string scriptContent, string file ) : string
scriptContent string
file string
return string

Property Details

ScriptIdRegex protected_oe static_oe property

protected static Regex,System.Text.RegularExpressions ScriptIdRegex
return System.Text.RegularExpressions.Regex

_installedPackages protected_oe property

protected IInstalledPackages _installedPackages
return IInstalledPackages