mirror of https://github.com/dotnet/runtime
37 lines
767 B
C#
37 lines
767 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
|
|
using Microsoft.Build.Framework;
|
|
using Microsoft.Build.Utilities;
|
|
|
|
namespace Microsoft.DotNet.Build.Tasks
|
|
{
|
|
public abstract partial class BuildTask : ITask
|
|
{
|
|
private TaskLoggingHelper _log = null;
|
|
|
|
internal TaskLoggingHelper Log
|
|
{
|
|
get { return _log ?? (_log = new TaskLoggingHelper(this)); }
|
|
}
|
|
|
|
public BuildTask()
|
|
{
|
|
}
|
|
|
|
public IBuildEngine BuildEngine
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public ITaskHost HostObject
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public abstract bool Execute();
|
|
}
|
|
}
|