Esempio n. 1
0
            public static LocationComparer GetInstance( IPoint3D relativeTo )
            {
                if ( m_Instance == null )
                    m_Instance = new LocationComparer( relativeTo );
                else
                    m_Instance.m_RelativeTo = relativeTo;

                return m_Instance;
            }
Esempio n. 2
0
 /// <summary>
 /// Sort the contents of the collection using the provided comparer.
 /// </summary>
 /// <param name="locationComparer">The <see cref="LocationComparer"/> to use to order the collection contents.</param>
 public void Sort(LocationComparer locationComparer)
 {
     InnerCollection.Sort(locationComparer);
 }