37 lines
832 B
C#
37 lines
832 B
C#
![]() |
// Licensed to the .NET Foundation under one or more agreements.
|
||
|
// The .NET Foundation licenses this file to you under the MIT license.
|
||
|
// See the LICENSE file in the project root for more information.
|
||
|
|
||
|
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();
|
||
|
}
|
||
|
}
|