File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,15 @@ var decryptionProcessor = new DecryptDataProcessor(encryptor);
40
40
var fileEndpoint = new FileEndpoint (" savegame.sav" );
41
41
42
42
// Create the pipeline to save the data
43
- container .BuildPipeline (" SaveGame" , x => x .SerializeWith <IBinarySerializer >()
43
+ container .BuildPipeline (" SaveGame" , x => x
44
+ .StartWithInput ()
45
+ .SerializeWith <IBinarySerializer >()
44
46
.ProcessWith (encryptionProcessor )
45
- .SendTo (fileEndpoint ));
47
+ .ThenSendTo (fileEndpoint ));
46
48
47
49
// Create the pipeline to load the data
48
- container .BuildPipeline (" LoadGame" , x => x .ReceiveFrom (fileEndpoint )
50
+ container .BuildPipeline (" LoadGame" , x => x
51
+ .StartFrom (fileEndpoint )
49
52
.ProcessWith (decryptionProcessor )
50
53
.DeserializeWith <IBinaryDeerializer >());
51
54
You can’t perform that action at this time.
0 commit comments