Exemple #1
0
 protected override void Initialize()
 {
     PipelineExecuter = new SimplePipelineExecutor();
     Register(new XmlRowOperationFile(Path.Combine(_inputPath, "votes.xml")));
     Register(new AddVotesToPost(_outputPath));
 }
Exemple #2
0
 protected override void Initialize()
 {
     PipelineExecuter = new SimplePipelineExecutor();
     Register(new XmlRowOperationFile(Path.Combine(_inputDirectory, "comments.xml")));
     Register(new AddCommentsToPost(_outputDirectory));
 }
Exemple #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));
 }
Exemple #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));
 }