コード例 #1
0
ファイル: Mobile.cs プロジェクト: BackupTheBerlios/sunuo-svn
            public static LocationComparer GetInstance( IPoint3D relativeTo )
            {
                if ( m_Instance == null )
                    m_Instance = new LocationComparer( relativeTo );
                else
                    m_Instance.m_RelativeTo = relativeTo;

                return m_Instance;
            }
コード例 #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);
 }