Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
 public void Detach(string address, OscMessageEvent @event)
 {
     OscAddressManager.Detach(address, @event);
 }