コード例 #1
0
        public LocationInfo FindAreaData(GeoLocation location, List <AreaData> areaDataList)
        {
            var matchedAreaData = areaDataList.Find(areaData => IsLocationInArea(location, areaData));

            return(matchedAreaData != null?LocationInfo.FromAreaData(matchedAreaData) : null);
        }