Class FerryRouteEntry
Inheritance
System.Object
FerryRouteEntry
Implements
System.IEquatable<FerryRouteEntry>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SOHFerryModel.Route
Assembly: SOHFerryModel.dll
Syntax
public class FerryRouteEntry : IEquatable<FerryRouteEntry>
Constructors
| Improve this Doc View SourceFerryRouteEntry(FerryStation, FerryStation, in Int32)
Declaration
public FerryRouteEntry(FerryStation from, FerryStation to, in int minutes)
Parameters
Type | Name | Description |
---|---|---|
FerryStation | from | |
FerryStation | to | |
System.Int32 | minutes |
Properties
| Improve this Doc View SourceFrom
Declaration
public FerryStation From { get; }
Property Value
Type | Description |
---|---|
FerryStation |
Minutes
Declaration
public int Minutes { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
To
Declaration
public FerryStation To { get; }
Property Value
Type | Description |
---|---|
FerryStation |
Methods
| Improve this Doc View SourceEquals(FerryRouteEntry)
Declaration
public bool Equals(FerryRouteEntry other)
Parameters
Type | Name | Description |
---|---|---|
FerryRouteEntry | other |
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 |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Implements
System.IEquatable<T>