Ejemplo n.º 1
0
        public ShellViewModel(IJabbRContext jabbrContext,
                              IEventAggregator eventAggregator,
                              ICredentialManager credentialManager)
        {
            this.jabbrContext      = jabbrContext;
            this.credentialManager = credentialManager;

            eventAggregator.Subscribe(this);
        }
Ejemplo n.º 2
0
        public DirectMessageRoomViewModel(IJabbRContext jabbrContext,
                                          IEventAggregator eventAggregator)
        {
            this.jabbrContext    = jabbrContext;
            this.eventAggregator = eventAggregator;
            this.messages        = new ObservableCollection <MessageViewModel>();

            this.eventAggregator.Subscribe(this);
        }
Ejemplo n.º 3
0
 public ChatRoomViewModelBase(IJabbRContext jabbrContext)
 {
     this.jabbrContext = jabbrContext;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChatRoomViewModel"/> class.
 /// </summary>
 /// <param name="jabbrContext">The jabbr context.</param>
 public ChatRoomViewModel(IJabbRContext jabbrContext,
                          IEventAggregator eventAggregator)
     : base(jabbrContext)
 {
     this.eventAggregator = eventAggregator;
 }
Ejemplo n.º 5
0
 public LobbyViewModel(IJabbRContext jabbrContext,
                       IEventAggregator eventAggregator)
 {
     this.jabbrContext    = jabbrContext;
     this.eventAggregator = eventAggregator;
 }
Ejemplo n.º 6
0
 public RoomViewModel(IJabbRContext jabbrContext)
     : this()
 {
     this.jabbrContext = jabbrContext;
 }
Ejemplo n.º 7
0
 public DirectMessageChatRoomViewModel(IJabbRContext jabbrContext)
     : base(jabbrContext)
 {
 }