示例#1
0
 public void Setup(IDependencyContainer container)
 {
     // Make a new pipeline for showing json output
     container.BuildPipeline(DebugPipeline, builder => builder
                             // Fork from the 2nd step (serializer) on the existing JSON Saving Pipeline
                             .ForkDataFrom <ISaveEntityDatabasePipeline>(2)
                             // Then spit out the json to the console in a nice way
                             .ThenInvoke(WriteEntityData));
 }