C# Class TheAirline.Models.General.NewsBox

Inheritance: BaseModel, INotifyPropertyChanged
Afficher le fichier Open project: TheAirlineProject/tap-desktop Class Usage Examples

Méthodes publiques

Méthode Description
AddNews ( News news ) : void
Clear ( ) : void
GetNews ( ) : List
GetNews ( System.DateTime fromDate, System.DateTime toDate ) : List
GetNews ( News type ) : List
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetUnreadNews ( ) : List
NewsBox ( ) : System
RemoveNews ( News news ) : void

Private Methods

Méthode Description
NewsBox ( SerializationInfo info, StreamingContext ctxt ) : System
NotifyPropertyChanged ( String propertyName ) : void

Method Details

AddNews() public méthode

public AddNews ( News news ) : void
news News
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

GetNews() public méthode

public GetNews ( ) : List
Résultat List

GetNews() public méthode

public GetNews ( System.DateTime fromDate, System.DateTime toDate ) : List
fromDate System.DateTime
toDate System.DateTime
Résultat List

GetNews() public méthode

public GetNews ( News type ) : List
type News
Résultat List

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

GetUnreadNews() public méthode

public GetUnreadNews ( ) : List
Résultat List

NewsBox() public méthode

public NewsBox ( ) : System
Résultat System

RemoveNews() public méthode

public RemoveNews ( News news ) : void
news News
Résultat void