예제 #1
0
        internal static async Task UpdateUserInterfaceAsync(this DaprDebuggerPackage serviceProvider)
        {
            await serviceProvider.JoinableTaskFactory.SwitchToMainThreadAsync();

            var ui = (IVsUIShell)await serviceProvider.GetServiceAsync(typeof(IVsUIShell));

            ui?.UpdateCommandUI(0);
        }
        public DaprDependencyManager(DaprDebuggerPackage package)
        {
            _package = package;

            _processes = new Dictionary <string, int>();
        }
예제 #3
0
 internal static async Task <DTE2> GetDTE2Async(this DaprDebuggerPackage serviceProvider)
 {
     return((DTE2)await serviceProvider.GetServiceAsync(typeof(DTE)));
 }