예제 #1
0
파일: Program.cs 프로젝트: EkardNT/CS143B
 private static void On(SaveCommand command)
 {
     fileSystem.Save(command.SerializationFilePath);
     WriteSuccessLine("disk saved");
 }
예제 #2
0
 public override bool TryBuildCommand(string[] args, out object command)
 {
     var sv = (command = new SaveCommand()) as SaveCommand;
     return RequirePath(args, 0, out sv.SerializationFilePath);
 }