//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by CodeSmith.
//     Version: 2.6.0.117
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections;

namespace Vehicles
{
public class CarDictionary : System.Collections.DictionaryBase
{
	public Car this[int carID]
	{
	get { return ((Car)(Dictionary[carID])); }
	set { Dictionary[carID] = value; }
	}
	
	public ICollection Keys  
	{
  		get  {return( Dictionary.Keys );}
	}

	public ICollection Values  
	{
  		get  {return( Dictionary.Values );}
	}

  	public bool Contains(int carID)
  	{
   		return Dictionary.Contains(carID);
  	}
	
	public void Add(int carID, Car car)
  	{
    	Dictionary.Add(carID, car);
  	}

  	public void Remove(int carID)
  	{
    	Dictionary.Remove(carID);
  	}
}

	
public class TruckDictionary : System.Collections.DictionaryBase
{
	public Truck this[int truckID]
	{
	get { return ((Truck)(Dictionary[truckID])); }
	set { Dictionary[truckID] = value; }
	}
	
	public ICollection Keys  
	{
  		get  {return( Dictionary.Keys );}
	}

	public ICollection Values  
	{
  		get  {return( Dictionary.Values );}
	}

  	public bool Contains(int truckID)
  	{
   		return Dictionary.Contains(truckID);
  	}
	
	public void Add(int truckID, Truck truck)
  	{
    	Dictionary.Add(truckID, truck);
  	}

  	public void Remove(int truckID)
  	{
    	Dictionary.Remove(truckID);
  	}
}

}
