Class AssetSourceTracker
public sealed class AssetSourceTracker : IDisposable
- Inheritance
-
AssetSourceTracker
- Implements
- Extension Methods
Properties
EnableTracking
Gets or sets a value indicating whether this instance should track file disk changed events. Default is false
public bool EnableTracking { get; set; }
Property Value
- bool
true
if this instance should track file disk changed events; otherwise,false
.
IsTrackingPaused
Gets or sets a value indicating whether this instance is processing tracking events or it is paused. Default is false
.
public bool IsTrackingPaused { get; set; }
Property Value
- bool
true
if this instance is tracking paused; otherwise,false
.
SourceFileChanged
Gets a source dataflow block in which notifications that a source file has changed are pushed.
public BroadcastBlock<IReadOnlyList<SourceFileChangedData>> SourceFileChanged { get; }
Property Value
TrackingSleepTime
Gets or sets the number of ms the file tracker should sleep before checking changes. Default is 1000ms.
public int TrackingSleepTime { get; set; }
Property Value
- int
The tracking sleep time.
Methods
BeginSavingSession()
public void BeginSavingSession()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
EndSavingSession()
public void EndSavingSession()
GetCurrentHash(UFile)
public ObjectId GetCurrentHash(UFile file)
Parameters
file
UFile