Ejemplo n.º 1
0
        public void SetLocations(IEnumerable <IFeatureLocation> locations)
        {
            SegmentGenerationMethod oldMethod = SegmentGenerationMethod;

            SegmentGenerationMethod = SegmentGenerationMethod.None;
            Locations.SetValues(locations);
            SegmentGenerationMethod = oldMethod;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Sets the locations. Temporarily switches segmentgenerationmethod to none for speed.
        /// </summary>
        /// <param name="locations"></param>
        public virtual void SetLocations(IEnumerable <INetworkLocation> locations)
        {
            SegmentGenerationMethod oldMethod = SegmentGenerationMethod;

            SegmentGenerationMethod = SegmentGenerationMethod.None;
            Locations.SetValues(locations);
            SegmentGenerationMethod = oldMethod;
        }