JackSharp.Controller.OnPortRename C# (CSharp) 메소드

OnPortRename() 개인적인 메소드

private OnPortRename ( uint portId, string oldName, string newName, IntPtr arg ) : void
portId uint
oldName string
newName string
arg System.IntPtr
리턴 void
        void OnPortRename(uint portId, string oldName, string newName, IntPtr arg)
        {
            if (PortChanged != null) {
                PortReference port = MapPort (portId);
                port.FullName = newName;
                PortChanged (this, new PortRegistrationEventArgs (port, ChangeType.Renamed));
            }
        }