////////////////////////////////////////////////////////////////////////// public CBundleContext(CBundle bundle, CSystemBundle systemBundle) { m_checker = new StaleReferenceChecker(onStaleRefAccess); m_bundle = bundle; m_systemBundle = systemBundle; m_publishedServices = new List<CServiceRegistration>(); m_frameworkListeners = new List<IFrameworkListener>(); m_bundleListeners = new List<IBundleListener>(); m_serviceListeners = new List<IServiceListener>(); }
////////////////////////////////////////////////////////////////////////// public CBundleContext(CBundle bundle, CSystemBundle systemBundle) { m_checker = new StaleReferenceChecker(onStaleRefAccess); m_bundle = bundle; m_systemBundle = systemBundle; m_publishedServices = new List <CServiceRegistration>(); m_frameworkListeners = new List <IFrameworkListener>(); m_bundleListeners = new List <IBundleListener>(); m_serviceListeners = new List <IServiceListener>(); }