public DebugPort(PortFilter portFilter, DebugPortSupplier portSupplier) { m_name = NameFromPortFilter(portFilter); m_portSupplier = portSupplier; m_portFilter = portFilter; m_cpDebugPortEvents2 = new ConnectionPoint(this, typeof(IDebugPortEvents2).GUID); m_alProcesses = ArrayList.Synchronized(new ArrayList(1)); m_pidNext = 1; m_guid = Guid.NewGuid(); }
public DebugPort(PortFilter portFilter, DebugPortSupplier portSupplier) { m_name = NameFromPortFilter(portFilter); m_portSupplier = portSupplier; m_portFilter = portFilter; m_cpDebugPortEvents2 = new ConnectionPoint(this, typeof(IDebugPortEvents2).GUID); m_alProcesses = ArrayList.Synchronized(new ArrayList(1)); m_pidNext = 1; m_guid = Guid.NewGuid(); }
internal DebugPort GetDebugPort() { string deployPortName = this.DeployTransportName; DebugPort port = new DebugPortSupplier().FindPort(deployPortName); if (port == null) { VsPackage.MessageCentre.DeploymentMsg(String.Format(DiagnosticStrings.InvalidPort, deployPortName)); } return(port); }
internal DebugPort GetDebugPort() { string deployPortName = this.DeployTransportName; DebugPort port = new DebugPortSupplier().FindPort(deployPortName); if(port == null) VsPackage.MessageCentre.DeploymentMsg(String.Format(DiagnosticStrings.InvalidPort, deployPortName)); return port; }