Пример #1
0
        internal void NotifyAddinLoaded(RuntimeAddin ad)
        {
            tree.NotifyAddinLoaded(ad, true);

            lock (conditionTypes) {
                if (childContexts != null)
                {
                    foreach (WeakReference wref in childContexts)
                    {
                        ExtensionContext ctx = wref.Target as ExtensionContext;
                        if (ctx != null)
                        {
                            ctx.NotifyAddinLoaded(ad);
                        }
                    }
                }
            }
        }