AbstractedSheep.ShuttleTrackerWorld.Stop.Stop C# (CSharp) Метод

Stop() приватный Метод

private Stop ( string id, string name, Coordinate location ) : System
id string
name string
location Coordinate
Результат System
        internal Stop(string id, string name, Coordinate location)
        {
            this.Id = id;
            this.Location = location;
            this.Name = name;
            this.routes = new Dictionary<int, Route>();
            this.snappedCoordinate = new Dictionary<int, Coordinate>();
            this.precedingCoordinate = new Dictionary<int, int>();
            this.precedingCoordinateDistance = new Dictionary<int, double>();
            this.Routes = this.routes.AsReadOnly<int, Route>();
            this.SnappedCoordinate = this.snappedCoordinate.AsReadOnly<int, Coordinate>();
            this.PrecedingCoordinate = this.precedingCoordinate.AsReadOnly<int, int>();
            this.PrecedingCoordinateDistance = this.precedingCoordinateDistance.AsReadOnly<int, double>();
        }