예제 #1
0
 public override int Run(string[] remainingArguments)
 {
     using (var fileStream = new FileStream(remainingArguments[0], FileMode.Open, FileAccess.Read)) {
         using (var reader = new FileDBReader(fileStream)) {
             Node content = reader.ReadFile();
             this.Dump(content, 0);
         }
     }
     return(0);
 }
예제 #2
0
 public override int Run(string[] remainingArguments)
 {
     using (var fileStream = new FileStream(remainingArguments[0], FileMode.Open, FileAccess.Read)) {
         using (var reader = new FileDBReader(fileStream)) {
             Node content = reader.ReadFile();
             this.Dump(content, 0);
         }
     }
     return 0;
 }