Exemplo n.º 1
0
        private Tracker CreateTracker(TrackerConfig trackerConfig)
        {
            Type    trackerClass = Type.GetType(trackerConfig.ClassName());
            Tracker tracker      = (Tracker)trackerClass.GetConstructor(Type.EmptyTypes).Invoke(new object[] { });

            tracker.SetEnv(defaultEnvironment);
            tracker.SetCookies(trackerConfig.CookiesList());
            return(tracker);
        }