public int CompareTo(ICollectionElement other)
		{
			if(Name == null)
			{
				if(other.Name == null)
				{
					return 0;
				}
				
				return -1;
			}
		
			return Name.CompareTo(other.Name);
		}
示例#2
0
        public int CompareTo(ICollectionElement other)
        {
            if (Name == null)
            {
                if (other.Name == null)
                {
                    return(0);
                }

                return(-1);
            }

            return(Name.CompareTo(other.Name));
        }