Equals() public method

Determines whether the specified System.Object is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool
示例#1
0
 private bool needCompressWith(CompressionParameters parameters)
 {
     return(m_compressedData == null ||
            m_compressionParameters == null ||
            !m_compressionParameters.Equals(parameters));
 }
示例#2
0
 private bool NeedCompressWith(CompressionParameters parameters)
 {
     return(m_compressedData is null ||
            m_compressionParameters?.Equals(parameters) != true);
 }