Apache.NMS.Commands.Destination.GetDestinationType C# (CSharp) Method

GetDestinationType() public abstract method

public abstract GetDestinationType ( ) : int
return int
        public abstract int GetDestinationType();

Usage Example

コード例 #1
0
ファイル: Destination.cs プロジェクト: ioxuy/meijing-ui
        /// <summary>
        /// if the object passed in is equivalent, return true
        /// </summary>
        /// <param name="obj">the object to compare</param>
        /// <returns>true if this instance and obj are equivalent</returns>
        public override bool Equals(Object obj)
        {
            bool result = this == obj;

            if (!result && obj != null && obj is Destination)
            {
                Destination other = (Destination)obj;
                result = this.GetDestinationType() == other.GetDestinationType() &&
                         this.physicalName.Equals(other.physicalName);
            }
            return(result);
        }