Class AssetTracker
Base class for tracking assets and executing an action on each change.
public abstract class AssetTracker : IDisposable
- Inheritance
-
AssetTracker
- Implements
- Extension Methods
Constructors
AssetTracker(PackageSession)
protected AssetTracker(PackageSession session)
Parameters
session
PackageSession
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
NotifyAssetChanged(Asset)
Called when an asset changes.
public abstract void NotifyAssetChanged(Asset asset)
Parameters
asset
Asset
Start()
protected void Start()
TrackAsset(AssetItem)
Called when a new asset is tracked.
public abstract void TrackAsset(AssetItem assetItem)
Parameters
assetItem
AssetItem
UnTrackAsset(AssetItem)
Called when an asset stop being tracked.
public abstract void UnTrackAsset(AssetItem assetItem)
Parameters
assetItem
AssetItem