Esempio n. 1
0
        private static void ViewClosed(object view, EventArgs data)
        {
            var wpf = view as IWpfTextView;

            WpfToVs.Remove(wpf);

            var buffer = WpfToBuffer[wpf];

            if (--Buffers[buffer] == 0)
            {
                Collectors.RemoveProperty(buffer);
            }
        }