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); }
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); }