Confusion about UsageCounter vs UsageReporter

.NET obfuscator and automated error reporting

Confusion about UsageCounter vs UsageReporter

Postby williamw » Mon Jun 17, 2013 12:38 pm

The documentation examples for feature usage reporting use "UsageCounter.ReportUsage" to report feature usage.

The SDK templates define a class that inherits from UsageReporter and define static methods FeatureUsed and DynamicFeatureUsed. There is no documentation on the purpose of these methods, or on the UsageReporter.RecordFeatureUsed methods that they call.

If I am using a custom template, what should my code be calling to report feature usage? UsageCounter.ReportUsage or UsageReporterWithUI.DynamicFeatureUsed?
Posts: 8
Joined: Mon Apr 02, 2012 1:19 pm

Postby Chris.Allen » Tue Jun 18, 2013 2:05 pm

Sorry for the lack of documentation.



The other one is deprecated.
Posts: 579
Joined: Thu Mar 12, 2009 3:17 pm

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests