Ejemplo n.º 1
0
 protected override void Initialize()
 {
     PipelineExecuter = new SimplePipelineExecutor();
     Register(new XmlRowOperationFile(Path.Combine(_inputPath, "votes.xml")));
     Register(new AddVotesToPost(_outputPath));
 }
Ejemplo n.º 2
0
 protected override void Initialize()
 {
     PipelineExecuter = new SimplePipelineExecutor();
     Register(new XmlRowOperationFile(Path.Combine(_inputDirectory, "comments.xml")));
     Register(new AddCommentsToPost(_outputDirectory));
 }
Ejemplo n.º 3
0
 protected override void Initialize()
 {
     PipelineExecuter = new SimplePipelineExecutor();
     Register(new XmlRowOperationFile(Path.Combine(inputPath, "posts.xml")));
     Register(new RowToDatabase("Posts", doc => "posts/" + doc["Id"], _outputPath));
 }
Ejemplo n.º 4
0
 protected override void Initialize()
 {
     PipelineExecuter = new SimplePipelineExecutor();
     Register(new XmlRowOperationFile(Path.Combine(_inputDirectory, "users.xml")));
     Register(new RowToDatabase("Users", doc => "users/" + doc["Id"], _outputDirectory));
 }