Ejemplo n.º 1
0
 /// <summary>
 /// Returns a quantity indicating whether this instance is equal to a specified <see cref="Gu.Units.MassFlowUnit"/> object.
 /// </summary>
 /// <param name="other">An instance of <see cref="Gu.Units.MassFlowUnit"/> object to compare with this instance.</param>
 /// <returns>
 /// true if <paramref name="other"/> represents the same MassFlowUnit as this instance; otherwise, false.
 /// </returns>
 public bool Equals(MassFlowUnit other)
 {
     return(this.symbol == other.symbol);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates an instance of <see cref="Gu.Units.MassFlowUnit"/> from its string representation
 /// </summary>
 /// <param name="text">The string representation of the <see cref="Gu.Units.MassFlowUnit"/></param>
 /// <param name="result">The parsed <see cref="MassFlowUnit"/></param>
 /// <returns>True if an instance of <see cref="MassFlowUnit"/> could be parsed from <paramref name="text"/></returns>
 public static bool TryParse(string text, out MassFlowUnit result)
 {
     return(UnitParser <MassFlowUnit> .TryParse(text, out result));
 }