Partilhar via


FlatTrackingData Constructors

Definition

Creates a new instance of the class used to track file dependencies during a build.

Overloads

FlatTrackingData(ITaskItem[], Boolean)

Constructor

FlatTrackingData(ITaskItem[], DateTime)

Constructor

FlatTrackingData(ITask, ITaskItem[], Boolean)

Constructor

FlatTrackingData(ITask, ITaskItem[], DateTime)

Constructor

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime)

Constructor

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime, String[], IDictionary<String,DateTime>)

Constructor

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime, String[], IDictionary<String,DateTime>, Boolean)

Constructor

FlatTrackingData(ITaskItem[], Boolean)

Source:
FlatTrackingData.cs

Constructor

public:
 FlatTrackingData(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFiles, bool skipMissingFiles);
public FlatTrackingData (Microsoft.Build.Framework.ITaskItem[] tlogFiles, bool skipMissingFiles);
new Microsoft.Build.Utilities.FlatTrackingData : Microsoft.Build.Framework.ITaskItem[] * bool -> Microsoft.Build.Utilities.FlatTrackingData
Public Sub New (tlogFiles As ITaskItem(), skipMissingFiles As Boolean)

Parameters

tlogFiles
ITaskItem[]

The .write. tlog files to interpret

skipMissingFiles
Boolean

Ignore files that do not exist on disk

Applies to

FlatTrackingData(ITaskItem[], DateTime)

Source:
FlatTrackingData.cs

Constructor

public:
 FlatTrackingData(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFiles, DateTime missingFileTimeUtc);
public FlatTrackingData (Microsoft.Build.Framework.ITaskItem[] tlogFiles, DateTime missingFileTimeUtc);
new Microsoft.Build.Utilities.FlatTrackingData : Microsoft.Build.Framework.ITaskItem[] * DateTime -> Microsoft.Build.Utilities.FlatTrackingData
Public Sub New (tlogFiles As ITaskItem(), missingFileTimeUtc As DateTime)

Parameters

tlogFiles
ITaskItem[]

The .write. tlog files to interpret

missingFileTimeUtc
DateTime

The DateTime that should be recorded for missing file.

Applies to

FlatTrackingData(ITask, ITaskItem[], Boolean)

Source:
FlatTrackingData.cs

Constructor

public:
 FlatTrackingData(Microsoft::Build::Framework::ITask ^ ownerTask, cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFiles, bool skipMissingFiles);
public FlatTrackingData (Microsoft.Build.Framework.ITask ownerTask, Microsoft.Build.Framework.ITaskItem[] tlogFiles, bool skipMissingFiles);
new Microsoft.Build.Utilities.FlatTrackingData : Microsoft.Build.Framework.ITask * Microsoft.Build.Framework.ITaskItem[] * bool -> Microsoft.Build.Utilities.FlatTrackingData
Public Sub New (ownerTask As ITask, tlogFiles As ITaskItem(), skipMissingFiles As Boolean)

Parameters

ownerTask
ITask

The task that is using file tracker

tlogFiles
ITaskItem[]

The tlog files to interpret

skipMissingFiles
Boolean

Ignore files that do not exist on disk

Applies to

FlatTrackingData(ITask, ITaskItem[], DateTime)

Source:
FlatTrackingData.cs

Constructor

public:
 FlatTrackingData(Microsoft::Build::Framework::ITask ^ ownerTask, cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFiles, DateTime missingFileTimeUtc);
public FlatTrackingData (Microsoft.Build.Framework.ITask ownerTask, Microsoft.Build.Framework.ITaskItem[] tlogFiles, DateTime missingFileTimeUtc);
new Microsoft.Build.Utilities.FlatTrackingData : Microsoft.Build.Framework.ITask * Microsoft.Build.Framework.ITaskItem[] * DateTime -> Microsoft.Build.Utilities.FlatTrackingData
Public Sub New (ownerTask As ITask, tlogFiles As ITaskItem(), missingFileTimeUtc As DateTime)

Parameters

ownerTask
ITask

The task that is using file tracker

tlogFiles
ITaskItem[]

The tlog files to interpret

missingFileTimeUtc
DateTime

The DateTime that should be recorded for missing file.

Applies to

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime)

Source:
FlatTrackingData.cs

Constructor

public:
 FlatTrackingData(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFiles, cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFilesToIgnore, DateTime missingFileTimeUtc);
