Class FerryRouteEntry
Inheritance
FerryRouteEntry
Assembly: SOHFerryModel.dll
Syntax
public class FerryRouteEntry : IEquatable<FerryRouteEntry>
Constructors
FerryRouteEntry(FerryStation, FerryStation, Int32)
Declaration
public FerryRouteEntry(FerryStation from, FerryStation to, in int minutes)
Parameters
Properties
From
Declaration
public FerryStation From { get; }
Property Value
Minutes
Declaration
public int Minutes { get; }
Property Value
Type |
Description |
System.Int32 |
|
To
Declaration
public FerryStation To { get; }
Property Value
Methods
Equals(FerryRouteEntry)
Declaration
public bool Equals(FerryRouteEntry other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|