Freigeben über


DependencyFilter Delegate

Dependency filter delegate. Used during TLog saves in order for tasks to selectively remove dependencies from the written graph.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Delegate Function DependencyFilter ( _
    fullPath As String _
) As Boolean
public delegate bool DependencyFilter(
    string fullPath
)
public delegate bool DependencyFilter(
    String^ fullPath
)
type DependencyFilter = 
    delegate of  
        fullPath:string -> bool
JScript does not support delegates.

Parameters

  • fullPath
    Type: System.String

    The full path to the dependency file about to be written to the compacted TLog

Return Value

Type: System.Boolean
If the file should actually be written to the TLog (true) or not (false)

See Also

Reference

Microsoft.Build.Utilities Namespace