Equals() 공개 메소드

if the object passed in is equivalent, return true
public Equals ( Object obj ) : bool
obj Object the object to compare
리턴 bool
예제 #1
0
 public static bool IsConnectionAdvisoryTopic(ActiveMQDestination destination) {
     if (destination.IsComposite)
     {
         ActiveMQDestination[] compositeDestinations = destination.GetCompositeDestinations();
         for (int i = 0; i < compositeDestinations.Length; i++)
         {
             if (IsConnectionAdvisoryTopic(compositeDestinations[i]))
             {
                 return true;
             }
         }
         return false;
     }
     else
     {
         return destination.Equals(CONNECTION_ADVISORY_TOPIC);
     }
 }