public static void SetChannelGroupFactory(IChannelGroupFactory factory) { lock (AppCenterLock) { _channelGroupFactory = factory; } }
// This constructor is only for unit testing internal MobileCenter(IApplicationSettings applicationSettings, IChannelGroupFactory channelGroupFactory = null) { _applicationSettings = applicationSettings; _channelGroupFactory = channelGroupFactory; }