Open spontoreau opened 5 years ago
Please don't use a class with static a method to track event. This is clearly a dependency and it needs to be injected:
internal static void Log(string name, IDictionary<string, string> properties = null) { Analytics.TrackEvent(name, properties); }
Correct.
We can first change that and resolve it with the DependencyResolver (we need some time to talk about that in the project: #8)
Please don't use a class with static a method to track event. This is clearly a dependency and it needs to be injected: