City Based Parking and Routing System API Documentation

RoadSystem.CreateVehicle Method 

Creates a new IVehicle object based on the specified type.

public IVehicle CreateVehicle(
   string type
);

Parameters

type
Type type of the IVehicle interface inheritor to create.

Return Value

A IVehicle object of the specified type with an unique id number assigned.

See Also

RoadSystem Class | CBPRS.Infrastructure Namespace