예제 #1
0
        public bool Equals(DestinyQuestStatus input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     QuestHash == input.QuestHash ||
                     (QuestHash.Equals(input.QuestHash))
                     ) &&
                 (
                     StepHash == input.StepHash ||
                     (StepHash.Equals(input.StepHash))
                 ) &&
                 (
                     StepObjectives == input.StepObjectives ||
                     (StepObjectives != null && StepObjectives.SequenceEqual(input.StepObjectives))
                 ) &&
                 (
                     Tracked == input.Tracked ||
                     (Tracked != null && Tracked.Equals(input.Tracked))
                 ) &&
                 (
                     ItemInstanceId == input.ItemInstanceId ||
                     (ItemInstanceId.Equals(input.ItemInstanceId))
                 ) &&
                 (
                     Completed == input.Completed ||
                     (Completed != null && Completed.Equals(input.Completed))
                 ) &&
                 (
                     Redeemed == input.Redeemed ||
                     (Redeemed != null && Redeemed.Equals(input.Redeemed))
                 ) &&
                 (
                     Started == input.Started ||
                     (Started != null && Started.Equals(input.Started))
                 ) &&
                 (
                     VendorHash == input.VendorHash ||
                     (VendorHash.Equals(input.VendorHash))
                 ));
        }
예제 #2
0
 protected bool Equals(ReplicationPerformanceStats other)
 {
     return(BatchSize == other.BatchSize && Duration.Equals(other.Duration) && Started.Equals(other.Started));
 }
 public bool IsStarted(ReceiveEndpoint instance)
 {
     return(Started.Equals(instance.CurrentState) || Ready.Equals(instance.CurrentState));
 }
예제 #4
0
 protected bool Equals(IndexingPerformanceStats other)
 {
     return(string.Equals(Operation, other.Operation) && OutputCount == other.OutputCount && InputCount == other.InputCount && Duration.Equals(other.Duration) && Started.Equals(other.Started));
 }