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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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