Exemple #1
0
 /// <summary>
 /// Constructor for the unblocker where we are blocked waiting for results.
 /// </summary>
 internal BuildRequestUnblocker(BuildResult buildResult)
 {
     ErrorUtilities.VerifyThrowArgumentNull(buildResult, nameof(buildResult));
     _buildResult            = buildResult;
     _blockedGlobalRequestId = buildResult.ParentGlobalRequestId;
 }
Exemple #2
0
 /// <summary>
 /// Constructor for the unblocker for circular dependencies
 /// </summary>
 internal BuildRequestUnblocker(BuildRequest parentRequest, BuildResult buildResult)
     : this(buildResult)
 {
     ErrorUtilities.VerifyThrowArgumentNull(parentRequest, nameof(parentRequest));
     _blockedGlobalRequestId = parentRequest.GlobalRequestId;
 }
Exemple #3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="type">The response type.</param>
 public ResultsCacheResponse(ResultsCacheResponseType type)
 {
     Type    = type;
     Results = null;
     ExplicitTargetsToBuild = new HashSet <string>(StringComparer.OrdinalIgnoreCase);
 }