Пример #1
0
 private void RaiseVpnStateChanged(VpnStateChangedEventArgs e)
 {
     VpnStateChanged?.Invoke(this, e);
 }
Пример #2
0
 private void OnVpnStateChanged(VpnState state)
 {
     VpnStateChanged?.Invoke(this, new EventArgs <VpnState>(state));
 }
Пример #3
0
 private void OnConnectorVpnStateChanged(object sender, VpnStateChangedEventArgs e)
 {
     VpnStateChanged?.Invoke(this, e);
 }
Пример #4
0
        public void OnStateChanged(VpnStateContract e)
        {
            Action action = () => VpnStateChanged?.Invoke(this, e);

            Application.Current?.Dispatcher?.BeginInvoke(action, null);
        }