Exemple #1
0
 protected override void Execute(CodeActivityContext context)
 {
     console = context.GetExtension <ActivityConsole>();
     if (console == null)
     {
         console = new ActivityConsole();
     }
     hideConsoleOutput = SuppressConsoleOutput.Get(context);
     ExecuteInvoke(context);
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = SuppressConsoleOutput.GetHashCode();
         hashCode = (hashCode * 397) ^ SuppressFileOutput.GetHashCode();
         hashCode = (hashCode * 397) ^ SuppressErrors.GetHashCode();
         hashCode = (hashCode * 397) ^ OutputPath.GetHashCode();
         hashCode = (hashCode * 397) ^ InputPaths.GetHashCode();
         return(hashCode);
     }
 }