C# Class BaconographyPortable.ViewModel.MainPageViewModel

Inheritance: ViewModelBase
Datei anzeigen Open project: Synergex/Baconography

Public Properties

Property Type Description
_subreddits ObservableCollection>

Public Methods

Method Description
FindSubredditMessageIndex ( SelectSubredditMessage message, int &indexToPosition ) : bool
LoadSubreddits ( ) : System.Threading.Tasks.Task
MainPageViewModel ( IBaconProvider baconProvider ) : BaconographyPortable.Messages
SaveSubreddits ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
ChangeSubreddit ( SelectSubredditMessage message, bool fireSubredditsChanged = true ) : void
OnCloseSubreddit ( CloseSubredditMessage message ) : void
OnReorderSubreddit ( ReorderSubredditMessage message ) : void
OnSelectTemporarySubreddit ( SelectTemporaryRedditMessage message ) : void
OnSettingsChanged ( SettingsChangedMessage message ) : void
OnSubredditChanged ( SelectSubredditMessage message ) : void
OnUserLoggedIn ( UserLoggedInMessage message ) : void
_subreddits_CollectionChanged ( object sender, System e ) : void

Method Details

FindSubredditMessageIndex() public method

public FindSubredditMessageIndex ( SelectSubredditMessage message, int &indexToPosition ) : bool
message BaconographyPortable.Messages.SelectSubredditMessage
indexToPosition int
return bool

LoadSubreddits() public method

public LoadSubreddits ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

MainPageViewModel() public method

public MainPageViewModel ( IBaconProvider baconProvider ) : BaconographyPortable.Messages
baconProvider IBaconProvider
return BaconographyPortable.Messages

SaveSubreddits() public method

public SaveSubreddits ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Property Details

_subreddits public_oe property

public ObservableCollection> _subreddits
return ObservableCollection>