Example #1
0
 /// <summary>
 /// Compares this instance with a specified <see cref="TagFourCc"/> object and indicates whether this instance preceds, follows, or appears in the same position as in the sort order as the specified tag.
 /// </summary>
 /// <param name="tag">The tag to compare with this instance.</param>
 /// <returns>A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the <paramref name="tag"/> parameter.</returns>
 public int CompareTo(TagFourCc tag)
 {
     return(FourCc.CompareTo(tag.FourCc));
 }
Example #2
0
 /// <summary>
 /// Determines whether this instance and another specified <see cref="TagFourCc"/> object have the same value.
 /// </summary>
 /// <param name="value">The tag to compare to this instance.</param>
 /// <returns>true if the value of the <paramref name="value"/> parameter is the same as the value of this instance; otherwise, false. If <paramref name="value"/> is null, the method returns false.</returns>
 public bool Equals(TagFourCc value)
 {
     return(FourCc.Equals(value.FourCc));
 }