Analytics
Utility class to support analytics tracking.
Returns if any analytics reporting is ON (Google, ADP etc.)
public static IDisposable CreateTimedEvent(Categories category, string variable, string description = "", int? value = default)
Creates a new timed event with start state and tracks its start.
Disposing the returnd event will record the event completion.
Logs usage data
public static IDisposable TrackCommandEvent(string name, string description = "", int? value = default)
Creates a new command event of the given name. Start of the
command is tracked. When the event is disposed, it's completion is tracked.
public static void TrackEvent(Actions action, Categories category, string description = "", int? value = default)
Tracks an arbitrary event.
Tracks an exception. If the exception is fatal, its recorded as crash.
public static IDisposable TrackFileOperationEvent(string filepath, Actions operation, int size, string description = "")
Creates a new file operation event and tracks the start of the event.
Disposing the returned event will record its completion.
Tracks user preference setting and its value.
Tracks screen view, such as Node view, Geometry view, Custom workspace etc.
Tracks application startup time
public static void TrackTimedEvent(Categories category, string variable, TimeSpan time, string description = "")
Tracks a timed event, when it has completed.