Inheritance: FirstFloor.ModernUI.Presentation.NotifyPropertyChanged, IAcObjectNew, IWithId
示例#1
0
 public override int CompareTo(AcPlaceholderNew o) {
     return Enabled == o.Enabled ?
             AlphanumComparatorFast.Compare(Id, o.Id) : Enabled ? -1 : 1;
 }
示例#2
0
        public override int CompareTo(AcPlaceholderNew o) {
            var r = o as CarObject;
            if (r == null) return base.CompareTo(o);

            var tp = Parent;
            var rp = r.Parent;
            if (rp == this) return -1;
            if (tp == r) return 1;
            if (tp == rp) return Compare(this, r);
            return Compare(tp ?? this, rp ?? r);
        }
示例#3
0
 public virtual int CompareTo(AcPlaceholderNew o) {
     return Enabled == o.Enabled ?
             string.Compare(DisplayName, o.DisplayName, StringComparison.CurrentCultureIgnoreCase) : Enabled ? -1 : 1;
 }
示例#4
0
 public override int CompareTo(AcPlaceholderNew o) {
     var or = o as ReplayObject;
     return or != null ? CreationDateTime.CompareTo(or.CreationDateTime) : base.CompareTo(o);
 }
示例#5
0
 public WrappedValueChangedEventArgs([NotNull]AcPlaceholderNew oldValue, [NotNull]AcPlaceholderNew newValue) {
     OldValue = oldValue;
     NewValue = newValue;
 }