using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.Core.Commands;
using Tango.Core.DI;
using Tango.Core.ExtensionMethods;
using Tango.Integration.ExternalBridge;
using Tango.PMR.Integration;
using Tango.PPC.Common;
using Tango.PPC.Common.ExternalBridge;
using Tango.PPC.Common.Navigation;
namespace Tango.PPC.UI.ViewModels
{
/// <summary>
/// Represents the external bridge view ViewModel.
/// </summary>
/// <seealso cref="Tango.PPC.Common.PPCViewModel" />
[TangoCreateWhenRegistered]
public class ExternalBridgeViewVM : PPCViewModel
{
private bool _disconnecting;
#region Properties
private ExternalBridgeClientConnectedEventArgs _connection;
/// <summary>
/// Gets or sets the last client connection event arguments.
/// </summary>
public ExternalBridgeClientConnectedEventArgs Connection
{
get { return _connection; }
set { _connection = value; RaisePropertyChangedAuto(); }
}
private User _user;
/// <summary>
/// Gets or sets the user connected user.
/// </summary>
public User User
{
get { return _user; }
set { _user = value