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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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