public void Clear() { DispatcherHandler.BeginInvoke(() => { mErrorWindow.Clear(); }); }
public void Show() { DispatcherHandler.BeginInvoke(() => { mOutputWindow.Show(mDte); }); }
public void RemoveErrors(IVsHierarchy aHierarchy) { DispatcherHandler.BeginInvoke(() => { mErrorWindow.SuspendRefresh(); mErrorWindow.RemoveErrors(aHierarchy); mErrorWindow.ResumeRefresh(); }); }
public void Show() { using (OutputWindow outputWindow = new OutputWindow(mDte)) { DispatcherHandler.BeginInvoke(() => { outputWindow.Show(mDte); }); } }
public void AddMessage(string aMessage) { DispatcherHandler.BeginInvoke(() => { if (String.IsNullOrWhiteSpace(aMessage)) { return; } mOutputWindow.Write(aMessage); }); }
public static void Animation(vsStatusAnimation aAnimation, int aEnableAnimation) { DispatcherHandler.BeginInvoke(() => { // Use the standard Visual Studio icon for building. object icon = (short)Microsoft.VisualStudio.Shell.Interop.Constants.SBAI_Build; // Display the icon in the Animation region. mStatusBar.Animation(aEnableAnimation, ref icon); }); }
public void AddErrors(IEnumerable <TaskError> aErrors) { DispatcherHandler.BeginInvoke(() => { foreach (TaskError error in aErrors) { mErrorWindow.AddError(error); } mErrorWindow.Show(); }); }
public void AddError(TaskError aError) { DispatcherHandler.BeginInvoke(() => { mErrorWindow.SuspendRefresh(); if (!String.IsNullOrWhiteSpace(aError.Description)) { mErrorWindow.AddError(aError); } mErrorWindow.Show(); mErrorWindow.ResumeRefresh(); }); }