C# Class DomainDrivenDelivery.Domain.Model.Travel.SampleVoyages

Sample carrier movements, for test purposes.
Datei anzeigen Open project: awhatley/dddsample.net

Public Properties

Property Type Description
DALLAS_TO_HELSINKI Voyage
DALLAS_TO_HELSINKI_ALT Voyage
HELSINKI_TO_HONGKONG Voyage
HONGKONG_TO_NEW_YORK Voyage
NEW_YORK_TO_DALLAS Voyage
atlantic1 Voyage
atlantic2 Voyage
continental1 Voyage
continental2 Voyage
continental3 Voyage
pacific1 Voyage
pacific2 Voyage

Public Methods

Method Description
getAll ( ) : IEnumerable
lookup ( VoyageNumber voyageNumber ) : Voyage

Private Methods

Method Description
SampleVoyages ( ) : System
toDate ( string date ) : DateTime
toDate ( string date, string time ) : DateTime

Method Details

getAll() public static method

public static getAll ( ) : IEnumerable
return IEnumerable

lookup() public static method

public static lookup ( VoyageNumber voyageNumber ) : Voyage
voyageNumber VoyageNumber
return Voyage

Property Details

DALLAS_TO_HELSINKI public_oe static_oe property

public static Voyage DALLAS_TO_HELSINKI
return Voyage

DALLAS_TO_HELSINKI_ALT public_oe static_oe property

public static Voyage DALLAS_TO_HELSINKI_ALT
return Voyage

HELSINKI_TO_HONGKONG public_oe static_oe property

public static Voyage HELSINKI_TO_HONGKONG
return Voyage

HONGKONG_TO_NEW_YORK public_oe static_oe property

public static Voyage HONGKONG_TO_NEW_YORK
return Voyage

NEW_YORK_TO_DALLAS public_oe static_oe property

public static Voyage NEW_YORK_TO_DALLAS
return Voyage

atlantic1 public_oe static_oe property

public static Voyage atlantic1
return Voyage

atlantic2 public_oe static_oe property

public static Voyage atlantic2
return Voyage

continental1 public_oe static_oe property

public static Voyage continental1
return Voyage

continental2 public_oe static_oe property

public static Voyage continental2
return Voyage

continental3 public_oe static_oe property

public static Voyage continental3
return Voyage

pacific1 public_oe static_oe property

public static Voyage pacific1
return Voyage

pacific2 public_oe static_oe property

public static Voyage pacific2
return Voyage