Exemplo n.º 1
0
 /// <summary>
 /// Compares this instance of HierarchicalVirtualizationHeaderDesiredSizes with another object.
 /// </summary>
 /// <param name="oCompare">Reference to an object for comparison.</param>
 /// <returns><c>true</c>if this HierarchicalVirtualizationHeaderDesiredSizes instance has the same logical
 /// and pixel sizes as oCompare.</returns>
 override public bool Equals(object oCompare)
 {
     if (oCompare is HierarchicalVirtualizationHeaderDesiredSizes)
     {
         HierarchicalVirtualizationHeaderDesiredSizes headerDesiredSizes = (HierarchicalVirtualizationHeaderDesiredSizes)oCompare;
         return(this == headerDesiredSizes);
     }
     else
     {
         return(false);
     }
 }
 /// <summary>
 /// Compares this instance of HierarchicalVirtualizationHeaderDesiredSizes with another instance.
 /// </summary>
 /// <param name="comparisonHeaderSizes">Header desired size instance to compare.</param>
 /// <returns><c>true</c>if this HierarchicalVirtualizationHeaderDesiredSizes instance has the same logical 
 /// and pixel sizes as comparisonHeaderSizes.</returns>
 public bool Equals(HierarchicalVirtualizationHeaderDesiredSizes comparisonHeaderSizes)
 {
     return (this == comparisonHeaderSizes);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Compares this instance of HierarchicalVirtualizationHeaderDesiredSizes with another instance.
 /// </summary>
 /// <param name="comparisonHeaderSizes">Header desired size instance to compare.</param>
 /// <returns><c>true</c>if this HierarchicalVirtualizationHeaderDesiredSizes instance has the same logical
 /// and pixel sizes as comparisonHeaderSizes.</returns>
 public bool Equals(HierarchicalVirtualizationHeaderDesiredSizes comparisonHeaderSizes)
 {
     return(this == comparisonHeaderSizes);
 }