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; }
public XmlIntelliSenseProvider() { _xmlRegistrationInfos = new Dictionary<string, XmlRegistrationInfo>(); _syncContextExcel = new ExcelSynchronizationContext(); }