public FlatTrackingData (Microsoft.Build.Framework.ITaskItem[] tlogFiles, Microsoft.Build.Framework.ITaskItem[] tlogFilesToIgnore, DateTime missingFileTimeUtc);
new Microsoft.Build.Utilities.FlatTrackingData : Microsoft.Build.Framework.ITaskItem[] * Microsoft.Build.Framework.ITaskItem[] * DateTime -> Microsoft.Build.Utilities.FlatTrackingData
Public Sub New (tlogFiles As ITaskItem(), tlogFilesToIgnore As ITaskItem(), missingFileTimeUtc As DateTime)

Parameters

tlogFiles
ITaskItem[]

The .write. tlog files to interpret

tlogFilesToIgnore
ITaskItem[]

The .tlog files to ignore

missingFileTimeUtc
DateTime

The DateTime that should be recorded for missing file.

Applies to

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime, String[], IDictionary<String,DateTime>)

Source:
FlatTrackingData.cs

Constructor

public:
 FlatTrackingData(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFiles, cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFilesToIgnore, DateTime missingFileTimeUtc, cli::array <System::String ^> ^ excludedInputPaths, System::Collections::Generic::IDictionary<System::String ^, DateTime> ^ sharedLastWriteTimeUtcCache);
public FlatTrackingData (Microsoft.Build.Framework.ITaskItem[] tlogFiles, Microsoft.Build.Framework.ITaskItem[] tlogFilesToIgnore, DateTime missingFileTimeUtc, string[] excludedInputPaths, System.Collections.Generic.IDictionary<string,DateTime> sharedLastWriteTimeUtcCache);
new Microsoft.Build.Utilities.FlatTrackingData : Microsoft.Build.Framework.ITaskItem[] * Microsoft.Build.Framework.ITaskItem[] * DateTime * string[] * System.Collections.Generic.IDictionary<string, DateTime> -> Microsoft.Build.Utilities.FlatTrackingData
Public Sub New (tlogFiles As ITaskItem(), tlogFilesToIgnore As ITaskItem(), missingFileTimeUtc As DateTime, excludedInputPaths As String(), sharedLastWriteTimeUtcCache As IDictionary(Of String, DateTime))

Parameters

tlogFiles
ITaskItem[]

The .tlog files to interpret

tlogFilesToIgnore
ITaskItem[]

The .tlog files to ignore

missingFileTimeUtc
DateTime

The DateTime that should be recorded for missing file.

excludedInputPaths
String[]

The set of paths that contain files that are to be ignored during up to date check, including any subdirectories.

sharedLastWriteTimeUtcCache
IDictionary<String,DateTime>

Cache to be used for all timestamp/exists comparisons, which can be shared between multiple FlatTrackingData instances.

Applies to

FlatTrackingData(ITaskItem[], ITaskItem[], DateTime, String[], IDictionary<String,DateTime>, Boolean)

Source:
FlatTrackingData.cs

Constructor

public:
 FlatTrackingData(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFiles, cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ tlogFilesToIgnore, DateTime missingFileTimeUtc, cli::array <System::String ^> ^ excludedInputPaths, System::Collections::Generic::IDictionary<System::String ^, DateTime> ^ sharedLastWriteTimeUtcCache, bool treatRootMarkersAsEntries);
public FlatTrackingData (Microsoft.Build.Framework.ITaskItem[] tlogFiles, Microsoft.Build.Framework.ITaskItem[] tlogFilesToIgnore, DateTime missingFileTimeUtc, string[] excludedInputPaths, System.Collections.Generic.IDictionary<string,DateTime> sharedLastWriteTimeUtcCache, bool treatRootMarkersAsEntries);
new Microsoft.Build.Utilities.FlatTrackingData : Microsoft.Build.Framework.ITaskItem[] * Microsoft.Build.Framework.ITaskItem[] * DateTime * string[] * System.Collections.Generic.IDictionary<string, DateTime> * bool -> Microsoft.Build.Utilities.FlatTrackingData
Public Sub New (tlogFiles As ITaskItem(), tlogFilesToIgnore As ITaskItem(), missingFileTimeUtc As DateTime, excludedInputPaths As String(), sharedLastWriteTimeUtcCache As IDictionary(Of String, DateTime), treatRootMarkersAsEntries As Boolean)

Parameters

tlogFiles
ITaskItem[]

The .tlog files to interpret

tlogFilesToIgnore
ITaskItem[]

The .tlog files to ignore

missingFileTimeUtc
DateTime

The DateTime that should be recorded for missing file.

excludedInputPaths
String[]

The set of paths that contain files that are to be ignored during up to date check, including any subdirectories.

sharedLastWriteTimeUtcCache
IDictionary<String,DateTime>

Cache to be used for all timestamp/exists comparisons, which can be shared between multiple FlatTrackingData instances.

treatRootMarkersAsEntries
Boolean

Add root markers as inputs.

Applies to