Ejemplo n.º 1
0
        public override int CompareTo(object obj)
        {
            var anonymousMethodCompletionData = obj as AnonymousMethodCompletionData;

            if (anonymousMethodCompletionData == null)
            {
                return(-1);
            }

            return(DisplayText.CompareTo(anonymousMethodCompletionData.DisplayText));
        }
        public override int CompareTo(object obj)
        {
            var objCrCompData = obj as ObjectCreationCompletionData;

            if (objCrCompData == null)
            {
                return(-1);
            }

            return(DisplayText.CompareTo(objCrCompData.DisplayText));
        }
 public override int CompareTo(CompletionCategory other)
 {
     return(DisplayText.CompareTo(other.DisplayText));
 }
 public int CompareTo(CompletionData other)
 {
     return(DisplayText.CompareTo(other.DisplayText));
 }
Ejemplo n.º 5
0
 public override int CompareTo(MonoDevelop.Ide.CodeCompletion.CompletionCategory other)
 {
     return(DisplayText.CompareTo(other.DisplayText));
 }