C# Class Last.fm_Scrubbler_WPF.ViewModels.MainViewModel

ViewModel for the MainView.
Inheritance: Caliburn.Micro.PropertyChangedBase
ファイルを表示 Open project: coczero/Last.fm-Scrubbler-WPF

Public Properties

Property Type Description
ClientAuthChanged EventHandler
MinimumDateTime System.DateTime

Public Methods

Method Description
HyperlinkClicked ( ) : void

Shows the LoginView.

MainViewModel ( ) : Caliburn.Micro

Constructor.

MainView_Closing ( ) : void

Dispose iTunes com object before exit.

Private Methods

Method Description
CreateNewClient ( ) : void

Creates a new LastfmClient.

StatusUpdated ( object sender, UpdateStatusEventArgs e ) : void

Updates the status.

UserViewModel_ActiveUserChanged ( object sender, EventArgs e ) : void

Triggers when the UserViewModel.ActiveUser changes.

Method Details

HyperlinkClicked() public method

Shows the LoginView.
public HyperlinkClicked ( ) : void
return void

MainViewModel() public method

Constructor.
public MainViewModel ( ) : Caliburn.Micro
return Caliburn.Micro

MainView_Closing() public method

Dispose iTunes com object before exit.
public MainView_Closing ( ) : void
return void

Property Details

ClientAuthChanged public_oe static_oe property

Event that triggers when the client authentication changes.
public static EventHandler ClientAuthChanged
return EventHandler

MinimumDateTime public_oe static_oe property

The minimum DateTime for all DateTimePickers.
public static DateTime,System MinimumDateTime
return System.DateTime