Ejemplo n.º 1
0
        public static IAttributionHandler GetAttributionHandler(IActivityHandler activityHandler,
                                                                ActivityPackage attributionPacakage,
                                                                bool startPaused)
        {
            if (_iAttributionHandler == null)
            {
                return(new AttributionHandler(activityHandler, attributionPacakage, startPaused));
            }

            _iAttributionHandler.Init(activityHandler, attributionPacakage, startPaused);
            return(_iAttributionHandler);
        }
Ejemplo n.º 2
0
        public static IAttributionHandler GetAttributionHandler(IActivityHandler activityHandler,
                                                                ActivityPackage attributionPacakage,
                                                                bool startPaused,
                                                                bool hasDelegate)
        {
            if (IAttributionHandler == null)
            {
                return(new AttributionHandler(activityHandler, attributionPacakage, startPaused, hasDelegate));
            }

            IAttributionHandler.Init(activityHandler, attributionPacakage, startPaused, hasDelegate);
            return(IAttributionHandler);
        }