C# Class LearnLanguages.Study.MultiLineTextListStudyPartnerBase

StudyPartner base class that targets MLTs. You do not HAVE to descend from this, it just provides some very basic plumbing, including basic Exchange handshaking and some useful properties.
Inheritance: StudyPartnerBase
ファイルを表示 Open project: ibgib/LearnLanguages

Protected Properties

Property Type Description
_ViewModelLock object
_viewModel LearnLanguages.Study.ViewModels.DefaultStudyPartnerViewModel

Public Methods

Method Description
Handle ( ICancelation message ) : void

Handles cancelation messages. Not implemented yet.

Handle ( IConglomerateMessage message ) : void

"Default" conglomerate messaging system. This studier can keep in contact with the other default studiers through this message stream. Not implemented yet, and I'm not even sure if this is needed.

Handle ( IViewModelBase>.IOfferResponse message ) : void

Analyze OfferResponse's published on Exchange.

Handle ( IViewModelBase>.IOpportunity message ) : void

Analyze opportunities published on Exchange.

Handle ( IViewModelBase>.IStatusUpdate message ) : void

Handles update messages.

Handle ( NavigationRequestedEventMessage message ) : void
MultiLineTextListStudyPartnerBase ( ) : System

Protected Methods

Method Description
AbortStudying ( ) : void
GetNextStudyItemViewModelAsync ( ) : Task
GetOfferAmount ( ) : double

Gets the offer amount to post for job offerings. Default implementation always returns the StudyResources.DefaultAmountDefaultMultiLineTextsStudier.

InitializeForNewStudySessionAsync ( MultiLineTextList multiLineTexts ) : System.Threading.Tasks.Task
StudyAsync ( MultiLineTextList multiLineTexts ) : System.Threading.Tasks.Task

Method Details

AbortStudying() protected method

protected AbortStudying ( ) : void
return void

GetNextStudyItemViewModelAsync() protected abstract method

protected abstract GetNextStudyItemViewModelAsync ( ) : Task
return Task

GetOfferAmount() protected method

Gets the offer amount to post for job offerings. Default implementation always returns the StudyResources.DefaultAmountDefaultMultiLineTextsStudier.
protected GetOfferAmount ( ) : double
return double

Handle() public method

Handles cancelation messages. Not implemented yet.
public Handle ( ICancelation message ) : void
message ICancelation
return void

Handle() public method

"Default" conglomerate messaging system. This studier can keep in contact with the other default studiers through this message stream. Not implemented yet, and I'm not even sure if this is needed.
public Handle ( IConglomerateMessage message ) : void
message IConglomerateMessage
return void

Handle() public method

Analyze OfferResponse's published on Exchange.
public Handle ( IViewModelBase>.IOfferResponse message ) : void
message IViewModelBase>.IOfferResponse
return void

Handle() public method

Analyze opportunities published on Exchange.
public Handle ( IViewModelBase>.IOpportunity message ) : void
message IViewModelBase>.IOpportunity
return void

Handle() public method

Handles update messages.
public Handle ( IViewModelBase>.IStatusUpdate message ) : void
message IViewModelBase>.IStatusUpdate
return void

Handle() public method

public Handle ( NavigationRequestedEventMessage message ) : void
message LearnLanguages.Navigation.EventMessages.NavigationRequestedEventMessage
return void

InitializeForNewStudySessionAsync() protected abstract method

protected abstract InitializeForNewStudySessionAsync ( MultiLineTextList multiLineTexts ) : System.Threading.Tasks.Task
multiLineTexts MultiLineTextList
return System.Threading.Tasks.Task

MultiLineTextListStudyPartnerBase() public method

public MultiLineTextListStudyPartnerBase ( ) : System
return System

StudyAsync() protected method

protected StudyAsync ( MultiLineTextList multiLineTexts ) : System.Threading.Tasks.Task
multiLineTexts MultiLineTextList
return System.Threading.Tasks.Task

Property Details

_ViewModelLock protected_oe property

protected object _ViewModelLock
return object

_viewModel protected_oe property

protected DefaultStudyPartnerViewModel,LearnLanguages.Study.ViewModels _viewModel
return LearnLanguages.Study.ViewModels.DefaultStudyPartnerViewModel