Exemplo n.º 1
0
 /// <summary>
 /// Gets the string respresentation of this <see cref="ChannelCellBase"/>.
 /// </summary>
 /// <returns>String respresentation of this <see cref="ChannelCellBase"/>.</returns>
 public override string ToString()
 {
     return(IDCode.ToString());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Compares this instance to a specified <see cref="IConfigurationCell"/> object and returns an indication of their
 /// relative values.
 /// </summary>
 /// <param name="other">A <see cref="IConfigurationCell"/> object to compare.</param>
 /// <returns>
 /// A signed number indicating the relative values of this instance and value. Returns less than zero
 /// if this instance is less than value, zero if this instance is equal to value, or greater than zero
 /// if this instance is greater than value.
 /// </returns>
 public virtual int CompareTo(IConfigurationCell other)
 {
     // We sort configuration cells by ID code...
     return(IDCode.CompareTo(other.IDCode));
 }