/// <summary> /// Provides additional implementation to determine if the build pipeline satisfy requirements to run the last build. /// </summary> /// <param name="context">The run context for the scope of the run operation.</param> /// <returns>A result describing if the pipeline can run or not.</returns> protected virtual BoolResult OnCanRun(RunContext context) => BoolResult.True();
/// <summary> /// Provides additional implementation to determine if the build pipeline satisfy requirements to build. /// </summary> /// <param name="context">The build context for the scope of the build operation.</param> /// <returns>A result describing if the pipeline can build or not.</returns> protected virtual BoolResult OnCanBuild(BuildContext context) => BoolResult.True();