public DefaultImManager(ILocalRegistry localRegistry, IIMApiProvider imApi, ICallApiProvider callApi, IEventsProvider eventsProvider) { Helper.GuardNotNull(localRegistry); Helper.GuardNotNull(imApi); Helper.GuardNotNull(callApi); Helper.GuardNotNull(eventsProvider); _imApi = imApi; _callApi = callApi; _eventsProvider = eventsProvider; _localRegistry = localRegistry; }
public DefaultImManager(IRegistry localRegistry, IIMApiProvider imApi, ICallApiProvider callApi, IEventsProvider eventsProvider) { Helper.GuardNotNull(localRegistry); Helper.GuardNotNull(imApi); Helper.GuardNotNull(callApi); Helper.GuardNotNull(eventsProvider); _imApi = imApi; _callApi = callApi; _eventsProvider = eventsProvider; _localRegistry = localRegistry; }
public DefaultCallManager(IObjectFactory objectFactory, ICallApiProvider callApi, IRegistry localRegistry, IBasicApiProvider basicApi, IMediaApiProvider mediaApi, IEventsProvider eventsProvider, IAccountManagerInternal accMgr) { Helper.GuardNotNull(objectFactory); Helper.GuardNotNull(basicApi); Helper.GuardNotNull(callApi); Helper.GuardNotNull(mediaApi); Helper.GuardNotNull(localRegistry); Helper.GuardNotNull(eventsProvider); _objectFactory = objectFactory; _accMgr = accMgr; _mediaApi = mediaApi; _eventsProvider = eventsProvider; _basicApi = basicApi; _localRegistry = localRegistry; _callApi = callApi; _barrier = new ManualResetEvent(true); }