예제 #1
0
 protected virtual ICommandOutput ToOutput(PackageOperationResult packageOperationResult)
 {
     var output = packageOperationResult.ToOutput();
     //            this.Successful = this.Successful && (output.Type != CommandResultType.Info || output.Type == CommandResultType.Data || output.Type == CommandResultType.Verbose);
     this.Successful = this.Successful && (output.Type != CommandResultType.Error);
     return output;
 }
예제 #2
0
 protected virtual ICommandOutput ToOutput(PackageOperationResult packageOperationResult)
 {
     var output = packageOperationResult.ToOutput();
     Successful = Successful && (output.Type != CommandResultType.Error);
     return output;
 }