C# Class BaconographyPortable.ViewModel.VotableViewModel

Inheritance: ViewModelBase
Exibir arquivo Open project: Synergex/Baconography Class Usage Examples

Public Methods

Method Description
MergeVotable ( Thing votableThing ) : void
VotableViewModel ( Thing votableThing, IBaconProvider baconProvider, System.Action propertyChanged ) : BaconographyPortable.Model.Reddit

Private Methods

Method Description
ToggleDownvoteImpl ( VotableViewModel vm ) : void
ToggleUpvoteImpl ( VotableViewModel vm ) : void

Method Details

MergeVotable() public method

public MergeVotable ( Thing votableThing ) : void
votableThing Thing
return void

VotableViewModel() public method

public VotableViewModel ( Thing votableThing, IBaconProvider baconProvider, System.Action propertyChanged ) : BaconographyPortable.Model.Reddit
votableThing Thing
baconProvider IBaconProvider
propertyChanged System.Action
return BaconographyPortable.Model.Reddit