Пример #1
0
        public override bool Equals(object obj)
        {
            if (obj is ITaskTimeTrackerContractObject <TInterface> )
            {
                return(ClientBusinessBase <TInterface, TType> .Compare(this, (ITaskTimeTrackerContractObject <TInterface>) obj) == 0);
            }

            return(false);
        }
Пример #2
0
        public virtual int CompareTo(object obj)
        {
            if (obj is ITaskTimeTrackerContractObject <TInterface> )
            {
                return(ClientBusinessBase <TInterface, TType> .Compare(this, (ITaskTimeTrackerContractObject <TInterface>) obj));
            }

            return(1);
        }
Пример #3
0
 public virtual bool Equals(ITaskTimeTrackerContractObject <TInterface> other)
 {
     return(ClientBusinessBase <TInterface, TType> .Compare(this, (ITaskTimeTrackerContractObject <TInterface>) other) == 0);
 }