示例#1
0
 /// <summary>
 /// 'PRE' of the solution.
 /// Before any build actions have begun.
 /// </summary>
 /// <param name="pfCancelUpdate">Pointer to a flag indicating cancel update.</param>
 /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns>
 public int onPre(ref int pfCancelUpdate)
 {
     try {
         return(link.onPre(ref pfCancelUpdate));
     }
     catch (Exception ex) {
         Log.Error("[Client library] Failed onPre: '{0}'", ex.Message);
     }
     return(Codes.Failed);
 }
示例#2
0
 /// <summary>
 /// 'PRE' of the solution.
 /// Before any build actions have begun.
 /// </summary>
 /// <param name="pfCancelUpdate">Pointer to a flag indicating cancel update.</param>
 /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns>
 public int onPre(ref int pfCancelUpdate)
 {
     try {
         return(link.onPre(ref pfCancelUpdate));
     }
     catch (Exception ex) {
         Log.Error($"[Client library] Failed onPre: {ex.Message}");
         Log.Debug(ex.StackTrace);
     }
     return(Codes.Failed);
 }