C# Class TheAirline.Models.Passengers.FlightRestriction

Inheritance: BaseModel
Show file Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
FlightRestriction System

Public Methods

Method Description
FlightRestriction ( RestrictionType type, System.DateTime startDate, System.DateTime endDate, BaseUnit from, BaseUnit to ) : System
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Private Methods

Method Description
FlightRestriction ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

FlightRestriction() public method

public FlightRestriction ( RestrictionType type, System.DateTime startDate, System.DateTime endDate, BaseUnit from, BaseUnit to ) : System
type RestrictionType
startDate System.DateTime
endDate System.DateTime
from TheAirline.Models.General.Countries.BaseUnit
to TheAirline.Models.General.Countries.BaseUnit
return System

GetObjectData() public method

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