Helper to return the ICookieMgr from the core (if not null/undefined) or a default implementation associated with the configuration or a legacy default.
The AppInsightsCore instance to get the cookie manager from
Optional
The config to use if the core is not available
Helper to return the ICookieMgr from the core (if not null/undefined) or a default implementation associated with the configuration or a legacy default.