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

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
GetOrCreateSession IInterlocutorChatSession
IsMessageEmpty bool
LoadHistoryExecuted void
SetCommands void
SetTheme void
ThemeChanged void

Public Methods

Method Description
AppendToMessage ( string str ) : void
CanSendMessage ( ) : bool
Consume ( IMessage message ) : void
GetCounter ( ) : UnreadMessageCounter
InterlocutorChatViewModel ( IFrameViewModel frame, Interlocutor interlocutor ) : System
Predicate ( IMessage message ) : bool
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
GetOrCreateSession ( ) : IInterlocutorChatSession
IsMessageEmpty ( ) : bool
LoadHistoryExecuted ( ) : void
SetCommands ( ) : void
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

GetCounter() public method

public GetCounter ( ) : UnreadMessageCounter
return VSTalk.Engine.Core.Feed.MessageState.UnreadMessageCounter

InterlocutorChatViewModel() public method

public InterlocutorChatViewModel ( IFrameViewModel frame, Interlocutor interlocutor ) : System
frame IFrameViewModel
interlocutor VSTalk.Model.Interlocutor
return System

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

SendMessage() public method

public SendMessage ( ) : void
return void

StartListen() public method

public StartListen ( ) : void
return void

StopListen() public method

public StopListen ( ) : void
return void