C# Class DataMigration.ScriptMethodResolver

Inheritance: IMethodResolver, ILitmusTestResolver, IPostRowProcessorResolver
ファイルを表示 Open project: scoutmedia/DataMigration Class Usage Examples

Public Methods

Method Description
BuildResolversFromScriptFile ( String pathToFile ) : void

Given the path to the script file, compiles it into an in-memory assembly, and uses the RefelectionResolverHelper to grovel out the TransformMethods and LitmusTests.

ResolveLitmusTest ( string litmusTestName ) : LitmusTest

For a given LitmusTest name, returns the implementation.

ResolvePostRowProcessor ( string postRowProcessorName ) : PostRowProcessor

For a given PostRowProcessor name, return the implementation.

ResolveTransformationMethod ( string xformName ) : TransformMethod

For a given TransformMethod name, returns the implementation.

Method Details

BuildResolversFromScriptFile() public method

Given the path to the script file, compiles it into an in-memory assembly, and uses the RefelectionResolverHelper to grovel out the TransformMethods and LitmusTests.
public BuildResolversFromScriptFile ( String pathToFile ) : void
pathToFile String The full path to the script file.
return void

ResolveLitmusTest() public method

For a given LitmusTest name, returns the implementation.
public ResolveLitmusTest ( string litmusTestName ) : LitmusTest
litmusTestName string The name of the litmus test.
return LitmusTest

ResolvePostRowProcessor() public method

For a given PostRowProcessor name, return the implementation.
public ResolvePostRowProcessor ( string postRowProcessorName ) : PostRowProcessor
postRowProcessorName string The name of the postRowProcessor.
return PostRowProcessor

ResolveTransformationMethod() public method

For a given TransformMethod name, returns the implementation.
public ResolveTransformationMethod ( string xformName ) : TransformMethod
xformName string The name of the transform.
return TransformMethod