C# Класс OS2Indberetning.ViewModel.CouplingViewModel

Viewmodel of the Coupling page. Handles all view logic
Наследование: XLabs.Forms.Mvvm.ViewModel, INotifyPropertyChanged, IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
CouplingViewModel ( ) : System

Constructor that handles initialization of the viewmodel

Dispose ( ) : void

Method that handles cleanup of the viewmodel

InitVm ( Municipality m ) : void

Method is used a a constructor, because the constructor needs to be parameterless

Защищенные методы

Метод Описание
OnPropertyChanged ( string propertyName ) : void

Приватные методы

Метод Описание
Couple ( UserInfoModel user ) : bool

Method that handles saving the user information if everything is OK

HandleCoupleMessage ( ) : void

Method that handles the couple message from the page

Subscribe ( ) : void

Method that handles subscribing to the needed messages

Unsubscribe ( ) : void

Method that handles unsubscribing Important this is called upon popping of the page

Описание методов

CouplingViewModel() публичный Метод

Constructor that handles initialization of the viewmodel
public CouplingViewModel ( ) : System
Результат System

Dispose() публичный Метод

Method that handles cleanup of the viewmodel
public Dispose ( ) : void
Результат void

InitVm() публичный Метод

Method is used a a constructor, because the constructor needs to be parameterless
public InitVm ( Municipality m ) : void
m OS2Indberetning.Model.Municipality
Результат void

OnPropertyChanged() защищенный Метод

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Результат void