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