示例#1
0
        private AttachToWacProcessDialogModel ShowWacProcessesList()
        {
            var model  = new AttachToWacProcessDialogModel(this);
            var window = new AttachToWacProcessDialog(model);
            var result = ShowDialog(window);

            return(result.GetValueOrDefault() ? model : null);
        }
示例#2
0
        private AttachToWacProcessDialogModel ShowWacProcessesList()
        {
            var connectionTypes = new List <string>();

            foreach (Transport transport in ((Debugger2)_dte.Debugger).Transports)
            {
                connectionTypes.Add(transport.Name);
            }

            var model  = new AttachToWacProcessDialogModel(this, connectionTypes);
            var window = new AttachToWacProcessDialog(model);
            var result = ShowDialog(window);

            return(result.GetValueOrDefault() ? model : null);
        }