public void DetachTest() { try { using (OscAddressManager target = new OscAddressManager()) { string address = "/test"; OscMessageEvent @event = new OscMessageEvent((OscMessage message) => { Debug.WriteLine(message.ToString()); }); target.Attach(address, @event); target.Detach(address, @event); } } catch (Exception ex) { Assert.Fail(ex.Message); } }
public void Detach(string address, OscMessageEvent @event) { OscAddressManager.Detach(address, @event); }