C# Class VSTalk.Engine.ViewModel.Messenger.RoomChatViewModel

Inheritance: IChatViewModel, INotifyPropertyChanged
Exibir arquivo Open project: Irdis/VSTalk Class Usage Examples

Private Properties

Property Type Description
ClearMessage void
CreateHistoryLoader VSTalk.Engine.ViewModel.Messenger.History.HistoryLoaderViewModel
CreateThread VSTalk.Engine.ViewModel.Messenger.ThreadRenderer.ConversationThread
IsMessageEmpty bool
SetTheme void
ThemeChanged void

Public Methods

Method Description
AppendToMessage ( string str ) : void
CanSendMessage ( ) : bool
Consume ( IMessage message ) : void
Predicate ( IMessage message ) : bool
RoomChatViewModel ( IFrameViewModel frame, Room room ) : System
SendMessage ( ) : void
StartListen ( ) : void
StopListen ( ) : void

Protected Methods

Method Description
ModifyTextBox ( System.Action action ) : void
ParseCurrentHistory ( ) : void

Private Methods

Method Description
ClearMessage ( ) : void
CreateHistoryLoader ( ) : HistoryLoaderViewModel
CreateThread ( System.Windows.Documents.FlowDocument document ) : ConversationThread
IsMessageEmpty ( ) : bool
SetTheme ( ThemeMode activeTheme ) : void
ThemeChanged ( IThemeManager sender ) : void

Method Details

AppendToMessage() public method

public AppendToMessage ( string str ) : void
str string
return void

CanSendMessage() public method

public CanSendMessage ( ) : bool
return bool

Consume() public method

public Consume ( IMessage message ) : void
message IMessage
return void

ModifyTextBox() protected method

protected ModifyTextBox ( System.Action action ) : void
action System.Action
return void

ParseCurrentHistory() protected method

protected ParseCurrentHistory ( ) : void
return void

Predicate() public method

public Predicate ( IMessage message ) : bool
message IMessage
return bool

RoomChatViewModel() public method

public RoomChatViewModel ( IFrameViewModel frame, Room room ) : System
frame IFrameViewModel
room VSTalk.Model.Room
return System

SendMessage() public method

public SendMessage ( ) : void
return void

StartListen() public method

public StartListen ( ) : void
return void

StopListen() public method

public StopListen ( ) : void
return void