Пример #1
0
 /// <summary>
 /// Determines whether the specified <see cref="SymbolSecurityType"/> is equal to the current <see cref="SymbolSecurityType"/>.
 /// </summary>
 /// <returns>
 /// true if the specified object  is equal to the current object; otherwise, false.
 /// </returns>
 /// <param name="other">The object to compare with the current object. </param><filterpriority>2</filterpriority>
 public bool Equals(SymbolSecurityType other)
 {
     return(String.Equals(Symbol, other.Symbol) && SecurityType == other.SecurityType);
 }
Пример #2
0
 /// <summary>
 /// Determines whether the specified <see cref="SymbolSecurityType"/> is equal to the current <see cref="SymbolSecurityType"/>.
 /// </summary>
 /// <returns>
 /// true if the specified object  is equal to the current object; otherwise, false.
 /// </returns>
 /// <param name="other">The object to compare with the current object. </param><filterpriority>2</filterpriority>
 public bool Equals(SymbolSecurityType other)
 {
     return String.Equals(Symbol, other.Symbol) && SecurityType == other.SecurityType;
 }