/// <summary> /// Creates a new trace class for the given TraceContext /// </summary> /// <param name="context">The trace class for which the trace should be generated</param> public TransformationContextTrace(ParallelTransformationContext context) { if (context == null) { throw new ArgumentNullException("context"); } this.computationsMade = context.computationsMade; this.computationsByTransformationRule = context.computationsByTransformationRule; this.context = context; }
/// <summary> /// Creates a new trace class for the given TraceContext /// </summary> /// <param name="context">The trace class for which the trace should be generated</param> public TransformationContextTrace(ParallelTransformationContext context) { if (context == null) throw new ArgumentNullException("context"); this.computationsMade = context.computationsMade; this.computationsByTransformationRule = context.computationsByTransformationRule; this.context = context; }