//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public void EnumConnections(out IEnumConnections ppEnum) { // // Creates an enumerator object for iteration through the connections that exist to this connection point. // LoggingUtils.PrintFunction(); try { List <System.Runtime.InteropServices.ComTypes.CONNECTDATA> connections = new List <System.Runtime.InteropServices.ComTypes.CONNECTDATA> (); foreach (KeyValuePair <int, IDebugPortEvents2> keyPair in m_eventConnectionPoints) { connections.Add(new System.Runtime.InteropServices.ComTypes.CONNECTDATA() { dwCookie = keyPair.Key, pUnk = (object)keyPair.Value }); } ppEnum = new ConnectionEnumerator(connections); } catch (Exception e) { LoggingUtils.HandleException(e); ppEnum = null; } }
public virtual void Clone(out IEnumConnections ppEnum) { ppEnum = new ConnectionEnumerator(_connections, _currentIndex); }
public virtual void EnumConnections(out IEnumConnections ppEnum) { ppEnum = new ConnectionEnumerator(sinks); }
internal NodeEnumeratorByPort(ConnectionEnumerator parent, TInputPort filter) { m_Walker = parent; m_Filter = filter; }