public GatewayViewModel() { try { gateway = new Pusher.Gateway(); gateway.Commands += Gateway_Commands; Commands = new ObservableCollection <Cmd>(); } catch (Exception ex) { } }
public GatewayViewModel() { try { gateway = new Pusher.Gateway(); gateway.Commands += Gateway_Commands; Commands = new ObservableCollection<Cmd>(); } catch (Exception ex) { } }
public void Dispose() { gateway = null; }