C# Class Expl.Itinerary.IntersectionSchedule

Inheritance: ICompositeSchedule
Show file Open project: spoulson/Itinerary

Public Methods

Method Description
GetHashCode ( ) : int
GetRange ( System.DateTime RangeStart, System.DateTime RangeEnd ) : IEnumerable
IntersectionSchedule ( ) : System

Default constructor. Uses Void schedules as parameters.

IntersectionSchedule ( IEnumerable List ) : System

Constructor for schedule list. Will only enumerate the first two items from the list. If the list contains less than 2 items, default to Void schedules.

IntersectionSchedule ( ISchedule ScheduleA, ISchedule ScheduleB ) : System

Constructor.

ToString ( ) : string

Method Details

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetRange() public method

public GetRange ( System.DateTime RangeStart, System.DateTime RangeEnd ) : IEnumerable
RangeStart System.DateTime
RangeEnd System.DateTime
return IEnumerable

IntersectionSchedule() public method

Default constructor. Uses Void schedules as parameters.
public IntersectionSchedule ( ) : System
return System

IntersectionSchedule() public method

Constructor for schedule list. Will only enumerate the first two items from the list. If the list contains less than 2 items, default to Void schedules.
public IntersectionSchedule ( IEnumerable List ) : System
List IEnumerable Enumerable list of ISchedule objects.
return System

IntersectionSchedule() public method

Constructor.
public IntersectionSchedule ( ISchedule ScheduleA, ISchedule ScheduleB ) : System
ScheduleA ISchedule Schedule A.
ScheduleB ISchedule Schedule B.
return System

ToString() public method

public ToString ( ) : string
return string