Click or drag to resize
Ab4d.SharpEngine logo

ResourceTrackerStartTrackingResources Method

Starts tracking of resources.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public static void StartTrackingResources()
Remarks

StartTrackingResources starts tracking of resources.

After the resources have been tracked, it is possible to get tracked resources by GetTrackedResources, GetTrackedResourcesReport(Boolean, Boolean, Boolean) or display the tracked resources in Visual Studio's Immediate Window with DumpTrackedResources(Boolean, Boolean).

To track all resources this method must be called before any other object is created (for example before InitializeComponent in the application's main window).

It is possible to stop tracking resources with StopTrackingResources.

See Also