/// <summary> /// Determines whether the current <see cref="DataListener"/> object is equal to <paramref name="obj"/>. /// </summary> /// <param name="obj">Object against which the current <see cref="DataListener"/> object is to be compared for equality.</param> /// <returns>true if the current <see cref="DataListener"/> object is equal to <paramref name="obj"/>; otherwise false.</returns> public override bool Equals(object obj) { DataListener other = obj as DataListener; if (other == null) { return(false); } else { return(string.Compare(m_id, other.ID, true) == 0); } }
/// <summary> /// Initializes a new instance of the <see cref="RemoteInputAdapter"/> class. /// </summary> public RemoteInputAdapter() { m_historianDataListener = new DataListener(); }