Beispiel #1
0
        public ChildTravellerInfo GetTraveller(Type type)
        {
            ChildTravellerInfo childTravellerInfo;

            if (!_childTravellers.TryGetValue(type, out childTravellerInfo))
            {
                throw InvalidGraphException.ComplexTypeWithoutTravellerDefined(type);
            }

            return(childTravellerInfo);
        }