Exemplo n.º 1
0
 //////////////////////////////////////////////////////////////////////////
 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>();
 }
Exemplo n.º 2
0
        //////////////////////////////////////////////////////////////////////////

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