Example #1
0
        // Token: 0x060010CC RID: 4300 RVA: 0x00033C04 File Offset: 0x00031E04
        protected override void OnWorkUnitReportWarning(string warning, int currentIndex)
        {
            WarningReportEventArgs warningReportEventArgs       = new WarningReportEventArgs(this.Command.CommandGuid, warning, currentIndex, this.Command);
            EventHandler <WarningReportEventArgs> warningReport = this.WarningReport;

            this.InteractionHandler.ReportWarning(warningReportEventArgs);
            if (warningReport != null)
            {
                warningReport(this, warningReportEventArgs);
                return;
            }
            warningReportEventArgs.Dispose();
        }
Example #2
0
 public virtual void ReportWarning(WarningReportEventArgs e)
 {
     ExTraceGlobals.HostTracer.Information <string>((long)this.GetHashCode(), "CommandInteractionHandler.ReportWarning({0})", e.WarningMessage);
 }