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

Sample carrier movements, for test purposes.
Show file 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 static property

public static Voyage DALLAS_TO_HELSINKI
return Voyage

DALLAS_TO_HELSINKI_ALT public static property

public static Voyage DALLAS_TO_HELSINKI_ALT
return Voyage

HELSINKI_TO_HONGKONG public static property

public static Voyage HELSINKI_TO_HONGKONG
return Voyage

HONGKONG_TO_NEW_YORK public static property

public static Voyage HONGKONG_TO_NEW_YORK
return Voyage

NEW_YORK_TO_DALLAS public static property

public static Voyage NEW_YORK_TO_DALLAS
return Voyage

atlantic1 public static property

public static Voyage atlantic1
return Voyage

atlantic2 public static property

public static Voyage atlantic2
return Voyage

continental1 public static property

public static Voyage continental1
return Voyage

continental2 public static property

public static Voyage continental2
return Voyage

continental3 public static property

public static Voyage continental3
return Voyage

pacific1 public static property

public static Voyage pacific1
return Voyage

pacific2 public static property

public static Voyage pacific2
return Voyage