public ExcelDnaIntelliSenseProvider(SynchronizationContext syncContextMain)
 {
     _loaderNotification = new LoaderNotification();
     _loaderNotification.LoadNotification += loaderNotification_LoadNotification;
     _syncContextMain         = syncContextMain;
     _syncContextExcel        = new ExcelSynchronizationContext();
     _processLoadNotification = ProcessLoadNotification;
 }
 public ExcelDnaIntelliSenseProvider(SynchronizationContext syncContextMain)
 {
     _loaderNotification = new LoaderNotification();
     _loaderNotification.LoadNotification += loaderNotification_LoadNotification;
     _syncContextMain         = syncContextMain;
     _syncContextExcel        = new ExcelSynchronizationContext();
     _xmlProvider             = new XmlIntelliSenseProvider();
     _xmlProvider.Invalidate += (sender, e) => OnInvalidate(null);
     _processLoadNotification = ProcessLoadNotification;
 }
Esempio n. 3
0
 public XmlIntelliSenseProvider()
 {
     _xmlRegistrationInfos = new Dictionary <string, XmlRegistrationInfo>();
     _syncContextExcel     = new ExcelSynchronizationContext();
 }