C# Class TheAirline.Models.General.NewsBox

Inheritance: BaseModel, INotifyPropertyChanged
Mostra file Open project: TheAirlineProject/tap-desktop Class Usage Examples

Public Methods

Method 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

Method Description
NewsBox ( SerializationInfo info, StreamingContext ctxt ) : System
NotifyPropertyChanged ( String propertyName ) : void

Method Details

AddNews() public method

public AddNews ( News news ) : void
news News
return void

Clear() public method

public Clear ( ) : void
return void

GetNews() public method

public GetNews ( ) : List
return List

GetNews() public method

public GetNews ( System.DateTime fromDate, System.DateTime toDate ) : List
fromDate System.DateTime
toDate System.DateTime
return List

GetNews() public method

public GetNews ( News type ) : List
type News
return List

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetUnreadNews() public method

public GetUnreadNews ( ) : List
return List

NewsBox() public method

public NewsBox ( ) : System
return System

RemoveNews() public method

public RemoveNews ( News news ) : void
news News
return void